/*
Theme Name: Kaizen Child Theme
Author: Forge Creation
Author URI: http://forgecreationdigital.com
Description: A Child Theme 
Version: 1.0.0
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


/* General Styles */
body {
    font-family: "Lato", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 22px;
	letter-spacing: 0.5px;
    transition: background-color 0.6s ease; /* Smooth transition for background color */
}

/* Remove top margin */
html {
    margin-top: 0 !important;
    overflow-x: hidden;
}

p {
	line-height: 1.5em;
	letter-spacing: 0.5px;
}

/* Title Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    color: #000;
	margin-top:10px;
	margin-bottom:10px;
	letter-spacing: 2px;
}

/* Regular links inside body text and headlines */
body a,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #fff;
    text-decoration: none;
}

/* Hover state for links inside body text and headlines */
body a:hover,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    color:#daa725;
    text-decoration: none;
}
h1 {
    font-size: 7em;
}

h2 {
    font-size: 6em;
}

h3 {
    font-size: 5em;
}

h4 {
    font-size: 2em;
}

h5 {
    font-size: 1.5em;
}

h6 {
    font-size: 1.2em;
}

/*
.inline-dash {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('images/favicon.webp');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin: 0 5px;
}
*/

.inline-dash {
    display: inline-block;
    vertical-align: baseline;
    margin: 0 5px;
}

.inline-dash::before {
    content: "•"; /* Simple period/bullet */
    font-size: .4em;
    color:#daa725; /* Uses the same color as surrounding text */
}

/* Video Hero Styles */
.video-hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #000;
    opacity: 0; /* Start at 0 opacity */
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.video-hero.show {
    opacity: 1; /* Fade to full opacity */
}

.video-hero iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

/* Video Overlay Styles */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% opacity black overlay */
    z-index: 2;
    opacity: 1; /* Start at full opacity */
    transition: opacity 1s ease-in-out;
}

.video-overlay.close {
    opacity: 0.7; /* Fade to 30% opacity */
}

/* Video Logo Styles */
.video-logo {
    z-index: 3;
    opacity: 1; /* Start at full opacity */
    transition: opacity 0.2s ease-in-out; /* Smooth transition on scroll */
}

.video-logo.show {
    opacity: 1; /* Fade to full opacity */
}

.video-logo img {
    max-width: 100%;
    height: auto;
}



/* Title Container Styles */
.title-container {
    height: 30px;
    display: none;
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 1;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.video-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    z-index: 1;
}

/* Title Video Overlay */
.title-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Hide the old title content */
.title-content {
    display: none;
}

/* Title Logo Styles */
.title-logo {
    display: none;
}

/* Page Title & Divider Styles */
.page-title-container {
    display: none;
}

.favicon-divider {
    display: none;
}

.page-title {
    display: none;
}

/* Traditional Navigation Bar */
.traditional-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background-color: #fff;
	/*
    border-bottom: 1px solid #eee;
	*/
}

.traditional-nav .nav-logo {
    margin-right: 40px;
}

.traditional-nav .nav-logo img {
    height: 60px;
    width: auto;
}

.traditional-nav .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.traditional-nav .nav-menu li {
    margin: 0 20px;
    position: relative; /* Required for dropdown positioning */
}

.traditional-nav .nav-menu li a {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 14px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.traditional-nav .nav-menu li a:hover {
    color: #dba725;
}

/* WordPress Dropdown container */
.traditional-nav .nav-menu li .sub-menu,
.traditional-nav .nav-menu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

/* Show dropdown on hover - WordPress classes */
.traditional-nav .nav-menu li:hover .sub-menu,
.traditional-nav .nav-menu li:hover ul,
.traditional-nav .nav-menu .menu-item-has-children:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown menu items */
.traditional-nav .nav-menu .sub-menu li,
.traditional-nav .nav-menu ul li {
    margin: 0;
    width: 100%;
}

.traditional-nav .nav-menu .sub-menu li a,
.traditional-nav .nav-menu ul li a {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
    text-decoration: none;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.traditional-nav .nav-menu .sub-menu li a:hover,
.traditional-nav .nav-menu ul li a:hover {
    color: #dba725;
    background-color: #f9f9f9;
    border-left-color: #dba725;
    padding-left: 25px;
}

/* Dropdown arrow indicator - WordPress classes *
.traditional-nav .nav-menu li.has-dropdown > a::after,
.traditional-nav .nav-menu .menu-item-has-children > a::after {
    content: "▼";
    font-size: 8px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.traditional-nav .nav-menu li.has-dropdown:hover > a::after,
.traditional-nav .nav-menu .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}
*/

.traditional-page-title {
    text-align: center;
    padding: 0 20px 00px 20px; /* Removes top padding, keeps sides and bottom */
    background-color: #fff;
}

.traditional-page-title h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 4.5rem;
    font-weight: 100;
    color: #000;
    text-transform: uppercase;
    margin: 0;
}

/* Hide hamburger menu on desktop with traditional nav 
@media (min-width: 769px) {
    body:not(.page-template-template-home-dynamic) .hamburger-menu {
        display: none;
    }
}
*/

/* Responsive Adjustments */
@media screen and (max-width: 900px) {
    .traditional-nav {
        display: none;
    }
    
    .traditional-page-title {
        padding: 20px;
    }
    
    .traditional-page-title h1 {
        font-size: 2.5rem;
    }
}

/* Hamburger Menu Styles */
.hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 70px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    z-index: 4003;
}

