/* HEADER AND NAVIGATION */
/* Update header styles */


/* * {
  outline: 1px solid red;
  overflow: visible !important;
}
 */

html{
    min-width: 320px;
}
 

.site-main {
    width: 100vw;
}

.site-header {
    background: transparent;
    padding: 1rem 2rem;
    position: fixed;
    /* Change to fixed */
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    top: 16px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.site-navigation {
    justify-content: flex-start;
    width: 60%;
    /* Adjust the width */
    padding: 0.5rem 1rem;
}



/* Add scrolled state */
.site-header {
    /* background: var(--orange-8); */

    padding: 0.5rem 2rem;
    /* blur */
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.582);
    border-radius: 16px;
    box-shadow: 0 2px 32px rgba(0, 0, 0, 0.007);
    backdrop-filter: blur(15.2px);
    -webkit-backdrop-filter: blur(15.2px);
    border: 1px solid rgba(255, 255, 255, 0.43);
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    /* gradient borders */
    border: 1px solid var(--orange-6);
}



.site-branding {
    /* display: flex;
    align-items: center; */
    width: 25%;
    min-width: 25%;
}



.custom-logo {
    max-height: 60px;
    /* min-width: 120px; */
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    list-style: none;
}

.main-navigation a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-primary);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: var(--orange-primary);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Mobile menu button */
.menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--text-color);
}

.menu-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-toggle:focus {
    outline: none;
}

.main-navigation.toggled ul {
    display: flex;
}

#primary-menu {

    transition: all 0.3s ease;
    /* Optional: Add a smooth transition */


    border-radius: 16px;

}

@media (max-width: 768px) {
    #primary-menu {
        flex-direction: column;
        width: 100%;
        margin: 8px 0px 0px 0px;
        background-color: #f9f9f9;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border: solid 1px var(--orange-6);
        backdrop-filter: blur(15.2px);
        -webkit-backdrop-filter: blur(15.2px);


    }
}

.main-navigation.toggled #primary-menu {
    display: block;
    /* Show the menu when toggled */
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .site-header {
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    /* Hamburger menu animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Current menu item highlight */
.current-menu-item>a {
    color: var(--orange-primary);
}

.current-menu-item>a::after {
    width: 100%;
}

/* WELCOME SECTION -----------------------------------------------------------------!!*/


/* Add to custom.css
.hero-section-content h1,
.hero-section-content p,
.hero-buttons .button,
.hero-section-image {
    opacity: 0;
} */


.welcome-section {
    width: 100%;
    max-width: 1440px;
    /* Common max-width for larger screens */
    margin: 0 auto;
    /* padding: 7rem 1rem; */

    /* Using rem for consistent spacing */
}

.hero-section {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* Create 12 column grid */
    gap: 3rem;
    margin: 0 auto;
    align-items: center;
    padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 5vw, 3rem);
    margin-top: 2rem;

}

.hero-section-content {
    grid-column: span 4;
    /* Take up 5 columns */
    padding-right: 2rem;
}

.hero-section-image {
    grid-column: 6 / span 7;
    /* Start at column 7, span 6 columns */
    height: 700px;
    border-radius: 32px;
}


/* .videoInsert {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    max-height: 640px !important;
    width: auto;
    height: auto;
    z-index: -100;
    background-size: cover;
    overflow: hidden;
    border-radius: 32px;
} */

.hero-section-image {
    position: relative;
    height: 700px;
    border-radius: 32px;
    overflow: hidden; /* Add this */
}

.videoInsert {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 32px;
    z-index: 1; /* Change from -100 to 1 */
}

/*  */


/* .hero-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2rem;
} */

@media (max-width: 1024px) {


    .hero-section {
        gap: 2rem;
    }

    .hero-section-content {
        grid-column: span 6;
    }

    .hero-section-image {
        grid-column: 7 / span 6;
        height: 600px;
    }

    .welcome-location {
        text-align: center;
    }
}

@media (max-width: 768px) {


    .hero-section {
        grid-template-columns: 1fr;
        padding: 6rem 0;
    }

    .hero-section-content {
        grid-column: 1;
        padding-right: 0;
        text-align: center;
    }

    .hero-section-image {
        grid-column: 1;
        height: 400px;
        order: -1;
    }
    h1.welcome-location  {
        text-align: center;
    }
}

