

/*Navigation styles */

/* Base Resets & Variables */
:root {
  --nav-bg: #ffffff;
  --text-main: #111111;
  --text-hover: #007799; /* Change to match your logo's blue accent */
  --font-nav: 'Red Rose', sans-serif; /* A clean, premium sans-serif */
}

/* Navbar Wrapper */
.navbar {
  background-color: var(--nav-bg);
  
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.nav-logo img {
  height: 150px; /* Adjust based on your logo asset */
  width: 150px;
  display: block;
}

/* Mobile Layout (Default) */
.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  
  /* Glassmorphism Core Styling */
  background: rgba(255, 255, 255, 0.45); /* White background with low opacity */
  backdrop-filter: blur(12px);          /* Blurs the underlying background video */
  -webkit-backdrop-filter: blur(12px);  /* Safari support */
    
  /* Premium Border & Shading Details */
  border: 1px solid rgba(255, 255, 255, 0.35); /* Crisp, light edge */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);   /* Soft depth shadow */
  border-radius: 12px;                          /* Smooth rounded corners */
  /* Initially hidden on mobile if you plan to use a hamburger menu toggle. 
     If you just want it to stack cleanly for now, leave this block as is. */
  display: none; 
  padding: 0.95rem 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-nav);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
  padding: 10px;
  border-radius: 30px;
    
  /* Invisible default border prevents layout shifting on hover */
  border: 1px solid transparent; 
  transition: all 0.25s ease-in-out;
}

.nav-link:hover {
 
  border-radius: 30px;
  color: #007799; /* Accent blue from your logo */
  background: rgba(0, 119, 153, 0.05); /* Extremely faint inner tint */
  border: 1px solid rgba(0, 119, 153, 0.6); /* Sharp HUD line */
    
/* Adds a subtle vector glow effect */
  box-shadow: 0 0 10px rgba(0, 119, 153, 0.3); 

  padding: 10px;
  transition-duration: 500ms;

}
/* ------------------------------------------------------------- */
/* Mobile Media Query (Screens larger than 768px)               */
/* ------------------------------------------------------------- */
/* 1. Mobile Hamburger Button Styling */
.menu_toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Stays above the glass menu */
}

.menu_toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #111111; /* Match your typography */
    transition: all 0.25s ease-in-out;
}