.hamburger-menu .bar {
    width: 70px;
    height: 2px;
    background-color: #dba725;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

.hamburger-menu:hover .bar {
    transform: scale(1.2);
}

@media screen and (max-width: 768px) {
    .hamburger-menu {
        width: 40px; /* Smaller on mobile */
        right: 5px; /* Closer to edge but not over */
    }
    
    .hamburger-menu .bar {
        width: 40px; /* Match container width */
    }
}


/* Button Container Styles */
.button-container {
    display: flex;
    align-items: center;
    width: auto !important;
    left: 20px !important;
    right: auto !important;
    justify-content: flex-start !important;
    position: fixed;
    bottom: 20px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 2000;
}

/* Button Base Styles */
.home-appt-button,
.services-button,
.products-button,
.team-button {
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, transform 0.3s ease-in-out;
    width: 300px;
    min-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    /*
    transform: translateY(-5px);
	*/
}

/* Button Hover Styles */
.home-appt-button:hover,
.services-button:hover,
.products-button:hover,
.team-button:hover {
    background-color: #fff;
    color: #000;
    border-color: #000;
    transform: translateY(-5px);
}

/* Animation for zooming in (appearing) */
@keyframes team-zoom-in {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation for zooming out (disappearing) */
@keyframes team-zoom-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Apply animations to team members */
.team-member.team-fade-in {
    animation: team-zoom-in 0.5s ease forwards;
}

.team-member.team-fade-out {
    animation: team-zoom-out 0.5s ease forwards;
    pointer-events: none; /* Ensure non-interaction while fading out */
}


/* Animation to reveal buttons after 5s */
@keyframes revealButtons {
    to {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.home-appt-button,
.services-button,
.products-button,
.team-button {
    animation: revealButtons 1s ease-in-out forwards;
    animation-delay: 5s;
}

/* Mobile Styles */
@media screen and (max-width: 900px) {
    .services-button,
    .products-button,
    .team-button {
        display: none;
    }

    .home-appt-button {
        width: 100%;
    }

    .button-container {
        justify-content: center;
    }
}

/* Global Button Styles */
.global-button {
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, transform 0.3s ease-in-out;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    min-width: 200px; /* ADD THIS LINE */
}

/* Global Button Hover Styles */
.global-button:hover {
    background-color: #fff;
    color: #000;
    border-color: #000;
	/*
    transform: translateY(-5px);
	*/
}

/* Mobile Styles for Global Button */
@media screen and (max-width: 900px) {
    .global-button {
        width: 90%; /* Set width to 40% for smaller screens */
        margin: 0 auto; /* Center the button */
        display: block; /* Ensure the button is treated as a block-level element */
    }
}


/* Overlay Menu Styles */
.overlay-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* 90% opacity white background */
    backdrop-filter: blur(10px); /* Adjust the blur radius as needed */
    -webkit-backdrop-filter: blur(10px); /* Add the blur for WebKit browsers */
    z-index: 4002;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
}

.overlay-menu.show {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.overlay-menu .menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 1;
    text-align: center;
    font-size: 1.7em;
    font-weight: 300;
	text-transform: uppercase;
}

/* Overlay menu items fade in up */
.overlay-menu.show .menu-items li {
    margin: 20px 0;
    transform: translateY(50px);
    opacity: 0;
    animation: overlayMenuFadeInUp 0.5s forwards;
    animation-delay: calc(0.1s * var(--i)); /* Delay for sequential fade in */
}

/* Overlay menu items fade out down */
.overlay-menu.hide .menu-items li {
    animation: overlayMenuFadeOutDown 0.5s forwards;
    transform: translateY(0);
    opacity: 1;
}

/* Hover state for menu items */
.overlay-menu .menu-items li a {
    color: #dba725;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.overlay-menu .menu-items li a:hover {
    color: #000;
}

/* Sub-menu styling - same as main items */
.overlay-menu .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1em; /* Same size as parent */
    text-transform: uppercase; /* Same as parent */
}

/* Sub-menu items - same styling as main items */
.overlay-menu .sub-menu li {
    margin: 20px 0; /* Same margin as parent items */
}

/* Sub-menu links - same styling as main items */
.overlay-menu .sub-menu li a {
    color: #dba725; /* Same gold as parent */
    font-weight: 300; /* Same weight as parent */
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.overlay-menu .sub-menu li a:hover {
    color: #000; /* Same hover as parent */
}


/* Keyframes for animations */
@keyframes overlayMenuFadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes overlayMenuFadeOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(50px);
        opacity: 0;
    }
}


.overlay-menu.hide .menu-items li {
    animation: fadeOutRight 0.2s forwards;
}

/* Close Overlay Icon */
.close-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    border: none;
    color: #000;
    cursor: pointer;
    z-index: 4003;
    font-size: 1.5em;
}

/* Location Modal Styles */
.location-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
	  backdrop-filter: blur(10px); /* Adjust the blur radius as needed */
    -webkit-backdrop-filter: blur(10px); /* Add the blur for WebKit browsers */
    z-index: 5001;
    display: none;
    justify-content: center;
    align-items: center;
}

.location-modal.show {
    display: flex;
}