.welcome-location {
    font-size: 1.5rem;
    /* Default size for the rest of the text */
 
    font-weight: 300;
    text-align: left;
}

.welcome-location .welcome-large {
    font-size: 3rem;
    /* Make "Welcome" larger */
    font-weight: 800;

}

.welcome-location .highlight-orange {
    color: var(--orange-primary);
    /* Use your orange variable */
    font-weight: 500;


    display: inline-block;
    /* Ensure it behaves like a block for better alignment */
}





.gallery-section {
    padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 5vw, 3rem);
    background: var(--background-light);
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1440px;
    align-items: center;
    margin: 0 auto;
    padding: 0;
}



.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;

    overflow: hidden;


    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.gallery-button {
    background-color: #ffffffad;
    display: flex;
    flex-direction: row;
    color: var(--orange-primary);
    border: 1px solid transparent;
    gap: 0.5rem;
    box-shadow: none;
    width: 100px;
    transition: 0.5s;
}

.gallery-button:hover {
    transition: 0.5s;
    color: #ffffff;
    background-color: var(--orange-primary);
    border: 1px solid var(--orange-primary);
}

.gallery-item:hover {
    transform: translateY(-5px);
}


.gallery-info-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.1rem;
}

.gallery-category-container {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    width: fit-content;
    background-color: #ffffff56;
    padding: 0.2rem 0.3rem;
    border-radius: 8px;

}

.gallery-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    color: var(--orange-primary) !important;


    font-size: 14px !important;

}

.gallery-tag-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.gallery-image {
    width: 100%;
    height: 420px;
    /* taller image */
    object-fit: cover;
    border-radius: 1rem;
    display: block;
}

.gallery-content {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    width: 85%;
    z-index: 2;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 1rem;
    box-shadow: 0 2px 32px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(15.2px);
    -webkit-backdrop-filter: blur(15.2px);
    border: 1px solid rgba(255, 255, 255, 0.651);
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
    text-align: center;
    gap: 8px;

}

.gallery-content h3 {
    margin: 0 !important;
    width: fit-content;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/*ABOUT SECTION---------------------------------------------------------------------------!! */
/* ABOUT SECTION */


.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    height: 600px;
}

.bento-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.bento-item.large {
    grid-row: span 2;
}

.bento-item.large .bento-image {
    object-position: left center;
}

.bento-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bento-item:hover .bento-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .bento-item {
        aspect-ratio: 16/9;
    }

    .bento-item.large {
        grid-row: auto;
    }
}

.about-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;

}

.about-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 32px;
}

.about-section-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* Create 12 column grid */
    gap: 4rem;
    /* Add space between blocks */
    max-width: 1440px;
    margin: 0 auto;
    /* padding: 2rem; */
}

.about-section-block {
    display: grid;

    gap: 2rem;
    width: 100%;
    background: white;
    border-radius: 0.5rem;
    grid-column: span 6;
    /* Take up 5 columns */
    /* padding: 2rem; */
}

.about-section-block-picture {
    position: relative;
    /* Changed from absolute */


    border-radius: 0.5rem;
    overflow: hidden;
    grid-column: span 6;
    /* Take up 5 columns */
}

.about-section-block-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
    /* Remove padding since parent has padding */
    box-shadow: none;
    /* Remove shadow since parent has shadow */

}


.about-section-block-content-title h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0;
}

.text-block-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1rem;
}

