/* Custom styles for Hausmeisterdienst Ralls */

/* Logo sizing */
#logo {
    height: 68px !important;
    width: auto !important;
}

/* Video Banner Styles */
.video-banner {
    position: relative;
}


.jarallax {
    position: relative;
    z-index: 0;
}

.jarallax > .jarallax-img {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Override jarallax video settings to ensure it works with local MP4 */
.jarallax-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
}

.jarallax-video video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Custom color for links */
.hover-text-secondary:hover {
    color: var(--accent) !important;
}

/* Footer styling */
footer {
    background-color: #111111;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
}

footer a.text-white {
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

footer a.text-white:hover {
    color: var(--accent-light) !important;
    padding-left: 5px;
}

footer a.text-white::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-light);
    transition: all 0.3s ease;
}

footer a.text-white:hover::after {
    width: 100%;
}

footer .social-icon a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(74, 107, 138, 0.1);
    transition: all 0.3s ease;
    margin-right: 10px;
}

footer .social-icon a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

footer .social-icon a:hover i {
    color: #111111 !important;
}

footer h5 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

/* Custom colors - Blue color palette */
:root {
    /* Main colors */
    --primary: #2B3E50;
    --primary-light: #3D5269;
    --primary-lighter: #506882;
    --primary-lightest: #8EA3B9;
    --primary-dark: #1A2C3C;
    --primary-darker: #0D1A25;
    
    /* Accent colors - subtle variations with blue undertones */
    --accent: #4A6B8A;
    --accent-light: #7A97B2;
    --accent-lighter: #A9BDD0;
    --accent-lightest: #D9E3EC;
    
    /* Background colors */
    --bg-light: #F0F4F8;
    --bg-lighter: #F7FAFC;
}

/* Text colors */
.text-secondary {
    color: var(--accent) !important;
}

.text-primary {
    color: var(--primary) !important;
}