/* 2. Mobile Glassmorphism Dropdown Positioning */
@media (max-width: 767px) {
    .nav-menu {
        /* Reset display hidden when active class is toggled */
        display: none; 
        
        /* Absolute placement below the bar */
        position: absolute;
        top: 100%; /* Sits exactly below the nav_bar */
        left: 1rem;
        right: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem;
        
        /* Your glassmorphism properties */
        background: rgba(255, 255, 255, 0.65); 
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    /* When JS applies the active class, show the menu */
    .nav-menu.active {
        display: flex;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }

    /* Animated Morph: Hamburger transforms into an X when active */
    .menu_toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu_toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu_toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* 3. Clean Desktop Reset (Overriding Mobile absolute layout) */
@media (min-width: 768px) {
    .menu_toggle {
        display: none; /* Hide button on desktop */
    }
    .mobile_front {
        display: none;
    }
    .mobile_text {
        display: none;
    }
    .nav-menu{
        display: flex !important; /* Forces layout to show on desktop regardless of active class */
        flex-direction: row;
        gap: 2.5rem;
        
    }
    .reveal_section {
        display: none;
    }
    .overview_container {
        display: none;
    }
}
/* ------------------------------------------------------------- */
/* Desktop Media Query (Screens larger than 768px)               */
/* ------------------------------------------------------------- */
@media (min-width: 768px) {
  .nav-menu {
    display: flex; /* Show the menu */
    flex-direction: row; /* Row layout for desktop */
    gap: 2.5rem; /* Wider spacing between links */
  }

  .nav-container {
    padding: 1.25rem 2rem;
  }
  .superior-title {
    display: none;

  }
  .image-mobile {
    display: none;
  }
}


/* HERO SECTION STYLES*/
/* Container box to hold both layers */
.hero_wrapper {
    position: relative;
    width: 100%;
    height: 100vh; /* Takes up full screen height */
    overflow: hidden; /* Keeps the video from leaking out */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The video layer - pinned underneath */
.bg_video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Forces video to behave like background-size: cover */
    z-index: 1; /* Lowest layer */
    pointer-events: none; /* Allows clicks to pass through to text elements */
    border-radius: 30px;
    box-shadow: 2px 10px 30px rgba(0, 0, 0, 0.08);
     background: rgba(255, 255, 255, 0.65); 
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.4);
}
/**

*/
@media (max-width:768px) {
    .bg_video {
     display: none;
    }
    .reveal_section {
        display: none;
    }
    .hero_wrapper{
       display: none;
    }
    /* Scaling down big text overlays*/
    .mid_section h1 {
      display: none;
    }
   
    .superior-title { 
     text-align: center;
     font-family: "Red Rose";
     font-size: 1.15rem;
     position: relative;
     
     background: linear-gradient(
        105deg,
        #111 30%,
        #fff 45%,
        #3a86ff 50%,
        #fff 55%,
        #111 70%
     );
     background-size: 400% 100%;
     background-clip: text;
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     animation: textGleam 4s linear infinite;
    }
    .gb-pop {
        display: inline-block;
        -webkit-text-fill-color: #3a86ff;
        background: none !important;
        will-change: transform, opacity;
        animation: exclamationPop 4s ease-in-out infinite; 
         /**
        opacity: 0;
        transform: scale(0) rotate(-45deg);
        animation: exclamationPop 4s linear infinite; 
        */
        }
    
    .image-mobile {
        /* On mobile, keep the image at the top or remove 'sticky' */
        position: relative; 
        top: 0;
        aspect-ratio: 4 / 3; /* Or your preferred ratio */
        overflow: hidden;
        order: -1; /* This moves the image to the TOP of the stack */
        margin-bottom: 20px;

     
    }

    #rotating-image-mobile {
        max-height: 300px; /* Limit height so it doesn't take up the whole screen */
        object-fit: cover;  
        border-radius: 12px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        transition: opacity 0.20s ease-in-out;
        margin: 0 auto;
        align-items: center;
    }
}
@keyframes textGleam {
        0% {   
            background-position: 100% 0%;
        
        }
        37.5% {
            background-position: 0% 0%;
        }
        100% {
            background-position: 0% 0%;
        }
}

@keyframes exclamationPop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }
    35% {
        opacity: 1;
        transform: scale(1.4) rotate(15deg);
    }
    40%, 62.5% {
        opacity: 1;
        transform: scale(1) rotate(0deg);  
    }
    75%, 100% {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }
}
/* MID SECTION STYLES*/
.mid_section {
    h1 {
        margin-top: 200px;
        text-align: center;
        margin-bottom: 200px;
    }
    z-index: 2;
    animation-name: fade;
    animation-duration: 2200ms;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    font-family: "Red Rose", serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-decoration: none;
    font-weight: bold;
    color: whitesmoke;
    font-size: 80px;
    
}
@media (max-width: 768px) {
    .mid_section {
        display: none;
    }
    .overview {
        display: none;  
    }
}
/* Container to give some vertical breathing room for scrolling */
.reveal_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh; /* Gives space so you can actually scroll to reveal them */
    width: 100%;
    gap: 0.2rem;
    background-color: transparent; 
}

/* Base Hidden State for Reveal Elements */
.scroll_reveal {
    opacity: 0;
    transform: translateY(60px); /* Pushed down slightly */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.8s ease-in-out;
    will-change: transform, opacity; /* Optimizes rendering pipeline */
}

/* Optional: Stagger the sub-title to reveal slightly after the heading */
.sub_title.scroll_reveal {
    transition-delay: 0.20s;
}

/* Active State Triggered by JavaScript */
.scroll_reveal.active {
    opacity: 1;
    transform: translateY(0); /* Snaps smoothly back to its native position */
}