.icon-about-text-block {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-about-text-block img,
.icon-block {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.about-text-block {
    font-size: 0.9rem;
    min-width: 110px;
}

.about-section-description {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.6;
    /* color: #666; */
}


/* Media Queries */
@media (max-width: 1200px) {
    /* .about-section {
        padding: 60px 80px;
    } */
}

@media (max-width: 768px) {


    .about-section-content {
        grid-template-columns: 1fr;

        order: 1;
        /* Force text content to top */

    }

    .about-section h2 {
        margin-bottom: 40px;
        font-size: 28px;
    }

    .about-section-block {
        padding-top: 100px;
    }

    .about-section-block-picture {
        left: 16px;
        width: calc(100% - 32px);

        order: 2;
        /* Force image to bottom */
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 32px 16px;
    }

    .about-section h2 {
        margin-bottom: 32px;
        font-size: 24px;
    }
}



/* GALLERIES---------- */

.gallery-section {
    width: 90%;
    max-width: 1440px;
    /* Add max-width for better control */
    margin: 0 auto;
    padding: 8rem 0;
    /* display: grid; */
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 2rem;
}

.gallery-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    /* Change from 1/1 to 16/9 for landscape format */
    object-fit: cover;
    border-radius: 0.5rem;
    max-width: 150px;
    /* max-height: 200px; */
    /* Add max-height for smaller thumbnails */
}

/* Media queries stay the same */

/* gallery-section h2 taking whole width */
.gallery-section h2 {
    grid-column: 1 / -1;
    /* Span all columns */
    text-align: left;
    margin-bottom: 2rem;
    /* font-size: 2rem; */
    color: var(--text-color);
}

.gallery-preview {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease;

}

.gallery-preview:hover {
    transform: scale(1.02);
}


/* 
.gallery-thumbnail {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0.5rem;
} */

.gallery-preview h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.2rem;
    text-align: center;
}

/* Media Queries for Galleries */
@media (max-width: 1024px) {
    .gallery-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gallery-section {
        grid-template-columns: 1fr;
    }
}


/* ABOUT SECTION------------------------------------------------------------------ */

/* Salon Description Section */

.tri-icon-section {
    padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 5vw, 3rem);

}


.tri-icon-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    gap: clamp(2rem, 4vw, 4rem);
    /* padding: 0 clamp(1rem, 3vw, 2rem); */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.salon-description-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 5vw, 3rem);
    /* Responsive padding */
}


.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(1.5rem, 3vw, 3rem);
    /* background: var(--orange-7); */
    border: var(--orange-6) solid 1px;
    background-color: var(--orange-9);
    border-radius: 1rem;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
    box-shadow: rgba(100, 100, 111, 0.1) 0px 4px 29px 0px;
    transition: transform 0.3s ease;

}



.icon-container {
    margin-bottom: 1.5rem;
}

.icon-container img {
    width: clamp(64px, 8vw, 124px);
    height: auto;
}

/* Media Queries */
@media (max-width: 1024px) {
    .tri-icon-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tri-icon-container {
        width: 100%;
        gap: 1.5rem;
    }

    .icon-box {
        padding: 1.5rem;
    }
}

@media (max-width: 580px) {
    .tri-icon-container {
        grid-template-columns: 1fr;
    }

    .salon-description-section {
        padding-top: 2rem;
        padding-bottom: 1rem;
    }
}


/* HISTORY SECTION */
/* Timeline section styles */
.timeline-section {
    /* padding: clamp(4rem, 8vw, 8rem) 0; */
    padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 5vw, 3rem);

    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
}

.timeline-section h2 {
    margin-bottom: clamp(2rem, 5vw, 4rem);
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Line connecting the dots */
.timeline-swiper::before {
    content: '';
    position: absolute;
    top: 40px;
    /* Lower the connecting line */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--orange-primary);
    z-index: 1;

}

.swiper-button-next::after,
.swiper-button-prev::after {
    color: var(--orange-primary) !important;
    fill: var(--orange-primary) !important;
}


.swiper-pagination-bullet-active {
    background: var(--orange-primary) !important;
}


.timeline-swiper {
    width: 100%;
}


.timeline-event {

    /* Fixed width for slides */
    padding: 2rem 1rem;
    position: relative;
}

.timeline-point {
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid var(--orange-primary);
    border-radius: 50%;
    position: absolute;
    top: 33px;
    /* Align dot with the line */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: background-color 0.3s ease;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border: solid 1px var(--orange-4);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    /* Reduce space between dot and content */
    opacity: 0.7;
    transition: all 0.3s ease;

    width: 90%;
    max-width: 90%;
    min-height: 280px;
}