/* Background colors */
.bg-secondary {
    background-color: var(--accent) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.blue-bg {
    background: var(--primary);
    color: #fff;
}

.blue-light-bg {
    background: var(--primary-light);
    color: #fff;
}

.soft-gray-bg {
    background: var(--bg-light);
    color: #000;
}

.dark-blue-bg {
    background: var(--primary);
    color: #fff;
}

.dark-blue-bg h2, 
.dark-blue-bg h3, 
.dark-blue-bg h4 {
    color: #fff;
}

.dark-blue-bg p {
    color: rgba(255,255,255,0.85);
}

.dark-blue-bg .border-bottom {
    border-color: rgba(255,255,255,0.1) !important;
}

.subtle-dark-bg {
    background: var(--bg-light);
    background-image: linear-gradient(to bottom, var(--bg-lighter), var(--bg-light));
    color: #333;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.03);
}

.subtle-dark-bg h2, 
.subtle-dark-bg h3, 
.subtle-dark-bg h4 {
    color: var(--primary);
}

.subtle-dark-bg p {
    color: #555;
}

.subtle-dark-bg .border-bottom {
    border-color: rgba(0,0,0,0.08) !important;
}

.light-accent-bg {
    background: var(--accent-lightest);
    color: var(--primary-dark);
}

.section-pattern-bg {
    background-color: var(--bg-lighter);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg opacity='0.4' fill='%234A6B8A' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-button {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-style: normal !important;
}

/* Add text shadow to CTA button in hero section */
section[id="home"] .cta-button {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}




.butn.secondary {
    /* background: var(--accent) !important; */
    /* background: #111111 !important; */

    background: #2B3E50 !important;
    color: #ffffff !important;
    /* border: 2px solid var(--accent-light); */
    border: 1px solid white;

    border-radius: 4px;
    transition: all 0.3s ease;
}

.butn.secondary:hover {
    background: var(--primary) !important;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(43, 62, 80, 0.2);
}

.butn.secondary:before {
    background: none;        
}



/* Make sure the hero content is positioned correctly */
.dark-overlay {
    position: relative;
}

/* Hero text shadow for better readability */
.video-banner h1.text-white,
.jarallax h1.text-white,
section[id="home"] h1.text-white {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-banner p.text-white,
.jarallax p.text-white,
section[id="home"] p.text-white {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Services Section Styles */
.services-section {
    padding: 80px 0;
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
    border-top: 1px solid rgba(74, 107, 138, 0.15);
    border-bottom: 1px solid rgba(74, 107, 138, 0.15);
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234A6B8A' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}

.services-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(74, 107, 138, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 90% 90%, rgba(74, 107, 138, 0.05) 0%, transparent 60%);
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-section::before, 
.services-section::after {
    pointer-events: none;
}

/* Section spacing */
section {
    position: relative;
    overflow: hidden;
}

/* Add top border to sections */
section:not(.video-banner):not(.jarallax):not(.header-style1) {
    position: relative;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%) 1;
}

section.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Add subtle dividers between sections */
section:not(.video-banner):not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: rgba(0,0,0,0.05);
}

.section-title h2 {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
    border-radius: 3px;
}

/* Contact Form Styles */
.appinment-form {
    position: relative;
}

.appinment-form .form-control,
.appinment-form .form-select {
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.appinment-form .form-control:focus,
.appinment-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(74, 107, 138, 0.25);
}

.appinment-form label {
    font-weight: 500;
    margin-bottom: 8px;
}

.appinment-form .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.appinment-form .text-danger {
    color: #dc3545 !important;
}

.appinment-form .rounded-start {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.appinment-form .rounded-end {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

.appinment-form .left-content {
    position: relative;
    overflow: hidden;
    background-image: 
        linear-gradient(135deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(315deg, rgba(255,255,255,0.05) 25%, transparent 25%);
    background-position: 10px 0, 10px 0, 0 0, 0 0;
    background-size: 20px 20px;
    background-repeat: repeat;
}

.appinment-form .left-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at top left, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%),
        radial-gradient(circle at bottom right, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
    z-index: 1;
}

.appinment-form .left-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 1;
    animation: patternMove 60s linear infinite;
}

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.appinment-form .left-content > div {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.card {
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(74, 107, 138, 0.2) !important;
    box-shadow: 0 5px 15px rgba(43, 62, 80, 0.08) !important;
}

/* Hover effect commented out
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(43, 62, 80, 0.15) !important;
    border: 1px solid var(--accent) !important;
}
*/

.card .text-secondary {
    color: var(--accent) !important;
}

.card .mb-4 i {
    background: rgba(74, 107, 138, 0.1);
    padding: 20px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(74, 107, 138, 0.1);
}

/* Icon hover effect commented out
.card:hover .mb-4 i {
    background: rgba(74, 107, 138, 0.2);
    transform: rotate(5deg);
    box-shadow: 0 8px 25px rgba(74, 107, 138, 0.2);
}
*/

.card a {
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Card link hover effect commented out
.card a:hover {
    color: var(--accent);
}
*/

.card a i {
    transition: all 0.3s ease;
}

/* Card link icon hover effect commented out
.card a:hover i {
    transform: translateX(5px);
}
*/

.card-body {
    position: relative;
    z-index: 1;
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
}

/* Card body hover effect commented out
.card:hover .card-body {
    border-top: 3px solid var(--accent);
}
*/

.card-body:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-lighter);
    transition: all 0.3s ease;
    z-index: -1;
}

/* Card body before hover effect commented out
.card:hover .card-body:before {
    height: 100%;
}
*/


.navbar-header-custom {
    padding: 8px 0px 8px 0px;
}

.navbar-brand img {
    max-height: 73px !important;
}

@media screen and (max-width: 991px) {
    .top-position1
    {
       margin-top: -121px;
   }

   .navbar-header-custom {
    padding: 4px 0px 4px 0px;
}

    .navbar-brand img {
        max-height: 53px !important;
    }
   
    .navbar {
        flex-wrap: revert;
    }
}



@media screen and (min-width: 992px) {
    .top-position1
    {
       margin-top: -96px;
   }
   
}


header.scrollHeader > .navbar-default > .container > .row > .col-12 > .menu_area > nav > .attr-nav > ul > li > a {
    background: var(--accent) !important;
}



header.scrollHeader .navbar-default
 {
        position: fixed;
        top: 0;
        z-index: 99;
        width: 100%;
        background: #2B3E50;
        left: 0;
        transition: all 0.2s ease 0s;
        -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
        -ms-box-shadow: 0 0 3px rgba(0,0,0,0.2);
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
        animation: .95s ease 0s normal forwards 1 running headerAnimate;
    }

    @media screen and (max-width: 991px) {

        .mobile-padding {
            padding-left: 15px;
            padding-right: 15px;
        }


        .navbar-toggler
        {
            width: 50px;
            height: 45px;
            position: absolute;
            right: 0px;
            top: 20%;
            cursor: pointer;
            z-index: 12399994;
            --background: var(--primary-darker);
            background: var(--accent) !important;
            padding: 0px;
            border-radius: 0px;
            border-width: initial;
            border-style: none;
            border-color: initial;
            border-image: initial;
        }
    }




/* Call to action button in contact form */
.butn.white-hover {
    background-color: #ffffff;
    color: var(--primary) !important;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.butn.white-hover:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--accent-lightest);
    transition: all 0.3s ease;
    z-index: -1;
}

.butn.white-hover:hover {
    color: var(--primary-darker) !important;
    border-color: var(--accent-lightest);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.butn.white-hover:hover:after {
    height: 100%;
}

.butn.white-hover:before {
    background: none;
}

/* Additional services section styles can be added here */


/* @media screen and (min-width: 992px) {
    .top-position1
 {
        margin-top: -96px;
    }
} */