/* variables */
:root {
    --theme-bg-light: #F9F5EF;
    --theme-bg-dark: #EFE5D8;
}
/* Swiper Container */
.hero-banner .swiper-container {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    overflow-x: clip;
}

.hero-banner .swiper-wrapper {
    display: flex;
    width: 100%;
}

/* Swiper Slide Background */
.hero-banner .swiper-slide {
    background-size: 115%;
    /* Set normal size initially */
    min-height: 100vh;
    /* Ensures slides take full viewport height */
    background-position: center;
    background-repeat: no-repeat;
    /* transition: transform 4s ease-in-out; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Initially hide animations for first slide */
.hero-banner .swiper-slide:first-child {
    background-size: 115%;
}

/* Gradient Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(190, 176, 160, 0.4), rgba(245, 235, 220, 0.3));
    z-index: 1;
}

/* Slider Content */
.hero-banner .slider-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    max-width: 80%;
}

.hero-banner .slider-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-banner .slider-content p {
    font-size: 1.5rem;
}

/* Zoom Effect */
/* .swiper-slide-active {
    transform: scale(1.2);
} */

/* Navigation Buttons */
.hero-banner .swiper-button-next,
.hero-banner .swiper-button-prev {
    display: none !important;
}

.hero-banner .swiper-pagination-bullet {
    background: #fff;
}

/* header css*/
.sticky-header .menu-item a {
    padding-bottom: 0;
    color: #8B6F35;
}

/* .sticky-header .menu-item a:hover, .sticky-header .menu-item a:focus{
    color: #000 !important; 
} */
.sticky-header .menu-item a:hover, .sticky-header .menu-item a:focus {
    color: #8B6F35 !important;
}

/* Remove underline in sticky header */
.sticky-header a::after {
    content: none !important;
}
.sticky-header .contact-info-btn a{
    color: #231F1E;
}
.custom-logo-link img {
    filter: invert(1);
}

.sticky-header .custom-logo-link img {
    filter: none;
}

.sticky-header path {
    stroke: #000;
}

/* submenu styling */

.submenu a {
    text-decoration: none;
    color: black;
}

.submenu a:hover {
    color: gray;
}

#mobile-menu .submenu {
    margin-left: 0;
    position: relative;
}

/* Ensure 3D flipping effect works */
.perspective {
    perspective: 1000px;
}

.flip-card-inner {
    transform-style: preserve-3d;
    transition: transform 0.7s;
}

/* Front side */
.front-card {
    backface-visibility: hidden;
}

/* Back side */
.back-card {
    transform: rotateY(180deg);
    backface-visibility: hidden;
}

/* Flip effect on hover */
.group:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/*appointment form CSS */
/* Form Container */
.appointment-form .wpcf7-form {
    background: #ffffff;
    border-radius: 8px;
    max-width: 500px;
    margin: auto;
}

.appointment-form br {
    display: none;
}

.appointment-form .wpcf7-response-output, .custom-contact-form .wpcf7-response-output {
    color: #333;
    margin: 0 !important;
}

.appointment-form .wpcf7-list-item.wpcf7-list-item {
    margin-left: 0;
    gap: 5px;
}

.appointment-form .wpcf7-checkbox.wpcf7-checkbox {
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

/* Labels */
.appointment-form .form-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    /* Set label color to visible */
    margin-bottom: 8px;
}

/* Input Fields */
.appointment-form .input-field {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    outline: none;
    transition: 0.3s;
}

/* Checkbox Styling */
.appointment-form .checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #333;
    margin-left: 0 !important;
    /* Remove left margin */
}

.appointment-form .submit-button, .custom-contact-form .wpcf7-submit {
    width: 100%;
    background: #8B7355;
    /* Dark Beige */
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.appointment-form .submit-button:hover, .custom-contact-form .wpcf7-submit:hover {
    background: #6D5C48;
    /* Darker Beige for Hover */
}

.btn-primary {
    padding: 12px 36px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    border: 2px solid #8B7355;
    background-color: #8B7355;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: transparent;
    color: #8B7355;
}

/* Style the form container */
.custom-contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Style form rows */
.custom-contact-form .form-row {
    display: flex;
    gap: 16px;
}

/* Half-width fields */
.custom-contact-form .half-width {
    width: 50%;
}

/* Full-width textarea */
.custom-contact-form .full-width {
    width: 100%;
}

/* Style input fields */
.custom-contact-form input,
.custom-contact-form textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    transition: border-color 0.3s;
}
#mobile-menu a{
    color: #000 !important;
}
/* Add focus effect */
.custom-contact-form input:focus,.appointment-form input:focus, 
.custom-contact-form textarea:focus {
    border-color: #8B7355;
    outline: none;
}

/* Style the textarea */
.custom-contact-form textarea {
    height: 130px;
    resize: none;
}

.google-map iframe {
    width: 100%;
}

@media (min-width: 1025px) {
    .swiper-slide-active.animated {
        animation: zoomOut 6s ease-in-out forwards;
    }

    @keyframes zoomOut {
        from {
            background-size: 115%;
        }

        to {
            background-size: 100%;
        }
    }
}

@media (min-width: 768px) {
    .submenu {
        position: absolute;
        left: 0;
        top: 100%;
        width: 200px;
        background: white;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 6px;
        z-index: 50;
    }

    .submenu a {
        display: block;
        padding: 10px 15px;
        border-bottom: 1px solid #eee;
    }

    .submenu a:last-child {
        border-bottom: none;
    }
}


@media (max-width: 1024px) {
    .hero-banner .swiper-slide {
        background-size: cover !important;
    }

    .hero-banner .swiper-slide-active.animated {
        animation: none !important;
    }
}

@media (max-width: 767px) {
    .menu-link::after {
        display: none !important;
    }

    #mobile-menu .menu-link {
        justify-content: flex-start;
    }
}

@media (max-width:576px) {
    .custom-contact-form .form-row{
        flex-direction: column;
    }
    .custom-contact-form .half-width{
        width: 100%;
    }
}