/* Typography Tune-up matching your premium theme */
.overview h2 {
    font-family: 'Red Rose', serif; /* Using your imported font */
    font-size: clamp(3rem, 8vw, 6rem); /* Fully fluid responsive typography */
    letter-spacing: 0.08em;
    margin: 0;
    color: #111111;
}

.sub_title h3 {
    font-family: 'Red Rose', sans-serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    letter-spacing: 0.15em;
    margin: 0;
    color: #111111;
}
.overview_container {
    background-color:rgb(181, 0, 0) ;
}
.overview_section {
    display: inline-flex;
   

}
.worker_avatar {
    display:flexbox;
    
    width: 200px;
    height: 200px;
    position: absolute;
    margin-left: 240px;
    margin-top: -82px;
    padding: 0px;
    animation: fade 8s ease-in-out;
}
@keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}
.scroll_reveal {
    opacity: 0;
    transform: translateY(60px); /* Pushed down slightly */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.8s ease-in-out;
    will-change: transform, opacity; /* Optimizes rendering pipeline */
}
.overview_card_1.scroll_reveal {
    transition-delay: 0.30s;
}
/* Active State Triggered by JavaScript */
.scroll_reveal.active {
    opacity: 1;
    transform: translateY(0); /* Snaps smoothly back to its native position */
}

 @media (max-width: 768px) {
    .reveal_section {
        display:none;
    }
 }
.overview_card_1 {
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* Lowest layer */
    pointer-events: none; /* Allows clicks to pass through to text elements */
    padding-right: 30px;
    padding-left: 85px;
    padding-top: 75px;
    img {
        width: 520px;
        height: 280px;
        border-radius: 30px;
        
    }
    
    
}

.overview_card_2 {
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* Lowest layer */
    pointer-events: none; /* Allows clicks to pass through to text elements */
    
    img {
        width: 450px;
        height: 380px;
        border-radius: 30px;
    }
}
.pressure_washer {
    width: 500px;
    
    height: 300px;
    position: absolute;
    right: -40px;
    
    margin-top: 490px;
    z-index: 2;
    background: transparent;
    video {
        background: transparent;
    }
}

@media (max-width: 1920px) {
    .pressure_washer {
    width: 500px;
    
    height: 300px;
    position: absolute;
    right: -0px;
    
    margin-top: 490px;
    z-index: 2;
    background: transparent;
    video {
        background: transparent;
    }
    }
}

.overview_card_3 {
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* Lowest layer */
    pointer-events: none; /* Allows clicks to pass through to text elements */
    padding-right: 40px;
    padding-left: 50px;
    margin-bottom: 60px;
    img {
        width: 450px;
        height: 380px;
        border-radius: 30px;
    }
}
.scroll_reveal {
    opacity: 0;
    transform: translateY(60px); /* Pushed down slightly */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.8s ease-in-out;
    will-change: transform, opacity; /* Optimizes rendering pipeline */
}
.overview_card_3.scroll_reveal {
    transition-delay: 0.38s;
}
.overview_card_4 {
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* Lowest layer */
    pointer-events: none; /* Allows clicks to pass through to text elements */
    padding-top: 20px;;
    img {
        width: 450px;
        height: 380px;
        border-radius: 30px;
    }
}
@media (max-width: 768px) {
    .overview_card_1 {
        display: none;
    }
    .overview_card_2 {
        display: none;
    }
    .overview_card_3 {
        display: none;
    }
    .overview_card_4 {
        display: none;
    }
    .pressure_washer {
        display: none;
    }
    .worker_avatar {
        display: none;
    }
}
.review_container {
    padding: 20px 30px;
}
.review_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh; /* Gives space so you can actually scroll to reveal them */
    width: 100%;
    gap: 0.2rem;
    border: 5px solid black;
    border-radius: 40px;
    
    
    
    h3 {
        font-family: 'Red Rose', sans-serif;
        font-size: 60px;
        letter-spacing: 0.1em;
        margin: 0;
        color: #111111;
    }
}
.review_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 2cqmin; /* Gives space so you can actually scroll to reveal them */
    width: 100%;
    gap: 0.2rem;
    background-color: transparent;

    p {
        font-family: 'Red Rose', sans-serif;
        font-size: 20px;
        letter-spacing: 0.1em;
        margin: 0;
        text-align: center;
        padding-top: 10px;
        padding-left: 15px;
        padding-left: 15px;
        color: #111111;
    }
    h4 {
        font-family: 'Red Rose', sans-serif;
        font-size: 20px;
        letter-spacing: 0.1em;
        margin: 0;
        
        color: #111111;
    }
    a {
        font-family: 'Red Rose', sans-serif;
        font-size: 20px;
        font-weight: 900;
        letter-spacing: 0.1em;
        margin: 0;
        color: #111111;
        text-decoration: none;
        margin-top: 30px;
        border: 2px solid black;
        padding: 8px;
        border-radius: 20px;
    }
    a:hover {
        background-color: black;
        color: white;
        transition: 500ms;
    }

}
@media (max-width: 768px) {
    .review_container {
        object-fit: cover;
        padding: 20px;
        padding-right: 30px;
    }
    .review_section {
        object-fit: cover;
        min-height: 23vh;
        h3 {
            font-size: 21px;
            padding: 10px;
        }
    }
    .review_card {
        object-fit: cover;

        text-align: center;
        h1 {
            font-size: 10px;
        }
        p {
            padding: 0px;
            font-size: 16px;
            font-style: italic;
        }
        a {
            margin-bottom: 13px ;
        }
    }
    
}
/* Main Footer Wrapping Container */
.site-footer {
    background-color: #ffffff;
    padding: 0 20px;
    margin-top: 30px;
}

