:root {
    --logo-scale: 0.5; /* Default scale, adjust this value to control the shrinking size */
}


#loading {
    position: fixed;
    margin-top: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000; /* High z-index to cover all content */
}

.loading-logo {
    width: 100px; /* Adjust size as necessary */
    animation: spin 2s ease, moveAndShrink 0.5s 2s forwards;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes moveAndShrink {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(-45.5vh) scale(var(--logo-scale)); } /* Uses variable for scaling */
}

@media (max-width: 600px) {
    :root {
        --logo-end-position: 20vh;  /* Adjusted to go lower on smaller screens */
    }
}

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevents horizontal scroll */
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    overflow-x: hidden; /* Prevents horizontal overflow */
}

/* General section styling */
.section {
    position: relative;
    width: 100%;
    color: white;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.section.fullscreen {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire section properly */
    z-index: -1; /* Ensures the image stays behind the text */
}

.text-container {
    position: relative;
    z-index: 2; /* Ensures text stays on top of the background image */
    width: 100%; /* Ensures the text container spans the entire width */
}

.title {
    font-size: var(--title-size, 5em);
    margin: 0;
    text-shadow: 
    0px 0px 24px rgba(0, 0, 0, 1),
    0px 0px 24px rgba(0, 0, 0, 1); /* Adds shadow to text for enhanced visibility */
}

.subtitle {
    font-size: var(--subtitle-size, 2.5em);
    margin: 0;
    text-shadow:
    0px 0px 24px rgba(0, 0, 0, 1),
    0px 0px 24px rgba(0, 0, 0, 1),
    0px 0px 24px rgba(0, 0, 0, 1);
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .section.fullscreen {
        height: 60vh;
    }

    .title {
        font-size: var(--title-size-mobile, 2.5em); /* Allows variable override for mobile */
    }

    .subtitle {
        font-size: var(--subtitle-size-mobile, 1.5em); /* Allows variable override for mobile */
    }
}



/* Main styles for .section.black-divider */
.section.black-divider {
    /* Set the width to the full width of the viewport */
    width: 100%;

    /* Set the height to one-third of the viewport height */
    height: 43vh;

    /* Center the section horizontally */
    margin: 0 auto;

    /* Add padding inside the section, ensuring it does not affect the overall width */
    padding: 20px;
    box-sizing: border-box; /* Include padding in width calculation */

    /* Set the background color */
    background-color: #000; /* Black background */
    
    /* Ensure no horizontal overflow */
    overflow-x: hidden;

    /* Use flexbox to center content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; /* Center text */
}

.section.black-divider h2 {
    /* Adjust the font size of the heading */
    font-size: var(--black-divider-heading-size, 3em);
    
    /* Change the font family */
    font-family: 'Arial', sans-serif;
    
    /* Additional styling */
    color: #fff; /* White text color */
    margin-bottom: 20px;
}

.section.black-divider p {
    /* Adjust the font size of the paragraph */
    font-size: var(--black-divider-paragraph-size, 1.5em);
    
    /* Change the font family */
    font-family: 'Georgia', serif;
    
    /* Additional styling */
    color: #ddd; /* Light gray text color */
    line-height: 1.5;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .section.black-divider {
        height: 60vh; /* Corrected the unit from 'hv' to 'vh' */
        padding: 10px; /* Reduce padding on smaller screens */
    }
    
    .section.black-divider h2 {
        font-size: 2em; /* Reduce font size for heading */
    }
    
    .section.black-divider p {
        font-size: 1em; /* Reduce font size for paragraph */
    }
}


/* Handcrafted section */
.handcrafted-section {
    position: relative;
    width: 100%;
    height: 80vh;
    color: white;
    text-align: center;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.handcrafted-section img.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area without distorting the aspect ratio */
    top: 0;
    left: 0;
    z-index: -1; /* Ensures the image stays in the background */
}

.handcrafted-section .text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the text container */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2; /* Ensures text stays on top of the background image */
}