.timeline-content.active {
    opacity: 1;
    transform: translateY(-10px);
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .timeline-content {
        max-width: 80%;
        /* Reduce the width to fit smaller screens */
        font-size: 0.9rem;
        /* Adjust font size for better readability */
        padding: 0.8rem;
        /* Reduce padding */
    }
}

@media (max-width: 480px) {
    .timeline-content {
        font-size: 0.8rem;
        /* Further reduce font size for very small screens */
        padding: 0.5rem;
        /* Reduce padding even more */
        word-wrap: break-word;
        /* Ensure long words break properly */
    }
}

/* Navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    color: var(--orange-primary);
}

.swiper-pagination-bullet-active {
    background: var(--orange-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-event {
        width: 260px;
    }

    .timeline-content {
        padding: 1.5rem;
    }
}



.testimonials-section {
    padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 5vw, 3rem);
    background-color: var(--orange-7);
}

.testimonials-swiper {
    width: 90%;
    max-width: 800px;
    height: 400px;
    margin: 0 auto;
    position: relative;
}

.parallax-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 130%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.testimonial-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border: solid 1px var(--orange-4);
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 0rem;
    left: 2rem;
    font-size: 4rem;
    color: var(--orange-primary);
    font-family: Georgia, serif;
    transition: transform 0.3s ease;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    margin: 1.5rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    text-align: right;
    margin-top: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--orange-primary);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #666;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--orange-primary);
}

.swiper-pagination-bullet {
    background: var(--orange-4);
}

.swiper-pagination-bullet-active {
    background: var(--orange-primary);
}

@media (max-width: 768px) {
    .testimonials-swiper {
        height: 500px;
    }

    .testimonial-content {
        padding: 1.5rem;
    }
}


/* Add to your custom.css */
.testimonials-bento {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* Adjust ratio as needed */
    gap: 2rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 0;
}

.reviews-card {
    background: var(--orange-9);
    border: solid 1px var(--orange-6);
    border-radius: 2rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.reviews-card-content {
    text-align: left;
}

.reviews-card-content h3 {

    font-size: 1.9rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.review-subtext {
    font-size: 16px;
    font-weight: 200;
}



.rating-number {
    font-size: 3rem;
    font-weight: bold;

}

.rating-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Adjust existing testimonials section */
.testimonials-section {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-bento {
        grid-template-columns: 1fr;
    }

    .reviews-card {
        min-height: 300px;
    }
}


.service-link {
    display: flex;
    padding: 16px;
    padding-top: 32px;
    width: 100%;
    justify-content: center;
}

.service-info {
    /* display: flex;
    flex-direction: row;
    flex-wrap: wrap; */

    display: grid;
    grid-template-columns: 1fr 11fr;
    gap: 1rem;
    background-color: var(--orange-7);
    border: solid 1px var(--orange-4);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    /* margin: 32px 32px 64px 32px; */
    /* opacity: 0;
    transform: translateY(50px); */
}

@media (max-width: 750px) {
    .service-info {
        /* margin: 4px 8px; */
    }
}




.services-header {
    margin-bottom: clamp(3rem, 6vw, 5rem);
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.service-info-icon {
    /* width adapt to content */
    width: fit-content;

}

.info-icon {
    padding: 0.5rem;
}


/* SERVICES SECTION */
.services-section {
    padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 5vw, 3rem);

    max-width: 1440px;
    margin: 0 auto;
}

.services-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    max-width: 1200px;

    margin: 0 auto;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
    /* opacity: 0;
    transform: translateY(30px); */
}

.service-item:hover {
    transform: translateY(-2px);
}

.service-mini-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-mini-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-name {
    color: var(--text-color);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-mini-grid {
        grid-template-columns: 1fr;
    }
}






/* TEAM SECTION */
.team-section {
    opacity: 0;
}

.team-intro {
    max-width: 1100px;
    margin: 0 auto;
    color: var(--text-color);
    line-height: 1.6;
    font-weight: light;
    text-align: center;
    /* margin-bottom: 2rem !important; */
}

.team-section {
    padding: 5rem 0;

}

.team-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.team-section {
    padding: clamp(4rem, 8vw, 8rem) 0;
    width: 90%;
    margin: 0 auto;
    max-width: 1440px;
}

.team-intro {
    max-width: 1440px;
    margin: 0 auto;
    /* padding: 0 clamp(1rem, 3vw, 2rem); */
    /* margin-bottom: clamp(2rem, 5vw, 4rem); */
    color: var(--text-color);
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    height: auto;
    padding: 0;
    /* margin-bottom: 2rem; */
}

.team-card {
    position: relative;
    border-radius: 16px;
    /* aspect-ratio: 1; */
    transition: none;

    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    background-color: transparent;
    overflow: hidden;
    /* Add this to contain absolute children */
}




.team-image {
    width: 100%;
    height: 640px;
    /* Make image taller */
    position: relative;
    border-radius: 8px 8px 0px 0px;
    z-index: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0px 0px;
}


.team-image::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    /* Example gradient: fade from transparent to white at the bottom */
    /* background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 15%, rgba(255, 255, 255, 0) 30%); */
    border-radius: 8px 8px 0px 0px;
    z-index: 2;
}