/* Modal Content Styles */
.location-modal-content {
    background-color: #000;
    padding: 50px;
    border-radius: 8px;
    border: 1px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

/* CTA Styles */
.cta-container h3 {
    font-family: "Lato", sans-serif;
    font-size: 1.8em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cta-container p {
    font-family: "Lato", sans-serif;
    font-size: 1.2em;
    font-weight: 100;
    color: #fff;
}

/* Location Button Styles */
.location-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.location-button {
    background-color: transparent;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
    text-transform: uppercase;
    border: 1px solid #fff;
    padding: 10px 20px;
    margin-bottom: 30px;
    cursor: pointer;
    width: 250px;
	min-width: 200px;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.location-button:hover {
    color: #000;
    background-color: #fff;
}

/* Close Button (X with Circle) */
.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    color: #dba725;
    cursor: pointer;
    z-index: 5000;
    font-size: 1.5em;
}

/* Animation */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-modal.show .location-modal-content {
    animation: fadeSlideUp 0.8s ease;
}


/* Site Logo Styles (to replace site-header styles) */
.site-logo {
    position: fixed;
    left: 0;
    top: -100px; /* Start off-screen */
    padding-left: 20px; /* Add padding if you want some spacing from the edge */
    transition: top 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
}

.site-logo.show {
    top: 0; /* Reveal the logo */
    opacity: 1;
    visibility: visible;
}

.site-logo.hide {
    top: -100px; /* Move off-screen */
    opacity: 0;
    visibility: hidden; /* Hide the logo after the transition */
}

/* Site Logo Image Styles */
.site-logo img {
    max-width: 250px; /* Adjust this size as needed */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Block-level ensures the image fills its container */
}



/* Updated styling for the 'Make an Appointment' Button on all pages except template-home */
.site-appointment-button {
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 20px;
    text-transform: uppercase;
    text-decoration: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 2000;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, width 0.3s ease;
    border-radius: 4px;
    width: 300px;
    min-width: 250px; /* ADD THIS LINE */
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    text-align: center !important;
}

.site-appointment-button:hover {
    background-color: #fff;
    color: #000;
    border-color: #000;
}

/* Animation to reveal button after 5s */
@keyframes fadeInButton {
    to {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.site-appointment-button {
    animation: fadeInButton 0.5s ease-in-out forwards;
    animation-delay: 5s;
}

/* Mobile Styles */
@media screen and (max-width: 900px) {
    .site-appointment-button {
        width: auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin: 0;
        border-radius: 0px;
        bottom: 0px;
    }
}

/* Footer Animation Styles */
@keyframes fadeInUpFooter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDownFooter {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Ensure elements are hidden initially */
.footer-target {
    opacity: 0;
    transform: translateY(20px);
}

.footer-visible {
    animation: fadeInUpFooter 1s forwards;
}

.footer-hidden {
    animation: fadeOutDownFooter 1s forwards;
}

.site-footer {
    background: #f0f0f0;
    color: #333;
    padding: 0;
    text-align: center;
    font-family: "Lato", sans-serif;
}

.footer-top {
    background: #000;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-logo {
    max-width: 350px;
    margin-bottom: 10px;
}

.contact-us {
    font-size: 1.5em;
    font-weight: 300;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
}

.contact-us a {
    color: #daa725;
    text-decoration: none;
}

.contact-us a:hover {
    color: #fff;
    text-decoration: none;
}

/* Footer middle - now only 2 columns for locations */
.footer-middle {
    background: #fff;
    color: #000;
    display: flex;
    justify-content: center; /* Center the two columns */
    gap: 200px; /* Space between the two location columns */
    padding: 40px 20px;
    font-family: "Lato", sans-serif;
}

.footer-middle .footer-column {
    width: auto; /* Let columns size themselves */
    text-align: center; /* Center text within each column */
}

.footer-column h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #000; /* Changed from #fff to #000 for white background */
    font-weight: 500;
}

.footer-column p {
    margin: 0;
}

.footer-column a {
    text-decoration: none;
}

.footer-column a[href*="fuelsalonspahr@gmail.com"] {
    color: #daa725;
}

.footer-column a[href*="fuelsalonspahr@gmail.com"]:hover {
    color: #555;
}

.footer-column a[href*="fuelsalonspa@gmail.com"] {
    color: #daa725;
}

.footer-column a[href*="fuelsalonspa@gmail.com"]:hover {
    color: #555;
}

/* Remove individual social icons from columns since they're now centralized */
.footer-middle .social-icons {
    display: none;
}

/* New footer social section - centered social icons */
.footer-social {
    background: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-social .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Space between social icons */
    width: auto;
    margin: 0;
}

/* Social Icons */
/* Add this to your style.css file */

/* Custom tooltip styling for social icons */
.social-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    fill: #000;
    transition: width 0.1s, fill 0.1s, transform 0.2s ease;
    position: relative; /* Required for tooltip positioning */
}

.social-icon:hover {
    fill: #daa725;
    width: 22px;
    transform: translateY(-2px);
}

/* Custom tooltip */
.social-icon::before {
    content: attr(title); /* Use the title attribute content */
    position: absolute;
    bottom: 130%; /* Position above the icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-family: "Montserrat", sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    pointer-events: none; /* Prevent tooltip from interfering with hover */
}

/* Show tooltip on hover */
.social-icon:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Optional: Add a small arrow pointing down to the icon */
.social-icon::after {
    content: '';
    position: absolute;
    bottom: 120%; /* Position the arrow */
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #000; /* Arrow color matches tooltip */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

/* Show arrow on hover */
.social-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Footer bottom - now includes hours */
.footer-bottom {
    background: #000;
    padding: 40px 20px 20px 20px;
    font-family: "Montserrat", sans-serif;
    color: #daa725;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 100;
    text-align: center;
}

/* Hours section styling */
.footer-hours { margin-bottom: 20px; } /* tightened a touch */
.footer-hours h3 {
  color: #daa725;
  font-size: 1.2em;
  margin-bottom: 10px; /* was 15px */
  text-transform: uppercase;
  font-weight: 500;
}
.footer-hours p {
  color: #fff;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
  text-transform: none;
}
/* rows */
.footer-hours .hours-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .45rem .6rem;
  margin: .15rem 0;
}
/* day, time, separators */
.footer-hours .hours-day {
  font-weight: 600;
  min-width: 2.6ch; /* aligns the day column */
  text-align: right;
}
.footer-hours .hours-day--spacer { visibility: hidden; } /* reserves width for 2nd Sat line */
.footer-hours .hours-time { opacity: .9; white-space: nowrap; }
.footer-hours .hours-sep { opacity: .6; }

.footer-hours .loc-pill {
  display: inline-block;
  padding: .12rem .12rem; /* even top/bottom as requested */
  font-size: .8em;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.footer-hours .loc-pill--alt { background: #3a3a3a; }
/* tighten Sat pair so it reads as one group */
.footer-hours .hours-row--sat { margin-top: .05rem; margin-bottom: .05rem; }
.footer-hours .hours-row--sat + .hours-row--sat-cont { margin-top: -4px; } /* pull together slightly */

/* Mobile layout */
@media (max-width: 480px) {
  .footer-hours .hours-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the entire row */
    align-items: center;
    gap: .4rem;
    margin: .25rem 0;
  }
}

.footer-navigation {
    margin-bottom: 10px;
    display: none;
}

.footer-navigation ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-navigation ul li {
    margin: 0 10px;
    position: relative;
}

.footer-navigation ul li:before {
    content: "|";
    color: #f9a86f;
    position: absolute;
    left: -10px;
}

.footer-navigation ul li:first-child:before {
    display: none;
}

.footer-navigation ul li a {
    color: #daa725;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 100;
}

.footer-navigation ul li a:hover {
    color: #fff;
}

.footer-navigation ul li ul {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-navigation ul li:hover ul {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-middle {
        flex-direction: column;
        gap: 30px; /* Smaller gap for mobile - stacked anyway */
        align-items: center;
    }
    
    .footer-social .social-icons {
        gap: 20px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .footer-middle {
        gap: 100px; /* Medium gap for tablets */
    }
}

/* Mobile Styles */
@media screen and (max-width: 900px) {
    .footer-bottom {
        margin-bottom: 30px;
    }
}

.divider {
    text-align: center;
    margin: 40px 0;
}

.divider img {
    width: 30px;
    height: auto;
}

/* FADE IN ELEMENT */
.fade-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

/* Sticky Element Adjustments */
.sticky-element {
    position: sticky;
    top: 150px;
    z-index: 1000;
    transition: top 0.3s ease, opacity 0.3s ease;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.fade-out-up {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}


/* =================================
   PARALLAX BACKGROUND SYSTEM
   ================================= */

/* Base parallax section styling - FULL WIDTH for background */
.kaizen-section.parallax-bg {
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh; /* Full viewport height for dramatic effect */
    max-width: none !important; /* Remove any width constraints */
    margin: 0; /* Remove auto centering margin */
    padding: 0; /* Remove any padding */
    width: 100%; /* Ensure full width */
}

/* Parallax overlay for content readability */
.kaizen-section.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2); /* 50% black overlay */
    z-index: 1;
}

/* White overlay variant for dark images */
.kaizen-section.parallax-bg.light-overlay::before {
    background: rgba(255, 255, 255, 0.3); /* Light overlay for dark text on bright images */
}

/* Container within parallax section - LIMITED WIDTH for content */
.kaizen-section.parallax-bg .kaizen-group {
    max-width: 1500px; /* Limit the grid container to 1500px */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Add side padding */
    position: relative;
    z-index: 2; /* Above overlay */
}

/* Content columns within the container */
.kaizen-section.parallax-bg .kaizen-col {
    position: relative;
    z-index: 2;
    /* Keep existing kaizen-col styling from kaizen-grid.css */
}

/* Specific section parallax backgrounds */
.services-parallax {
    background-image: url('images/home-background-services_1920.webp');
}

.products-parallax {
    background-image: url('images/home-background-products_1920.webp');
}

.team-parallax {
    background-image: url('images/team-background.jpg');
}

.about-parallax {
    background-image: url('images/about-background.jpg');
}

.contact-parallax {
    background-image: url('images/contact-background.jpg');
}

.gallery-parallax {
    background-image: url('images/gallery-background.jpg');
}

/* Alternative parallax method for better performance */
.kaizen-section.parallax-transform {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    max-width: none !important;
    margin: 0;
    padding: 0;
    width: 100%;
}

.parallax-transform::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 0;
    right: 0;
    bottom: -20%;
    background-attachment: scroll;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateZ(0); /* Force hardware acceleration */
    will-change: transform;
    z-index: 0;
}

/* Overlay for transform method */
.parallax-transform::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* 50% black overlay */
    z-index: 1;
}

/* Container within transform parallax section */
.kaizen-section.parallax-transform .kaizen-group {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Content above overlay for transform method */
.parallax-transform .kaizen-col {
    position: relative;
    z-index: 2;
}

/* COMPREHENSIVE MOBILE PARALLAX FIXES */
@media (max-width: 900px) {
    .kaizen-section.parallax-bg {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        min-height: 100vh;
        margin: 0;
        padding: 0;
        /*
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);*/
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        /* Disable any transform effects that might interfere */
        transform: none !important;
        will-change: auto !important;
    }
    
    .parallax-transform::before {
        top: 0;
        bottom: 0;
        transform: none;
    }
    
    .kaizen-section.parallax-bg::before,
    .parallax-transform::after {
        background: rgba(0, 0, 0, 0.7); /* Stronger overlay on mobile for readability */
    }
    
    /* Content container with proper centering */
    .kaizen-section.parallax-bg .kaizen-group,
    .kaizen-section.parallax-transform .kaizen-group {
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        text-align: center;
    }
    
    /* Stack columns vertically on mobile */
    .kaizen-section.parallax-bg .kaizen-grid-2,
    .kaizen-section.parallax-transform .kaizen-grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* iOS DEVICES (iPhone, iPad) */
@supports (-webkit-touch-callout: none) {
    .kaizen-section.parallax-bg {
        background-attachment: scroll !important;
        -webkit-transform: translate3d(0,0,0) !important;
        transform: translate3d(0,0,0) !important;
    }
}

/* ANDROID DEVICES */
@media screen and (-webkit-min-device-pixel-ratio: 1) and (max-width: 900px) {
    .kaizen-section.parallax-bg {
        background-attachment: scroll !important;
        backface-visibility: hidden !important;
        -webkit-backface-visibility: hidden !important;
    }
}

/* WEBKIT BROWSERS (Safari, Chrome on mobile) */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 900px) {
    .kaizen-section.parallax-bg {
        background-attachment: scroll !important;
        -webkit-background-size: cover !important;
        -webkit-transform: translateZ(0) !important;
    }
}

/* SAMSUNG INTERNET & OTHER MOBILE BROWSERS */
@media screen and (max-width: 900px) and (orientation: portrait),
       screen and (max-width: 900px) and (orientation: landscape) {
    .kaizen-section.parallax-bg {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
        /* Force GPU acceleration */
        will-change: transform !important;
        transform: translateZ(0) !important;
    }
}

/* MOBILE VIEWPORT FIXES */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .kaizen-section.parallax-bg {
        width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: none !important;
    }
    
    .kaizen-section.parallax-bg .kaizen-group {
        width: 100% !important;
        padding: 40px 15px !important;
        margin: 0 !important;
    }
    
    .parallax-bg h1, .parallax-bg h2, .parallax-bg h3 {
        font-size: 2em !important;
        text-align: center !important;
    }
    
    .parallax-bg p {
        font-size: 1em !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
}

/* Standard iPads */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .kaizen-section.parallax-bg {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
    }
}

/* iPad Pro 11" */
@media screen and (min-width: 834px) and (max-width: 1194px) {
    .kaizen-section.parallax-bg {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
    }
}

@media (max-width: 600px) {
    .kaizen-section.parallax-bg .kaizen-group,
    .kaizen-section.parallax-transform .kaizen-group {
        padding: 0px;
        width: 100%;
    }
}

/* Text styling for parallax sections */
.parallax-bg h1, .parallax-bg h2, .parallax-bg h3,
.parallax-transform h1, .parallax-transform h2, .parallax-transform h3 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-size: 3em;
}

.parallax-bg p, .parallax-transform p {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Parallax Button Styles - Transparent with heavier font */
.parallax-button {
    font-family: "Montserrat", sans-serif;
    font-weight: 600; /* Heavier than the usual 100 */
    background-color: transparent; /* Transparent background */
    color: #fff;
    border: 2px solid #fff;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 0px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, transform 0.3s ease-in-out;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    min-width: 250px;
}

/* Parallax Button Hover Styles */
.parallax-button:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
  /*
    transform: translateY(-5px);
	*/
}

/* Mobile Styles for Parallax Button */
@media screen and (max-width: 900px) {
    .parallax-button {
        width: 40%;
        margin: 0 auto;
        display: block;
    }
}

/* =================================
   TEAM PAGE STYLES
   ================================= */

/* Container for both location filter and team filter - maintains consistent height */
.filter-container {
    max-width: 1500px;
    width: 90%;
    margin: 40px auto; 
    min-height: 80px;
    position: relative;
}

/* Initial Location Filter - positioned to align with future category filters */
.location-filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.location-filter.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.location-filter ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    height: 60px;
}

.location-filter ul li {
    display: inline-block;
}

.location-filter ul li a {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: .7em;
    letter-spacing: 1px;
}

.location-filter ul li a:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-3px);
}