.handcrafted-section .title, .handcrafted-section .subtitle {
    text-shadow: 0px 0px 24px rgba(0, 0, 0, 1); /* Enhances text visibility on varying backgrounds */
    margin: 0.5em 0; /* Provides spacing around text */
}

.handcrafted-section .learn-more-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    border-radius: 30px; /* Rounded corners */
    text-decoration: none;
    font-size: 1.2em;
}

.handcrafted-section .learn-more-btn:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Darker background on hover */
}

@media (max-width: 768px) {
    .handcrafted-section {
        height: 60vh;
    }
    
    .handcrafted-section .title {
        font-size: 2em; /* Adjusted for smaller screens */
    }

    .handcrafted-section .subtitle {
        font-size: 1.3em; /* Adjusted for smaller screens */
    }

    .handcrafted-section .learn-more-btn {
        font-size: 1em;
        padding: 8px 16px;
    }
}


 

/* General styles for all watch sections */
.watch-section {
    height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    text-align: left;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.watch-section.datejust-section {
    background-image: url('/images/datejust.JPG');
}

.watch-section.submariner-section {
    background-image: url('/images/Submariner.JPG');
}

.watch-section.presage-section {
    background-image: url('/images/presage.JPG');
}

.watch-section.mod-section {
    background-image: url('/images/Mod.JPG');
}

.watch-section.open-section {
    background-image: url('/images/open.jpg');
}

.watch-section.old-section {
    background-image: url('/images/snoopy.JPG');
}



/* Initial state for animation within watch sections */
.watch-section .text-container {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(50%); /* Reduced the initial transform distance for smoother animation start */
    padding: 0;
    box-sizing: border-box;
    opacity: 0;
    transition: all 1s ease-in-out; /* Changed to ease-in-out for smoother transition */
    will-change: transform, opacity; /* Hint to browsers for performance optimization */
}

/* Animation classes for visibility within watch sections */
.watch-section.datejust-section .text-container.visible,
.watch-section.submariner-section .text-container.visible,
.watch-section.presage-section .text-container.visible,
.watch-section.mod-section .text-container.visible,
.watch-section.vintage-section .text-container.visible,
.watch-section.open-section .text-container.visible,
.watch-section.old-section .text-container.visible {
    opacity: 1;
    transform: translateY(-50%);
}

/* Headings styling within watch sections */
.watch-section h1, .watch-section h2 {
    margin: 0;
    padding: 0;
    color: #fff;
    text-align: left;
}

.watch-section h1 {
    font-size: var(--title-font-size, 4em);
}

.watch-section h2 {
    font-size: var(--subtitle-font-size, 2em);
}

/* Responsive adjustments for watch sections */
@media (max-width: 768px) {
    .watch-section {
        height: 60vh;
    }

    .watch-section h1 {
        font-size: var(--mobile-title-font-size, 2em);
    }

    .watch-section h2 {
        font-size: var(--mobile-subtitle-font-size, 1.2em);
    }
}


.customize-now-section {
    position: relative;
    width: 100%;
    height: 90vh; /* Default height */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customize-now-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.customize-now-section .overlay h1 {
    font-size: 3em;
    margin: 0;
}

.customize-now-section .overlay h2 {
    font-size: 1.5em;
    margin: 0;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .customize-now-section {
        height: 30vh; /* Adjust height for smaller screens */
    }

    .customize-now-section .overlay h1 {
        font-size: 2em; /* Adjust font size for smaller screens */
    }

    .customize-now-section .overlay h2 {
        font-size: 1.2em; /* Adjust font size for smaller screens */
    }
}

/* Get Started Section */
.get-started-section {
    position: relative;
    width: 100%;
    height: 50vh;
    background-color: black;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.get-started-section .text-container {
    position: relative;
    z-index: 2;
    animation: fadeIn 2s ease-out, slideUp 1s ease-out;
    text-align: center;
}

.get-started-section .title {
    font-size: 3em;
    margin: 0.5em 0;
    animation: textGlow 1.5s infinite alternate;
}

.get-started-section .subtitle {
    font-size: 1.5em;
    margin: 0.5em 0;
}

.get-started-section .get-started-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background: linear-gradient(90deg, #5bb5ff, #1f66ff);
    color: white;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.get-started-section .get-started-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(90deg, #47ddff, #3438ff);
}

/* Keyframes for animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); }
    to { transform: translateY(0); }
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px #85b0ff, 0 0 20px #1b62cc; }
    to { text-shadow: 0 0 20px #6078ff, 0 0 40px #1728a4; }
}

/* New section for "Who We Work With" */
.who-we-work-with-section {
    background-color: black;
    color: white;
    padding: 50px 20px;
    text-align: center;
    font-family: 'Georgia', sans-serif; /* Change this to your desired font */
}

.who-we-work-with-section h2 {
    font-size: 3em;
    margin-bottom: 20px;
}


/* Scrolling logos */
.logo-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.logo-container img {
    height: 100px; /* Adjust as needed */
    margin: 0 20px;
    display: inline-block;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .who-we-work-with-section {
        padding: 30px 10px;
    }
    
    .who-we-work-with-section h2 {
        font-size: 2em; /* Reduce font size for heading */
    }
    
    .logo-container {
        padding: 10px 0;
    }
    
    .logo-container img {
        height: 70px; /* Reduce logo height */
        margin: 0 10px; /* Reduce margin between logos */
        animation: scroll 15s linear infinite; /* Speed up the animation */
    }
}

/* Duplicate logos to ensure continuous loop */
.logo-container .logo-wrapper {
    display: flex;
}

.section.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background-color: #282c34;
    color: white;
    border-radius: 10px;
    margin: 50px auto; /* Aligns the section centrally */
    position: relative;
    overflow: hidden; /* Ensures no content spills out */
    width: calc(100% - 40px); /* Adjusts width considering the margin */
}

.contact-content {
    max-width: 600px;
    width: 100%; /* Ensures it doesn't exceed the parent container */
    z-index: 1;
    text-align: left;
    margin: 0 auto; /* Centers the content within the section */
}

.contact-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.contact-content p {
    font-size: 1.2em;
    margin: 10px 0;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.contact-content a {
    color: #61dafb;
    text-decoration: none;
}

.contact-content a:hover {
    text-decoration: underline;
}

/* Background animation */
.section.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(40,44,52,1) 100%);
    animation: rotateBackground 10s linear infinite;
    z-index: 0;
}

@keyframes rotateBackground {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .section.contact {
        text-align: center;
        font-size: 0.8em;
        padding: 30px 10px; /* Reduced padding on smaller screens */
        width: calc(100% - 20px); /* Adjusts width for smaller screens */
    }

    .contact-content {
        max-width: 100%; /* Ensures content does not overflow */
    }
}
/* ===================== LUXE ICE-BLUE LINK SYSTEM ===================== */

/* Base link style (default state) */
a, 
.link {
  color: #67C1FF; /* icy blue */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

/* Hover & focus states */
a:hover,
a:focus,
.link:hover,
.link:focus {
  color: #F4E5C2; /* champagne glow */
  text-shadow: 0 0 6px rgba(244, 229, 194, 0.4);
}

/* Visited state stays consistent (no purple) */
a:visited {
  color: #67C1FF;
}

/* Footer-specific hover to make it feel illuminated */
.site-footer a:hover {
  color: #F4E5C2;
  text-shadow: 0 0 6px rgba(244, 229, 194, 0.35);
}

/* Optional: make link buttons or CTAs pop */
.button-link {
  display: inline-block;
  padding: 8px 14px;
  color: #0b0e13;
  background: linear-gradient(135deg, #67C1FF, #1A5F8E);
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.button-link:hover {
  background: linear-gradient(135deg, #F4E5C2, #C2A671);
  color: #0b0e13;
  box-shadow: 0 4px 20px rgba(244, 229, 194, 0.35);
}


/* Footer Styles */
.site-footer {
    background-color: #414141; /* Dark grey background */
    color: #fff; /* White text */
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    position: relative; /* To ensure footer-bottom can align correctly */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Navigation, Social Media, and Info */
.footer-nav,
.footer-social,
.footer-info {
    flex: 1 1 calc(33.33% - 20px); /* Responsive grid */
    min-width: 200px;
}

.footer-nav h3,
.footer-social h3,
.footer-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.footer-nav ul,
.footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li,
.footer-social ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a,
.footer-social ul li a {
    color: #ccc; /* Light grey links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover,
.footer-social ul li a:hover {
    color: #C2A671; /* Green hover color */
}

/* Footer Info Section */
.footer-info {
    font-size: 0.9rem;
    color: #ccc; /* Light grey text */
    line-height: 1.6; /* Better readability */
}

.footer-info p {
    margin: 10px 0; /* Add spacing between lines */
}

.footer-info a {
    color: #C2A671; /* Replace with your brand's specific green color code */
    text-decoration: none; /* Optional: removes underline from the link */
}

.footer-info a:hover {
    color: #C2A671; /* Darker green for hover, adjust as needed */
    text-decoration: underline; /* Optional: adds underline on hover for better usability */
}


/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #bbb; /* Lighter grey for bottom text */
    width: 100%;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem; /* Slightly larger for clarity */
    font-weight: bold; /* Make Reel Free stand out */
    color: #fff;
}

.footer-brand {
    font-weight: 700; /* Bold */
    color: #fff;
}

.footer-year {
    font-weight: 500; /* Medium */
    color: #ccc;
}

.footer-rights {
    font-weight: 300; /* Light */
    color: #bbb;
}

.footer-divider {
    margin: 0 0.3rem;
    color: #999;
}

/* Media Query for Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack footer sections vertically */
        align-items: center;
        text-align: center;
    }

    .footer-nav,
    .footer-social,
    .footer-info {
        flex: 1 1 100%; /* Each section takes full width */
        margin-bottom: 20px; /* Add spacing between stacked sections */
    }

    .footer-bottom {
        margin-top: 20px; /* Adjust margin for smaller screens */
    }
}

/* ===========================
   Footer Chatbot Launcher
   =========================== */

   .footer-chat {
    /* mobile: flows under contact email */
    margin-top: 14px;
  }
  
  .rf-chatnote {
    margin-top: 6px;
    font-size: 0.78rem;
    color: #9fd8cf; /* subtle teal tint under dark footer */
  }
  
  /* The pill button with two words: Help • Chat */
  .rf-chatbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 0;
    background: #18B19C;         /* brand teal */
    color: #0c2b27;               /* ink on teal */
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(2, 24, 43, 0.18);
    transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  }
  
  .rf-chatbtn:hover { transform: translateY(-1px); }
  .rf-chatbtn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(2, 24, 43, 0.16); }
  .rf-chatbtn:focus-visible { outline: 3px solid #67C1FF; outline-offset: 2px; }
  
  .rf-chatbtn-help { opacity: 0.95; }
  .rf-chatbtn-dot  { opacity: 0.75; }
  .rf-chatbtn-chat {
    background: #ffffff;
    color: #09443c;
    padding: 6px 10px;
    border-radius: 999px;
    line-height: 1;
    font-weight: 800;
  }
  
  /* Desktop positioning: attach to bottom-right corner of the footer */
  @media (min-width: 768px) {
    .site-footer {
      position: relative; /* already present, ensures absolute positioning is relative */
    }
    .footer-chat {
      position: absolute;
      right: 18px;
      bottom: 18px;
      margin-top: 0; /* override mobile spacing */
      text-align: right;
    }
  }
  
  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .rf-chatbtn { transition: none !important; }
  }
  