.team-content {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%) !important;
    max-width: 90%;
    width: 90%;
    z-index: 2;
    gap: 24px;
    background: rgba(255, 255, 255, 0.692);
    border-radius: 1rem;
    box-shadow: 0 2px 32px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(15.2px);
    -webkit-backdrop-filter: blur(15.2px);
    border: 1px solid var(--orange-3);

    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.team-content-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-content-info h3 {
    margin: 0 4px !important;
}



/* Adjust content spacing */
.team-content h3 {
    margin: 0 0 0.5rem;
    color: var(--text-color);
    font-size: 1.25rem;
}



.team-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;

}

.tag {
    /* background-color: var(--orange-6) !important;
    color: var(--text-color) !important;
    padding: 0.25rem 0.75rem;
    border-radius: 32px !important;
    font-size: 0.875rem;
    font-weight: 500; */
    color: var(--orange-primary) !important;
    border: solid 1px var(--orange-primary);
    border-radius: 32px !important;

    font-size: 14px !important;
    background-color: #ffffff8a !important;
}



.team-button-container {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}





.team-member-header {
    display: grid;
    grid-template-rows: 1fr 1fr;
}


.team-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* background: var(--orange-7); or your preferred background */
    border-radius: 0.75em;
    /* padding: 0.75em 1.25em; */
    width: 100%;
    margin-top: 0.2rem;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    /* box-shadow: rgba(50, 50, 93, 0.05) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.09) 0px 18px 36px -18px inset; */
}


.team-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    width: 100%;

}

.team-link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;

    font-weight: 600;
    color: var(--orange-1);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0.7em 1.5em;
    border-radius: 8px;
    transition: color 0.3s;
    position: relative;
}


.team-link-text {
    padding: 0.2rem 0.6rem;
}

.team-link-arrow {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.arrow-svg {
    width: 1.3em;
    height: 1.3em;
    color: var(--orange-1);
    transition: color 0.3s;
    /* Needed for GSAP animation */
}

/* Hover styles */
.team-link-button:hover {
    color: var(--orange-primary);
}

.team-link-button:hover .arrow-svg {
    color: var(--orange-primary);
}


.team-contact-button {
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5em 1.2em !important;
    /* width: 50%; */
    align-items: center;
    display: inline-flex;
    justify-content: center;
    width: 100%;
    ;

}

/* WhatsApp button */
.team-contact-whatsapp {
    /* background: #25D366; */
    background: var(--orange-primary);
    color: #fff;

    border: solid 1px transparent;
    transition: background 0.2s;
}

.wa-icon {
    color: #fff;
    width: 1.2em;
    height: 1.2em;
    display: block;
}

.team-contact-whatsapp:hover {
    background: #ffffffad;
    color: var(--orange-primary);
    border: solid 1px var(--orange-primary);
}

.team-contact-whatsapp:hover .wa-icon {
    color: var(--orange-primary);
}



/* responsive team contact row on mobile */
@media (max-width: 768px) {
    .team-contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-contact-button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}


.contact-button-label {
    padding: 0.2rem 0.5rem;

}




/* Phone link (not a button) */
.team-contact-phone {
    display: inline-flex;
    background-color: #ffffffad !important;
    color: var(--orange-1);
    border: solid 1px var(--orange-6) !important;
    /* Main orange */
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    transition: background 0.2s, color 0.2s, border 0.2s;
    stroke: var(--orange-primary);
}


.team-contact-phone:hover {
    /* text-decoration: underline; */
    color: var(--orange-primary);

    border: solid 1px var(--orange-primary) !important;
}

.phone-icon {
    width: 1.2em;
    height: 1.2em;
    margin-right: 0.4em;
    vertical-align: middle;

    /* stroke: var(--orange-primary); */
}




@media (max-width: 1080px) {
    .team-contact {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 1264px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* .team-contact {
        flex-direction: row;
        align-items: flex-start;
    } */

    .team-contact-button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .team-contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;

    }
}

/* Contact Section Styles */
.submitButton{
    /* flex centered */
    display: flex;
    justify-content: center;
}


.contact-section {
    padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 5vw, 3rem);
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 2rem;
    margin-bottom: 8rem;
}