/* Team Filter Section - positioned to overlay location filter */
.team-filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-filter.visible {
    opacity: 1;
    visibility: visible;
}

/* Location Title Above Everything */
.current-location {
    font-family: "Montserrat", sans-serif;
    font-size: 1.8em;
    font-weight: 300;
    color: #dba725;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    text-align: left;
    letter-spacing: 2px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Filter Row Container */
.filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 50px;
    margin-bottom: 15px;
}

/* Category Filters - Left Side */
.category-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: flex-start;
    flex: 1;
    height: 100%;
    align-items: center;
    overflow: hidden; /* Prevent overflow on tablet */
}

.category-filters a {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    border-right: none;
    text-transform: uppercase;
    padding: 12px 20px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 0.6em;
    letter-spacing: 0.5px;
    position: relative;
    white-space: nowrap;
    flex-shrink: 1; /* Allow shrinking on smaller screens */
    min-width: 0; /* Allow items to get smaller */
}

.category-filters a:last-child {
    border-right: 1px solid #000;
}

.category-filters a:first-child {
    border-radius: 4px 0 0 4px;
}

.category-filters a:last-child {
    border-radius: 0 4px 4px 0;
}

.category-filters a.active, 
.category-filters a:hover {
    background-color: #000;
    color: #fff;
    z-index: 2;
    border-color: #000;
}

/* Location Switcher - Right Side */
.location-switcher {
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
}