/* The Call To Action Card */
.footer-cta-container {
    background-color: #003366; /* Match your deep navy blue */
    border-radius: 40px;       /* Softer, more modern curve than sharp boxes */
    padding: 60px 10px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.15);
}

.footer-cta-container h2 {
    color: #ffffff;
    font-size: 3.1rem;
    font-weight: 800;
    font-family: "Red Rose", sans-serif;
    letter-spacing: 2px;
    margin: 0 0 40px 0;
}

/* Flex layout for clean contact targets */
.footer-contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
}

.contact-link .label {
    color: #f39c12; /* Gold accent matching your review stars */
    font-size: 0.9rem;
    font-weight: 700;
    font-family: "Red Rose", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-link .value {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: "Red Rose", sans-serif;
    letter-spacing: 0.5px;
}

/* Social Icon Container alignment */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 40px;
}

.social-icon {
    color: #ffffff;
    font-size: 1.3rem;
    transition: transform 0.2s ease;
}
.svg-icon {
    width: 32px;  
    height: 32px;
    display: block;
    /* Step 1: Force any local SVG color to pure white initially */
    filter: brightness(0) invert(1); 
    transition: filter 0.2s ease;
}

.social-icon:hover .svg-icon {
    /* Step 2: Target your precise gold color (#f39c12) on hover */
    filter: invert(75%) sepia(50%) saturate(1355%) hue-rotate(346deg) brightness(101%) contrast(92%);
}

.social-icon:hover {
    transform: translateY(-3px);
}
/* Interaction Effects */
.social-icon:hover {
    color: #ffd700;     /* Smoothly transitions SVG fill color to gold */
    transform: translateY(-3px); /* Subtle physical lift */
}
/* Elegant Copyright Bar replacing the heavy red block */
.footer-copyright-bar {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 24px 20px;
    border-top: 3px solid #990000; /* Subtle utilization of the brand red as an elegant accent line */
    text-align: center;
}

.footer-copyright-bar p {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4a5568;
    font-family: "Red Rose", sans-serif;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

/* Clean Responsiveness */
@media (max-width: 768px) {
    .footer-cta-container {
        padding: 40px 20px;
        border-radius: 16px;
    }
    
    .footer-cta-container h2 {
        font-size: 1.8rem;
    }
    
    .footer-contact-methods {
        flex-direction: column;
        gap: 25px;
    }
    
    .contact-link .value {
        font-size: 1.1rem;
    }
}

/* Animation styles*/

@keyframes fade {
    0% {opacity: 0;}
    100% {opacity: 1;}
}