.map-container {
    /* background: var(--orange-7); */
    border-radius: 1rem;
    min-height: 400px;
}

.contact-details {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
}

.contact-block {
    background: white;
    padding: 2rem;
    border-radius: 1rem;

}

.contact-block h4 {
    color: var(--orange-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.address-block address {
    font-style: normal;
    line-height: 1.6;
}

.transport-block ul {
    list-style: none;
    padding: 0;
}

.transport-block li {
    margin-bottom: 0.5rem;
}

/* Contact Form Container */
.contact-form-container {
    background: white;
    /* padding: 3rem; */
    border-radius: 1rem;

    margin-top: 4rem;
}

.contact-form-container h3 {
    text-align: center;
}


.contact-form-description {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}


.transport-info {
    display: grid;
    grid-template-columns: 2fr 6fr;
    gap: 0.5rem;
}

.transport-number {
    font-weight: 600;
}



/* Responsive Design */
@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        /* padding: 2rem; */
    }
}


/* Team Page Styles */

.team-members {
    display: grid;
    grid-template-rows: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


.team-member {
    padding: 16px 16px;
    -webkit-box-shadow: 0px 0px 38px -20px rgba(95, 70, 54, 0.52);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 3fr;
    border: solid 1px var(--orange-4);
    gap: 16px;
}

.team-member-info-sheet {
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
    gap: 16px;
}

.team-member-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-member-info h2 {
    margin: 0;
}

.team-page {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 8rem 0;
}

.team-header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 4rem 0;
}

.team-header h1 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

/* .team-intro {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
    line-height: 1.6;
} */

.team-member-header {
    display: grid;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: 8px;
}

.team-member:nth-child(even) {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 1rem;
}

.team-member-image {
    /* width: 150px;
    height: 150px; */
    height: 100%;
    width: 100%;
    padding: 16px 16px;
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;

}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.team-member-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-member-content h2 {
    color: var(--orange-primary);
    margin: 0;
    font-size: 2rem;
}

.team-member-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--orange-6);
    color: var(--text-color);
    padding: 0.15rem 0.45rem;
    border-radius: 8px;
    font-size: 0.775rem !important;

}



.team-member-description {
    color: var(--text-color);
    line-height: 1.6;
}

