/* CSS for oxfordstride */
/* Variables */
:root {
    --color-bg: #f4f4f4;
    --color-text: #2c2c2c;
    --color-accent: #d68c8c;
    /* Muted Coral */
    --color-secondary: #8c8c8c;
    /* Grey */
    --color-dark: #1a1a1a;
    --color-white: #ffffff;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Reset & Base Styles */
.oxfordstride-site {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

.oxfordstride-site,
.oxfordstride-site * {
    box-sizing: border-box;
}

/* Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    text-align: center;
    color: var(--color-white);
    position: relative;
    padding: 20px;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 8px;
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, #888, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.loader-line {
    width: 0;
    height: 3px;
    background-color: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
    animation: loadLine 1.5s ease-in-out forwards;
    margin: 0 auto;
}

@keyframes loadLine {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Ad Banner */
.ad-banner {
    background-color: #f0f0f0;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e0e0e0;
    font-family: var(--font-body);
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    color: var(--color-dark);
    display: flex;
    align-items: center;
}

/* Creative Logo Treatment: Subtle mountain/path integrated */
.logo::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--color-accent);
    margin-right: 8px;
    transform: rotate(45deg);
    box-shadow: 4px 4px 0 #333;
}

.desktop-nav {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    margin: 0 20px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-dark);
}

.nav-link:hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-accent);
    z-index: -1;
    transition: width 0.3s ease;
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.header-cta {
    display: none;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 18px;
    width: 28px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-dark);
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    /* 75% width as requested */
    height: 100%;
    background-color: var(--color-white);
    z-index: 200;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    padding: 80px 40px;
    /* More padding top/sides */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Start from top */
}

.mobile-menu-overlay.open {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--color-dark);
    transition: transform 0.3s ease;
}

.close-menu:hover {
    transform: rotate(90deg);
    color: var(--color-accent);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--color-dark);
    font-size: 1.5rem;
    /* Larger font */
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    display: block;
    /* Ensure block */
}

.mobile-nav-link:hover {
    color: var(--color-accent);
    padding-left: 10px;
    /* Slide effect */
    border-color: var(--color-accent);
}

/* Hero Section - Premium & Dynamic */
.hero-section {
    position: relative;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    background: var(--color-bg);
    overflow: hidden;
    min-height: 85vh;
    justify-content: center;
}

/* Angled Background Element */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, #e8e8e8 0%, #dcdcdc 100%);
    clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
    display: none;
}

.hero-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease;
    /* Placeholder styling if needed */
    background: #e0e0e0;
    min-height: 300px;
    object-fit: cover;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    font-size: 0.75rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid #ddd;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

/* Sections Common */
.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 10px auto 0;
}

/* About Section - Marquee Layout */
.about-section {
    padding: 5rem 0;
    /* Remove side padding to let marquee bleed */
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.about-text {
    padding: 0 1.5rem;
    /* Add padding back to text container */
    max-width: 800px;
    text-align: center;
}

/* Marquee Container */
.about-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: transparent;
    padding: 2rem 0;
    /* Optional: Fade masks on sides */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 2rem;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-slide {
    width: 300px;
    /* Fixed width for better control */
    height: 300px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.marquee-slide:hover {
    transform: scale(1.05);
    /* Interactive touch */
}

.marquee-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
    user-select: none;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 3));
        /* Move by 1/3 since we triplicated the set */
    }
}

/* Features/Why Us - Technical Premium */
.features-section {
    padding: 5rem 1.5rem;
    background-color: var(--color-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.05);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
    position: relative;
    display: inline-block;
}

.feature-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Testimonials - Urban Stories */
.testimonials-section {
    padding: 6rem 1.5rem;
    background-color: #121212;
    /* Slightly softer than pure black */
    color: var(--color-white);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 4px;
    border-left: 2px solid var(--color-accent);
    /* Thinner, more elegant border */
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: serif;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #e0e0e0;
}

.testimonial-author {
    font-weight: 700;
    font-family: var(--font-heading);
    display: block;
    text-align: right;
    color: var(--color-accent);
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Shipping */
.shipping-section {
    padding: 3rem 1.5rem;
    background-color: var(--color-white);
    border-top: 1px solid #eee;
}

.shipping-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
}