.location-switcher a {
    font-family: 'Lato', sans-serif;
    font-size: 0.6em;
    color: #fff;
    background-color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #000;
    padding: 12px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.location-switcher a:hover {
    color: #000;
    background-color: #fff;
    border-color: #000;
    transform: translateY(-2px);
}

/* Animation Classes for Location Transitions */
.filter-content.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.filter-content.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.location-title-transition {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.location-title-transition.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

/* Team Gallery Grid */
.team-gallery {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    width: 90% !important;
    max-width: 1500px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 100px !important;
}

/* Team Member Animations */
@keyframes team-fade-in {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes team-fade-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

.team-member.team-fade-in {
    animation: team-fade-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.team-member.team-fade-out {
    animation: team-fade-out 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Team Member Card */
.team-member {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;
    aspect-ratio: 1;
    display: block;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 10px;
    text-decoration: none;
    margin: 0 !important;
    padding: 0 !important;
    grid-row: auto !important;
    grid-column: auto !important;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.4);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.team-member:hover::before {
    opacity: 1;
}

/* Read More Button */
.read-more-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    pointer-events: none;
}

.team-member:hover .read-more-btn {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) translateY(0);
}

.read-more-btn:hover {
    background-color: #fff;
    color: #000;
}

/* Team Member Info */
.team-member-info {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 0px;
    text-align: left;
    width: 80%;
    z-index: 2;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover .team-member-info {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}

.team-member-info h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 5px;
    color: #dba727;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: capitalize;
}

.owner-tag {
    font-style: normal;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-transform: capitalize;
}

.team-member-info .categories {
    font-size: 14px;
    color: #ccc;
}

.team-member-info p {
    font-size: 12px;
    color: #ddd;
    margin: 5px 0 0;
}

.team-member-info a {
    color: #dba727;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.team-member-info a:hover {
    color: #fff;
}

/* Show More Button */
.show-more {
    display: none;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #dba727;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.show-more:hover {
    background-color: #dba727;
}

/* Team Page Responsive Design - CARDS MAINTAIN SIZE, ONLY COLUMNS CHANGE */
@media (max-width: 1200px) {
    .team-gallery {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Tablet/Large Mobile - Stack filters earlier to prevent overflow */
@media (max-width: 900px) {
    .filter-container {
        min-height: 140px; /* Increased height for tablet */
        margin: 20px auto 40px auto; /* More bottom margin for tablet */
        width: 95%;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        height: auto;
        margin-bottom: 30px; /* Extra space for view button on tablet */
    }
    
    .category-filters {
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
        overflow: visible;
    }
    
    .category-filters a {
        font-size: 0.5em;
        padding: 8px 12px;
        border-right: 1px solid #000;
        border-radius: 4px;
        margin: 2px;
        flex-shrink: 0;
    }
    
    .current-location {
        text-align: center;
        font-size: 1.5em;
        margin: 0 0 15px 0;
    }
    
    .location-switcher {
        text-align: center;
        width: 100%;
        justify-content: center;
        margin-bottom: 25px; /* More space for locations with many categories */
    }
    
    .location-switcher a {
        width: 80%;
        max-width: 300px;
        display: block;
        text-align: center;
        font-size: 0.5em;
        padding: 10px 15px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .team-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        margin: 15px auto 50px auto;
    }
    
    .filter-container {
        min-height: 140px; /* Extra height for mobile */
        margin: 20px auto 35px auto; /* More bottom margin */
        width: 95%;
    }
    
    /* Mobile inherits the stacked layout from 900px breakpoint above */
    .filter-row {
        margin-bottom: 30px; /* Even more space on mobile */
    }
    
    .location-switcher {
        margin-bottom: 25px; /* Extra space for Centennial with more categories */
    }
    
    .location-filter ul {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }
    
    .location-filter ul li {
        width: 100%;
        margin: 5px 0;
    }
    
    .location-filter ul li a {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .team-gallery {
        grid-template-columns: 1fr !important;
        margin: 10px auto 50px auto;
    }
    
    .filter-container {
        min-height: 160px; /* Even more height for small mobile */
        margin: 15px auto 40px auto; /* Extra bottom margin */
    }
    
    .show-more {
        display: block;
    }
    
    .current-location {
        font-size: 1.2em;
        margin: 0 0 12px 0;
    }
    
    .category-filters a {
        font-size: 0.45em;
        padding: 6px 10px;
    }
    
    .location-switcher {
        margin-bottom: 30px; /* Extra margin for very small screens */
    }
    
    .filter-row {
        margin-bottom: 35px; /* Maximum space for smallest screens */
    }
}
/* =================================
   VIDEO TITLE SECTION STYLES
   ================================= */

/* Video Title Section - video as background of traditional-page-title */
.traditional-page-title.video-title-section {
    position: relative;
    text-align: center;
    background-color: #000; /* Fallback background */
    overflow: hidden;

    /* Full width breakout */
    width: auto;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 30px 20px;
    z-index: 1;
}

/* Updated Video background iframe for traditional page title section */
.traditional-page-title.video-title-section > iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
    pointer-events: none;
    border: 0;
}

/* Video overlay */
.traditional-page-title.video-title-section .page-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Title content over video */
.traditional-page-title.video-title-section .video-title-content {
    position: relative;
    z-index: 3;
}

.traditional-page-title.video-title-section .video-title-content h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 4.5rem;
    font-weight: 100;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Mobile responsive */
@media screen and (max-width: 900px) {
    .traditional-page-title.video-title-section {
        padding: 40px 20px;
    }
    
    .traditional-page-title.video-title-section .video-title-content h1 {
        font-size: 2.5rem;
    }
    
    .traditional-page-title.video-title-section .page-video-overlay {
        background-color: rgba(0, 0, 0, 0.7);
    }
}


/* =================================
   SERVICES PAGE STYLES
   ================================= */
/*Home Page Service Type*/
.service-type {
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0px;
    margin-bottom: 0px;
}

/* Laptop/Small Desktop (1024px - 1366px) */
@media (max-width: 1366px) and (min-width: 1025px) {
    .service-type {
        font-size: 1.8rem;
        letter-spacing: 0.08em;
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .service-type {
        font-size: 1.6rem;
        letter-spacing: 0.06em;
    }
}

/* Small Tablet/Large Mobile (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .service-type {
        font-size: 1.4rem;
        letter-spacing: 0.05em;
    }
}

/* Mobile (up to 480px) */
@media (max-width: 480px) {
    .service-type {
        font-size: 1.2rem;
        letter-spacing: 0.04em;
    }
}

/* SERVICES HERO SECTION */
.services-hero {
    position: relative;
    height: 70vh;
    display: flex;
    overflow: hidden;
}

.hero-column {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.hero-column.salon { 
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/services-salon_portrait_800.webp'); 
}

.hero-column.spa { 
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/services-spa_portrait_2_800.webp'); 
}

.hero-column.nail { 
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/services-nail_portrait_800.webp'); 
}

.hero-column.active {
    flex: 2;
}

.hero-column.inactive {
    flex: 0.5;
}

.hero-column::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

/* Example for salon */
.hero-column.salon.active::after {
    background-image: url('images/services-background-salon_1920.webp');
    opacity: 1;
}

/* Example for spa */
.hero-column.spa.active::after {
    background-image: url('images/services-background-spa_1920.webp');
    opacity: 1;
}

/* Example for nail */
.hero-column.nail.active::after {
    background-image: url('images/services-background-nail_1920.webp');
    opacity: 1;
}

.hero-column:not(.active) .service-marketing-text {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Fast fade out, no delay */
}

.hero-column.active .service-marketing-text {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease 0.8s, visibility 0.5s ease 0.8s; /* Delayed fade in */
}

/* Darker overlay for ALL active columns */
.hero-column.active .hero-overlay {
    background: rgba(0, 0, 0, 0.7) !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
     z-index: 2;
}

.hero-column:hover .hero-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
   z-index: 3;
}

.hero-content h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    /*
    font-size: 2.5rem;
    */
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    opacity: 0.9;
    color: #fff;
    background-color: rgba(218, 167, 37, 0.5);
    padding: 10px 20px;
    border-radius: 0px;
    border: 1px solid #fff;
}

.hero-main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    max-width: 800px;
    transition: opacity 0.8s ease;
}

.hero-main-content.fade-out {
    opacity: 0;
    pointer-events: none;
}



.marketing-copy .hero-cta {
    display: block;
    margin-top: 12px;
}

.marketing-copy .services-hero-cta-text {
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marketing-copy .cta-arrow {
    font-size: 1.8rem;
    display: block;
    color: #fff;
    animation: bounce 2s infinite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-top: 5px;
}

.marketing-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(218, 167, 37, 0.7);
    color: #fff;
    padding: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 1em;
    font-weight: 300;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #fff;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.4s ease;
}

.marketing-overlay.show {
    opacity: 1;
    pointer-events: auto;
}


.hero-column.active .marketing-overlay {
    opacity: 1;
    pointer-events: auto;
}

.hero-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
    color: white;
}

.hero-button {
    display: inline-block;
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background: white;
    color: #000;
}

/* HERO CALL TO ACTION */
.hero-cta {
    margin-top: 30px;
    opacity: 0;
    animation: fadeInCTA 1s ease-in-out forwards;
    animation-delay: 1s;
}

.services-hero-cta-text {
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-shadow: 0px rgba(0,0,0,0.7);
}

.cta-arrow {
    font-size: 2rem;
    color: #daa725;
    animation: bounce 2s infinite;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    display:none;
}

/* Animations */
@keyframes fadeInCTA {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* SERVICE MARKETING TEXT*/
.service-marketing-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent !important;
    padding: 30px;
    border-radius: 0;
    border: none !important;
    text-align: center;
    z-index: 4;
    max-width: 50%;
    width: 80%;
    transition: opacity 0.5s ease 0.8s, visibility 0.5s ease 0.8s; /* Add 0.8s delay */
}

.service-marketing-text.show {
    opacity: 1;
    visibility: visible;
}

.service-marketing-text .marketing-copy {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5 rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

.service-marketing-text .hero-cta {
    display: block;
    margin-top: 15px;
}

.service-marketing-text .services-hero-cta-text {
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.service-marketing-text .cta-arrow {
    font-size: 1.8rem;
    color: #fff;
    animation: bounce 2s infinite;
    margin-top: 5px;
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-marketing-text {
        position: static;
        padding: 20px;
        text-align: center;
        max-width: 100%;
    }

    .service-marketing-text .marketing-copy {
        font-size: 0.95rem;
    }
}

/* SERVICE TABS */
.service-tabs {
    display: flex;
    justify-content: center;
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.service-tab {
    background: transparent;
    border: none;
    padding: 20px 40px;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    color: #666;
}

.service-tab.active,
.service-tab:hover {
    color: #000;
    border-bottom-color: #daa725;
}


/* CONTENT SECTIONS - SIMPLE FIX */
.services-content {
    background: white;
}

.service-section {
    transition: opacity 0.3s ease;
}

.service-section:not(.active) {
    display: none;
}

.service-intro {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    gap: 60px;
}

.intro-text {
    flex: 1;
}

.intro-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #333;
}

.service-location {
    font-style: italic;
    color: #666 !important;
    font-size: 1rem !important;
}

.service-cta-button {
    display: inline-block;
    background: #000;
    color: white;
    border: 1px solid #000;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.service-cta-button:hover {
    background: white;
    color: #000;
    border-color: #000;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.service-details {
    background: #f8f8f8;
    padding: 60px 40px;
}

.service-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-category h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #000;
    border-bottom: 2px solid #daa725;
    padding-bottom: 10px;
}

.service-category h5 {
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
    color: #333;
}

.service-category ul {
    list-style: none;
    padding: 0;
}

.service-category li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #333;
}

.service-category li:last-child {
    border-bottom: none;
}

/* FLOATING SERVICE NAV UPDATES */
.floating-service-nav {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 25px;
    padding: 10px;
    display: flex;
    gap: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-service-nav.visible {
    opacity: 1;
    visibility: visible;
}

.service-nav-btn {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.service-nav-btn:hover,
.service-nav-btn.active {
    background: #daa725;
    color: white;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
    .services-hero {
        height: 60vh;
        background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/home-background-services_1920.webp');
        background-size: cover;
        background-position: center;
        display: block;
    }
    
    .hero-column {
        display: none;
    }
    
    .hero-main-content {
        position: static;
        transform: none;
        padding: 40px 20px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-tabs {
        flex-direction: column;
    }
    
    .service-tab {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        border-left: 3px solid transparent;
    }
    
    .service-tab.active,
    .service-tab:hover {
       background-color: #daa725 !important;
        color: #000 !important;
        border-left-color: #000 !important;
    }
    
    .service-intro {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
        text-align: center;
    }
    
    .intro-text h3 {
        font-size: 2rem;
    }
    
    .service-details {
        padding: 40px 20px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .floating-service-nav {
        bottom: 20px;
        right: 20px;
        flex-direction: column;
    }
}

/* =================================
   SINGLE TEAM MEMBER STYLES
   ================================= */

/* Hide the header H1 title for team member pages */
body.single-team_member .traditional-page-title {
    display: none;
}

/* =================================
   BASE STYLES (Mobile First)
   ================================= */
.single-team-container {
    max-width: 1500px;
    margin: 40px auto 30px;
    padding: 0 15px;
}

.single-team-header {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    text-align: center;
}

/* Image Styles */
.single-team-image {
    width: 90%;
    max-width: 400px;
    flex-shrink: 0;
    position: relative;
}

.single-team-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-owner-flag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 0px;
    border:1px solid #fff;
}

/* Info Section */
.single-team-info {
    flex: 1;
    width: 100%;
}

.single-team-title h1 {
    margin: 0 0 15px 0;
    font-size: 1.8em;
    font-weight: 200;
    color: #000;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
}

.single-team-meta {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.95em;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.single-location-highlight {
    color: #daa725;
}

.single-team-meta.multiple-locations {
    font-size: 0.9em;
}

.single-team-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
    font-weight: 300;
    text-align: left;
}

.single-back-button {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-weight: 100;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    text-transform: uppercase;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.single-back-button:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* =================================
   TABLET STYLES (768px - 1199px)
   ================================= */
@media (min-width: 768px) and (max-width: 1199px) {
    .single-team-container {
        margin: 60px auto 40px;
        padding: 0 30px;
    }
    
    .single-team-header {
        gap: 40px;
    }
    
    .single-team-image {
        width: 70%;
        max-width: 450px;
    }
    
    .single-owner-flag {
        bottom: 18px;
        right: 18px;
        font-size: 0.85em;
        padding: 7px 14px;
    }
    
    .single-team-title h1 {
        font-size: 2.2em;
        margin-bottom: 18px;
    }
    
    .single-team-meta {
        font-size: 1em;
        margin-bottom: 28px;
    }
    
    .single-team-content {
        font-size: 17px;
        margin-bottom: 35px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .single-back-button {
        padding: 11px 22px;
        font-size: 0.95em;
    }
}

/* =================================
   DESKTOP/LAPTOP STYLES (1200px+)
   ================================= */
@media (min-width: 1200px) {
    .single-team-container {
        margin: 80px auto 50px;
        padding: 0 40px;
    }
    
    .single-team-header {
        flex-direction: row;
        gap: 60px;
        align-items: flex-start;
        text-align: left;
    }
    
    .single-team-image {
        width: 500px;
        max-width: none;
    }
    
    .single-owner-flag {
        bottom: 20px;
        right: 20px;
        font-size: 0.9em;
        padding: 8px 15px;
    }
    
    .single-team-info {
        text-align: left;
    }
    
    .single-team-title h1 {
        font-size: 2.5em;
        margin-bottom: 20px;
    }
    
    .single-team-meta {
        font-size: 1.1em;
        margin-bottom: 30px;
        text-align: left;
    }
    
    .single-team-content {
        font-size: 18px;
        margin-bottom: 40px;
        text-align: left;
    }
    
    .single-back-button {
        padding: 12px 24px;
        margin: 0;
    }
}

/* =================================
   LARGE DESKTOP OPTIMIZATION (1400px+)
   ================================= */
@media (min-width: 1400px) {
    .single-team-container {
        padding: 0 60px;
    }
    
    .single-team-header {
        gap: 80px;
    }
    
    .single-team-image {
        width: 550px;
    }
    
    .single-team-title h1 {
        font-size: 2.8em;
    }
    
    .single-team-content {
        font-size: 19px;
    }
}

/* =================================
   PRODUCTS PAGE STYLES
   ================================= */

/* Products intro section */
.products-intro-section {
    margin: 100px 0 90px 0;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Products intro text */
.products-intro-text {
    font-size: 1em;
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px;
    line-height: 1.6;
    margin: auto;
    font-weight: 300;
    color: #555;
}

/* Featured Brands title */
.featured-brands-title {
    font-size: 3.5rem;
    font-weight: 100;
    margin-bottom: 40px;
}

/* Products parallax background */
.products-parallax {
    background-image: url('images/home-background-products_1920.webp');
}
@media (max-width: 900px) {
    .products-parallax {
        width: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
    }
}

/* Request Product Button - Static below store buttons on all devices */
.request-product-button {
    text-align: center;
    margin: 20px 0;
}
.request-product-button .global-button {
    background-color: #000;
    border-color: #fff;
    color: #fff;
    font-size: 0.8em;
    padding: 8px 15px;
    min-width: auto;
    white-space: nowrap;
}
.request-product-button .global-button:hover {
    background-color: #fff;
    color: #000;
    border-color: #000;
}

/* Mobile version for Request Product Button */
@media screen and (max-width: 900px) {
    .request-product-button .global-button {
        width: auto;
        max-width: 90%;
        display: block;
        margin: 0 auto;
        padding: 10px 20px;
        font-size: 0.9em;
        white-space: normal; /* Override the nowrap */
        overflow: visible; /* Override the hidden */
        line-height: 1.3; /* Add some line spacing for readability */
    }
}

/* Main Store Buttons */
.products-store-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 70px;
}

.products-store-buttons .global-button {
    min-width: 250px;
}

/* Brand Categories Section */
.brand-category {
    margin-bottom: 50px;
}

.brand-category h3 {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-align: center;
    color: #daa725;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    margin-top: 50px;
}

.brand-category h3::before,
.brand-category h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background-color: #daa725;
}

.brand-category h3::before {
    right: 100%;
    margin-right: 15px;
}

.brand-category h3::after {
    left: 100%;
    margin-left: 15px;
}

/* Brand Logos Grid */
.brand-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 0;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.brand-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #daa725;
}

.brand-logo-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.brand-logo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.brand-logo-item:hover img {
    opacity: 0.8;
}

.brand-logo-item .brand-text {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 1.1em;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.brand-logo-item:hover .brand-text {
    color: #daa725;
}

/* Shop by Brand Section */
.shop-by-brand-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-location-column {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-location-column h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #daa725;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
}

.location-shop-link {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.location-shop-link a {
    color: #daa725;
    text-decoration: none;
    font-weight: 300;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.location-shop-link a:hover {
    color: #555;
}

/* Brand Lists */
.brand-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.brand-list li {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-list li:last-child {
    border-bottom: none;
}

.brand-list a {
    color: #000;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
    padding: 5px 0;
}

.brand-list a:hover {
    color: #daa725;
    padding-left: 10px;
}

/* Desktop Responsive - Large Screens (1200px+) */
@media (min-width: 1200px) {
    .brand-logos-grid {
        gap: 40px;
    }
}

/* Laptop/Tablet Responsive (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .products-intro-section {
        margin: 80px 0 70px 0;
    }
    
    .featured-brands-title {
        font-size: 3rem;
    }
    
    .brand-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 0 15px;
    }
    
    .brand-logo-item {
        min-height: 100px;
    }
    
    .shop-by-brand-columns {
        gap: 40px;
        padding: 0 15px;
    }
    
    .brand-location-column {
        padding: 25px;
    }
}

/* Mobile Responsive (767px and below) */
@media (max-width: 767px) {
    .products-intro-section {
        margin: 50px 0 45px 0;
    }
    
    .products-intro-text {
        text-align: center;
        font-size: 0.9em;
    }
    
    .featured-brands-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    .products-store-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }
    
    .products-store-buttons .global-button {
        width: 80%;
        min-width: auto;
    }
    
    .brand-category h3 {
        font-size: 1.1em;
        margin-bottom: 25px;
        margin-top: 40px;
    }
    
    .brand-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 10px;
    }
    
    .brand-logo-item {
        min-height: 60px;
    }
    
    .brand-logo-item .brand-text {
        font-size: 0.9em;
    }
    
    .shop-by-brand-columns {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }
    
    .brand-location-column {
        padding: 20px;
    }
    
    .brand-location-column h3 {
        font-size: 1.3em;
    }
    .request-product-button .global-button {
        min-width: 80%;
    }
}

/* Small Mobile (600px and below) */
@media (max-width: 600px) {
    .featured-brands-title {
        font-size: 2rem;
    }
    
    .brand-category h3 {
        font-size: 1em;
        margin-bottom: 20px;
    }
    
    .brand-logos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .brand-logo-item {
        min-height: 50px;
    }
    
    .brand-logo-item .brand-text {
        font-size: 0.8em;
    }
    
    .brand-location-column h3 {
        font-size: 1.2em;
    }
}

/* =================================
   GLOBAL FLUENT FORMS BUTTON STYLES
   ================================= */

/* Set global variables for Fluent Forms buttons */
:root {
  --fluentform-primary: #dba725;           /* gold */
  --fluentform-primary-hover: #b68e20;     /* darker gold on hover */
  --fluentform-primary-text: #ffffff;      /* white button text */
}

/* Base style for all Fluent Forms submit buttons */
.ff-btn-submit:not(.ff_btn_no_style) {
  background-color: var(--fluentform-primary);
  color: var(--fluentform-primary-text);
  border: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  text-transform: uppercase;
  transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

/* Hover state */
.ff-btn-submit:not(.ff_btn_no_style):hover {
  background-color: var(--fluentform-primary-hover);
  color: var(--fluentform-primary-text);
  cursor: pointer;
}

/* Focus state */
.ff-btn-submit:not(.ff_btn_no_style):focus {
  background-color: var(--fluentform-primary-hover);
  outline: 2px solid var(--fluentform-primary);
  outline-offset: 2px;
}

/* Active (pressed) state */
.ff-btn-submit:not(.ff_btn_no_style):active {
  background-color: #333333;
  transform: translateY(1px);
}


/* =================================
   CONTACT FORM WRAPPER
   ================================= */
/* Default button style */
.forminator-ui.forminator-custom-form[data-design=default] .forminator-button {
    background: #dba725 !important; /* your accent gold */
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Hover style */
.forminator-ui.forminator-custom-form[data-design=default] .forminator-button:hover {
    background: #000000 !important;
    color: #ffffff !important;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .6) !important;
}

.forminator-ui#forminator-module-370.forminator-design--default select.forminator-select2 + .forminator-select .selection .select2-selection--single[role="combobox"] .select2-selection__rendered {
    font-size: 16px;
    line-height: 22px;
    font-weight: 300;
    background: white;
}
.contact-form-wrapper {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
  box-sizing: border-box;
  font-size: 21px;
  font-weight: 300;
}

/* =================================
   FORM FIELD BASE STYLES
   ================================= */

.wpcf7 label {
  display: block;
  margin-bottom: 0px; /* Reduced bottom margin */
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  font-size: 1em;
  font-weight: 400;
  border: 1px solid #ccc;
  border-radius: 0;
  box-sizing: border-box;
  background-color: #fff;
  color: #000;
  margin-bottom: 0px; /* Less vertical spacing between fields */
}

/* Ensure consistent textarea height */
.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

/* =================================
   PLACEHOLDER STYLES
   ================================= */

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #000;
  font-size: 0.7em;
  text-transform: capitalize;
    font-weight: 300;
}

/* Cross-browser placeholder */
.wpcf7 input::-webkit-input-placeholder,
.wpcf7 textarea::-webkit-input-placeholder {
  color: #000;
  font-size: 0.7em;
  text-transform: capitalize;
    font-weight: 300;
}

/* =================================
   SELECT FIELD (DROPDOWN) STYLING
   ================================= */

.wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #daa725;
  font-size: 1em;
  font-weight: 300;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='5' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0L5 5L10 0H0Z' fill='%23333'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 5px;
    color:#fff;
}

/* Style the default option */
.wpcf7 select option:first-child {
  background-color: #daa725;
  color: #fff;
  font-weight: 500;
}

/* Normal dropdown options */
.wpcf7 select option {
  background-color: #fff;
  color: #000;
}

/* When a user actively selects a non-default option */
.wpcf7 select option:checked {
  background-color: #daa725;
  color: #fff;
}

/* =================================
   SUBMIT BUTTON
   ================================= */

.wpcf7 input[type="submit"] {
  background-color: #daa725;
  color: #fff;
  border: none;
  padding: 14px 30px;
  font-size: 1em;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #000;
  color: #fff;
}

/* Thank you message styling */
.wpcf7-thank-you-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f8f8;
    border: 1px solid #daa725;
    border-radius: 4px;
    margin-top: 20px;
    opacity: 0;  /* Add this line */
    transition: opacity 0.5s ease;  /* Add this line */
}

.wpcf7-thank-you-message.show {  /* Add this entire rule */
    opacity: 1;
}

.wpcf7-thank-you-message h3 {
    color: #daa725;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.wpcf7-thank-you-message p {
    color: #333;
    font-size: 1em;
    line-height: 1.6;
}

/* Fade out animation */
.wpcf7-form.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Hide Contact Form 7's default response output */
.wpcf7-response-output {
    display: none !important;
}

/* Center align contact form on tablet and mobile */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        text-align: center;
    }
}

/* Experience Gallery Section */
.experience-gallery-section {
    padding: 100px 0;
    background: white;
    overflow: hidden;
}

.experience-gallery-header {
    text-align: center;
    margin-bottom: 80px;
}

.experience-gallery-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.experience-gallery-header p {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

/* Dynamic Overlapping Grid */
.experience-grid {
    position: relative;
    height: 1100px; /* Increased height to accommodate taller images */
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 50px;
}

.gallery-item {
    position: absolute;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This will crop if needed, but maintain aspect ratio */
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Individual Item Positions & Sizes - Respecting Aspect Ratios */
.gallery-item.hero {
    top: 0;
    left: 0;
    width: 400px;
    height: 300px; /* 4:3 landscape ratio */
    z-index: 3;
}

.gallery-item.process-1 {
    top: 50px;
    right: 0;
    width: 267px;
    height: 400px; /* Portrait aspect ratio 2:3 */
    z-index: 4;
}

.gallery-item.spa-hallway {
    top: 50px;
    right: 300px;
    width: 200px;
    height: 300px; /* Portrait aspect ratio 2:3 */
    z-index: 7;
}

.gallery-item.atmosphere {
    top: 350px;
    left: 400px;
    width: 400px;
    height: 267px; /* Landscape aspect ratio 3:2 */
    z-index: 2;
}

.gallery-item.process-2 {
    top: 450px;
    left: 50px;
    width: 267px;
    height: 400px; /* Portrait aspect ratio 2:3 */
    z-index: 5;
}

.gallery-item.result {
    top: 150px;
    right: 550px;
    width: 200px;
    height: 300px; /* Portrait aspect ratio 2:3 */
    z-index: 6;
}

.gallery-item.detail {
    top: 650px;
    left: 550px;
    width: 400px;
    height: 267px; /* Landscape aspect ratio 3:2 */
    z-index: 3;
}

.gallery-item.wide {
    top: 500px;
    right: 150px;
    width: 400px;
    height: 267px; /* Landscape aspect ratio 3:2 */
    z-index: 2;
}

.gallery-item.final {
    top: 800px;
    left: 200px;
    width: 267px;
    height: 400px; /* Portrait aspect ratio 2:3 */
    z-index: 4;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .experience-grid {
        height: 700px;
        max-width: 800px;
    }
    
    .gallery-item {
        border-radius: 0px;
    }
    
    /* Adjust positions for tablet - maintaining aspect ratios */
    .gallery-item.hero { width: 240px; height: 180px; top: 0; left: 0; }
    .gallery-item.process-1 { width: 160px; height: 240px; top: 40px; right: 100px; }
    .gallery-item.spa-hallway { width: 120px; height: 180px; top: 20px; right: 20px; }
    .gallery-item.atmosphere { width: 240px; height: 160px; top: 200px; left: 150px; }
    .gallery-item.process-2 { width: 133px; height: 200px; top: 300px; left: 20px; }
    .gallery-item.result { width: 120px; height: 180px; top: 120px; right: 280px; }
    .gallery-item.detail { width: 240px; height: 160px; top: 400px; left: 200px; }
    .gallery-item.wide { width: 240px; height: 160px; top: 350px; right: 40px; }
    .gallery-item.final { width: 133px; height: 200px; top: 520px; left: 60px; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .experience-gallery-section {
        padding: 60px 0;
    }
    
    .experience-gallery-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .experience-gallery-header h3 {
        font-size: 2rem;
    }
    
    .experience-gallery-header p {
        font-size: 1rem;
    }
    
    /* Mobile: Stack as flowing grid */
    .experience-grid {
        position: static;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    
    .gallery-item {
        position: static !important;
        width: 100% !important;
        height: 200px !important;
        margin: 0;
    }
    
    .gallery-item:nth-child(odd) {
        align-self: flex-start;
        width: 85% !important;
    }
    
    .gallery-item:nth-child(even) {
        align-self: flex-end;
        width: 85% !important;
    }
}

/* Animation delays for staggered entrance */
.gallery-item.anime {
    opacity: 1;
    transform: translateY(30px);
}

.gallery-item.anime.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile service type adjustments */
@media (max-width: 900px) {
    .service-type {
        font-size: 1.8rem;
        margin: 10px 0;
    }
    
    .kaizen-section.parallax-bg .kaizen-col br {
        display: none; /* Remove extra line breaks on mobile */
    }
    
    .kaizen-section.parallax-bg .kaizen-col {
        padding: 20px 10px;
    }
}

@media (max-width: 600px) {
    .service-type {
        font-size: 1.4rem;
        margin: 8px 0;
    }
}
/* =================================
   SERVICES PAGE MOBILE/TABLET FIXES
   ================================= */

/* Center align service grid text on tablet and mobile */
@media (max-width: 1024px) {
    .service-grid {
        text-align: center;
    }
    
    .service-category {
        text-align: center;
    }
    
    .service-category h4 {
        text-align: center;
    }
    
    .service-category h5 {
        text-align: center;
    }
    
    .service-category ul {
        text-align: center;
    }
    
    .service-category li {
        text-align: center;
    }
}

/* Tablet-specific fixes for hero content */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Fix hero content positioning and spacing on tablet */
    .hero-content {
        bottom: 20px;
        left: 20px;
        width: auto;
        max-width: calc(100% - 40px); /* Prevent going full width */
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        padding: 6px 12px;
        letter-spacing: 1px;
        word-wrap: break-word;
        line-height: 1.2;
        white-space: nowrap; /* Prevent text wrapping */
        display: inline-block;
        min-width: max-content; /* Ensure button stays proper size */
    }
    
    /* Specific adjustments for when columns change size */
    .hero-column.active .hero-content {
        bottom: 20px;
        left: 20px;
        max-width: calc(100% - 40px);
    }
    
    .hero-column.inactive .hero-content {
        bottom: 20px;
        left: 15px;
        max-width: calc(100% - 30px);
    }
    
    .hero-column.active .hero-content h2 {
        font-size: 1.5rem;
        padding: 6px 12px;
        white-space: nowrap;
    }
    
    .hero-column.inactive .hero-content h2 {
        font-size: 1.2rem;
        padding: 4px 8px;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    /* Fix services hero positioning on mobile */
    .services-hero {
        position: relative; /* Ensure proper positioning context */
    }
    
    .hero-main-content {
        position: absolute !important; /* Force absolute positioning */
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90%;
        max-width: 800px;
        z-index: 10; /* Ensure it's on top */
    }
    
    .hero-cta {
        margin-top: 0px;
    }
    
    .hero-content {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        padding: 6px 12px;
        letter-spacing: 1px;
    }
    
    /* Hide floating service nav on mobile - not needed */
    .floating-service-nav {
        display: none !important;
    }
}

/* Ensure service CTA button looks the same as a button instead of link */
button.service-cta-button {
    cursor: pointer;
    font-size: inherit;
    font-family: "Montserrat", sans-serif;
    border: 1px solid #000;
}

/* =================================
   SCROLL HINT SYSTEM
   ================================= */
.scroll-hint-system {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 4;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.scroll-hint-text {
    color: rgba(255, 255, 255, 0.9);
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    animation: fadeInOut 3s ease-in-out infinite;
}

.scroll-hint-visual {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    position: relative;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.scroll-hint-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes scrollDrop {
    0% { 
        top: 8px; 
        opacity: 1; 
    }
    100% { 
        top: 32px; 
        opacity: 0; 
    }
}

/* Hide scroll hint on mobile and tablet */
@media screen and (max-width: 768px) {
    .scroll-hint-system {
        display: none !important;
    }
}