.team-member-description p {
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .team-member {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .team-member {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .team-member-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .team-member-tags {
        justify-content: center;
    }

    .team-member:nth-child(even) {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .team-page {
        padding: 2rem 0;
    }

    .team-header {
        margin-bottom: 2rem;
    }

    .team-members {
        gap: 2rem;
    }
}




/* GALLERIES */
.ngg-galleryoverview {
    column-count: 4;
    column-gap: 0.1rem;
    /* Adjust for your spacing */
    width: 95%;
    max-width: 1440px;
    margin: 0 auto;
    /* Optional: add padding if needed */
}

@media (max-width: 900px) {
    .ngg-galleryoverview {
        column-count: 3;
    }
}

@media (max-width: 600px) {
    .ngg-galleryoverview {
        column-count: 2;
    }
}

/* Make each image box break correctly in columns */
.ngg-gallery-thumbnail-box {
    display: inline-block;
    width: 100%;

    margin-bottom: 1.5rem;
    break-inside: avoid;
    /* Prevents image boxes from breaking across columns */
    background: #fff;


    padding: 0.5rem;
}

/* Optional: Style images for better fit */
.ngg-gallery-thumbnail img {
    width: 100%;
    height: auto;
    display: block;

    box-shadow: none;
}












/* footer */
/* Responsive 3-column footer */
.site-footer {
    border-top: solid 1px var(--orange-4);
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;

}

.footer-col {
    /* flex: 1 1 200px; */
    text-align: center;
}

.footer-logo-img {
    max-height: 60px;
    width: auto;
}

.footer-logo {
    text-align: left;
}


.social-icon {
    color: var(--text-color);
}


@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-col {
        text-align: center;
    }


}


/* --- Footer Social Icons --- */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    width: 44px;
    height: 44px;
    transition: background 0.2s, box-shadow 0.2s;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); */
    /* border: 1px solid #eee; */
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.6s;
}

.footer-social-link:hover .social-icon {
    color: var(--orange-primary, #ff9800);

}



.social-icon {
    width: 22px;
    height: 22px;
    display: block;


}


/* Responsive: stack footer columns on mobile */
@media (max-width: 700px) {
    .footer-columns {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

.footer-adress {
    text-align: left;
    padding: 0.6rem 1.2rem;
}

.footer-adress p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.footer-separator {
    width: 30%;
    height: 1px;
    /* background: #e0e0e0; */
    /* background gradient circle trasparent to gray */
    /* background: radial-gradient(circle,rgba(235, 119, 56, 0.8) 0%, rgba(235, 119, 56, 0) 100%); */
    margin: 0 auto 2rem auto;
    border-radius: 3px;
}

.site-footer {
    background-color: var(--orange-7);
}



/* PAGES */

.type-page {
    margin: 16px auto;
    padding: 16px 32px;
    margin-top: 100px;
    max-width: 1440px;
    min-height: 100vh;
}


.faq-section {
    padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 5vw, 3rem);
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-item {
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    /* Reset border-radius for all items */

}



.faq-question {
    width: 100%;
    padding: 1rem;
    background-color: #fff;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
    color: var(--text-color);
    border-radius: 0px;

}

.faq-question:hover {
    background-color: #f0f0f0;
}



.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
    background-color: #fff;
}

.faq-answer p {
    margin: 1rem 0;
    font-size: 1rem;
    color: #555;
}

/* Active accordion styles */
.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust based on content */
}

/* Active accordion styles */
.faq-item.active .faq-question,
.faq-item.active .faq-answer {
    background-color: var(--orange-9);
    /* Change to your desired active background color */
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust based on content */
}




@media (max-width: 768px) {
    section {
        padding-left: 32px;
        padding-right: 32px;
    }
}



/* Center the grid and make it smaller */
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    padding: 0;
    margin: 0;
    background-color: #f9f9f9;
}

.error-404 {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    width: 80%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff; /* Add a background color to separate the grid */
}

/* Left Side: Image */
.error-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee; /* Fallback background color */
}

.error-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px; /* Remove any border-radius */
}

/* Right Side: Text */
.error-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    background-color: #fff; /* Ensure the text area has a white background */
}

.error-content .page-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.error-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.error-content .button {
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background-color: #eb7738;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.error-content .button:hover {
    background-color: #d65f2a;
}


@media (max-width: 1024px) {
    .error-404 {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        text-align: center;
    }

    .error-image {
        height: 300px;
        border-radius: 0;
    }

    .error-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .error-404 {
        width: 90%;
        margin: 0 auto;
    }

    .error-image {
        height: 250px;
    }

    .error-content .page-title {
        font-size: 1.8rem;
    }

    .error-content p {
        font-size: 1rem;
    }

    .error-content .button {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .error-content .page-title {
        font-size: 1.5rem;
    }

    .error-content p {
        font-size: 0.9rem;
    }

    .error-content .button {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}