/* FAQ - Compact & Premium */
.faq-section {
    padding: 3rem 1.5rem;
    background-color: var(--color-bg);
}

.faq-container {
    max-width: 800px;
    /* Make it smaller/centered */
    margin: 0 auto;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* Tighter gap */
}

.accordion-item {
    background-color: transparent;
    /* Cleaner look */
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
    border-radius: 0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 1rem 0;
    /* Removing side padding for minimal look, vertical padding reduced */
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    /* Slightly smaller font */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
    color: var(--color-dark);
}

.accordion-header:hover {
    background-color: transparent;
    color: var(--color-accent);
}

.accordion-icon {
    font-size: 1.2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0;
    /* Reset padding */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    line-height: 1.6;
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-header.active+.accordion-content {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}

/* Footer - Premium Redesign */
.site-footer {
    background-color: #080808;
    /* Darker, richer black */
    color: #999;
    padding: 5rem 2rem 2rem;
    font-size: 0.95rem;
    border-top: 1px solid #1a1a1a;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient accent at top of footer */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.5;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact h3 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
}

.footer-contact h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
    margin-top: 10px;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--color-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2px;
    transition: border-color 0.3s, color 0.3s;
}

.footer-contact a:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Label for links sections (optional pseudo-element since not in HTML) */
.footer-links::before,
.footer-legal::before {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
    opacity: 0.8;
}

.footer-links::before {
    content: 'Explore';
}

.footer-legal::before {
    content: 'Legal';
}

.footer-links a,
.legal-link-btn {
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    position: relative;
    padding-left: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.footer-links a:hover,
.legal-link-btn:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

/* Footer Bottom Area */
.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.ad-disclaimer {
    font-size: 0.7rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 0;
    font-style: normal;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.ad-disclaimer:hover {
    opacity: 1;
}

.ad-disclosure-text {
    font-size: 0.65rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid #222;
    padding: 8px 12px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: rgba(255, 255, 255, 0.02);
}

.ad-disclosure-text::before {
    content: '!';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: #333;
    color: #aaa;
    border-radius: 50%;
    text-align: center;
    line-height: 14px;
    margin-right: 8px;
    font-size: 10px;
    font-weight: bold;
}

.copyright {
    color: #555;
    margin-top: 0;
    font-size: 0.8rem;
    font-family: var(--font-body);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
}

.cookie-btn.accept {
    background-color: var(--color-dark);
    color: var(--color-white);
    border: none;
}

.cookie-btn.reject {
    background-color: transparent;
    border: 1px solid var(--color-dark);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: #fefefe;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--color-dark);
}

/* Responsive Styles */
@media (min-width: 768px) {
    .site-header {
        padding: 0;
    }

    .desktop-nav {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .header-cta {
        display: inline-block;
    }

    /* Update Hero for Desktop - Angled Background visible */
    .hero-section {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 0;
        /* Remove padding, let container handle it or use full width background */
        height: 90vh;
        background: transparent;
        /* Background on body or wrapper */
    }

    .hero-section::before {
        display: block;
        /* Show the angled shape */
    }

    /* Container for hero content to keep it centered but split */
    .hero-content {
        flex: 1;
        text-align: left;
        padding-left: 10%;
        /* Visual offset */
        z-index: 10;
        max-width: 50%;
    }

    .hero-image-wrapper {
        flex: 1.2;
        /* Image takes slightly more space */
        justify-content: flex-end;
        padding-right: 5%;
        height: 100%;
        align-items: center;
        display: flex;
    }

    .hero-image {
        max-width: 120%;
        /* Bleed slightly */
        transform: translateX(0);
    }

    .about-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 grid */
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cookie-banner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cookie-buttons {
        width: auto;
    }

    /* Footer Desktop Grid */
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
        /* Brand section wider */
        gap: 4rem;
    }

    .footer-bottom {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-end;
    }

    .ad-disclaimer {
        width: 100%;
        /* Disclaimer stays full width at top of bottom section */
        margin-bottom: 0.5rem;
    }

    .ad-disclosure-text {
        order: 2;
        /* Move to right or keep order? Let's keep distinct */
    }

    .copyright {
        order: 1;
        margin-right: auto;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}