/* 
 * Gears & Denim - Styles
 * Minimal, clean, "store-like" design with denim-blue accents
 */

/* TODO: CSS Variables for Design System */
:root {
    /* Dark Theme Color Palette */
    --primary-bg: #0f0f0f;           /* Very dark background */
    --secondary-bg: #1a1a1a;        /* Slightly lighter dark background */
    --card-bg: #202020;             /* Card background */
    --primary-text: #ffffff;        /* White text */
    --secondary-text: #b3b3b3;      /* Light gray text for descriptions */
    --accent-color: #4a90e2;        /* Brighter blue accent for dark theme */
    --border-color: #333333;        /* Dark borders */
    --hover-bg: #2a2a2a;           /* Hover background */
    
    /* Layout */
    --max-width: 1200px;            /* Max content width ~1100–1200px */
    --padding-mobile: 1rem;         /* Mobile padding */
    --padding-desktop: 2rem;        /* Desktop padding */
    
    /* Typography */
    --font-family-headings: Arial, Helvetica, sans-serif; /* Bold, condensed sans-serif style */
    --font-family-body: Arial, Helvetica, sans-serif;     /* Clean, readable sans-serif */
    --line-height-body: 1.6;                              /* Comfortable line-height */
    
    /* Spacing */
    --section-spacing: 4rem;        /* Consistent vertical rhythm */
    --card-gap: 2rem;              /* Gap between product cards */
}

/* TODO: Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-body);
    line-height: var(--line-height-body);
    color: var(--primary-text);
    background-color: var(--primary-bg);
}

/* TODO: Typography Styles */
/* Headings: bold, condensed sans-serif style; uppercase allowed for section headings (store signage vibe) */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* TODO: Layout Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-mobile);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--padding-desktop);
    }
}

/* TODO: Header Navigation Styles */
/* Header with full-width image and overlay navigation */
.site-header {
    position: relative;
    width: 100%;
}

.header-image {
    width: 100%;
    height: 200px; /* Adjust height as needed */
    object-fit: cover;
    object-position: center;
    display: block;
}

.header-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 1rem 0;
}

.header-nav .nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

@media (min-width: 768px) {
    .header-image {
        height: 250px;
    }
}

@media (min-width: 1024px) {
    .header-image {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .header-nav .nav-list {
        gap: 1rem;
        font-size: 0.875rem;
        flex-wrap: wrap;
    }
}

/* TODO: Footer Styles */
/* Footer: repeat nav in small text; copyright */
.site-footer {
    background-color: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0 1rem;
    margin-top: var(--section-spacing);
}

.footer-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-brand-logo:hover {
    opacity: 1;
}

.footer-nav {
    margin-bottom: 1rem;
}

.footer-nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.footer-link {
    text-decoration: none;
    color: var(--secondary-text);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: var(--secondary-text);
}

@media (max-width: 767px) {
    .footer-nav-list {
        gap: 1rem;
        font-size: 0.75rem;
    }
}

/* TODO: Grid System for Products */
/* Responsive grid: 2 columns on small screens, 3 on medium, 4 on desktop for product cards */
.product-grid {
    display: grid;
    gap: var(--card-gap);
    grid-template-columns: repeat(2, 1fr); /* Mobile: 2 columns */
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr); /* Medium: 3 columns */
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr); /* Desktop: 4 columns */
    }
}

/* TODO: Product Card Styles */
/* Product cards: Square image area, title, description, price, marketplace icons */
.product-card {
    /* TODO: Basic card styling */
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect: subtle elevation (shadow) and very slight scale to mimic "picking up" an item in-store */
.product-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
    background-color: var(--hover-bg);
}

.product-image {
    /* Square image area */
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    /* Title (1–2 lines) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-size: 0.875rem;
    color: var(--secondary-text);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* TODO: Marketplace Icons Styles */
/* Marketplace icons row (required order): eBay, Depop, Poshmark, Etsy */
.marketplace-icons {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.marketplace-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    padding: 4px;
    transition: opacity 0.3s ease, transform 0.2s ease;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.marketplace-icon:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Specific styling for different marketplace icons */
.external-link:first-child .marketplace-icon {
    /* eBay - Enhanced white background */
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.external-link:nth-child(2) .marketplace-icon {
    /* Depop - Slight pink tint */
    background-color: rgba(255, 255, 255, 0.9);
}

.external-link:nth-child(3) .marketplace-icon {
    /* Poshmark - Slight purple tint */
    background-color: rgba(255, 255, 255, 0.9);
}

.external-link:nth-child(4) .marketplace-icon {
    /* Etsy - Orange tint */
    background-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
    .marketplace-icon {
        width: 24px;
        height: 24px;
        padding: 3px;
    }
}

/* TODO: Hero Video Styles */
/* Hero section with auto-playing background video and clickable modal */
.hero {
    position: relative;
    margin-bottom: var(--section-spacing);
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.hero-background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    opacity: 0.4; /* Subtle background effect */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 3;
    padding: 2rem;
    max-width: 800px;
}

.hero-tagline {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.play-button {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.play-button:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--secondary-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-tagline {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .video-modal-content {
        max-width: 80%;
        max-height: 80%;
    }
}

@media (min-width: 1024px) {
    .hero {
        height: 80vh;
        min-height: 600px;
    }
    
    .video-modal-content {
        max-width: 70%;
        max-height: 70%;
    }
}

/* TODO: Image Modal for Testimonials */
/* Image modal for viewing testimonials in larger size */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    color: var(--primary-text);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: var(--accent-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--primary-text);
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 2001;
}

.image-modal-close:hover {
    background: var(--primary-text);
    color: var(--accent-color);
    transform: scale(1.1);
}

.modal-testimonial-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Responsive adjustments for image modal */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
        max-height: 95%;
        padding: 0.5rem;
    }
    
    .image-modal-close {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .image-modal-content {
        max-width: 80%;
        max-height: 80%;
    }
}

/* TODO: Section Spacing */
/* Section spacing: consistent vertical rhythm; clear headings */
.section {
    margin-bottom: var(--section-spacing);
}

/* Dark theme section styling */
.section:nth-child(even) {
    background-color: var(--secondary-bg);
    padding: 3rem 0;
}

.section:nth-child(odd) {
    background-color: var(--primary-bg);
    padding: 3rem 0;
}

/* Special styling for shipping highlight */
.shipping-highlight {
    background-color: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.shipping-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2.5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.shipping-icon {
    color: var(--accent-color);
    flex-shrink: 0;
}

.shipping-content {
    text-align: left;
}

.shipping-title {
    color: var(--primary-text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.shipping-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.shipping-region {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.shipping-region:last-child {
    border-bottom: none;
}

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

.delivery-time {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.95rem;
}

.shipping-extras {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.shipping-note {
    margin-bottom: 0.5rem;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.shipping-note strong {
    color: var(--primary-text);
}

/* Responsive adjustments for shipping section */
@media (max-width: 768px) {
    .shipping-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .shipping-content {
        text-align: center;
        width: 100%;
    }
    
    .shipping-region {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
    
    .shipping-title {
        font-size: 1.3rem;
    }
}

/* TODO: Customer Reviews Section */
/* Customer testimonials with image testimonials */
.customer-reviews {
    background-color: var(--secondary-bg);
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.testimonial-image:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-item {
        padding: 1rem;
    }
    
    .customer-reviews {
        padding: 3rem 0;
    }
}

/* Ensure testimonials fit well on smaller screens */
@media (max-width: 480px) {
    .testimonials-grid {
        gap: 1rem;
    }
    
    .testimonial-item {
        padding: 0.75rem;
    }
    
    .testimonial-image {
        max-width: 100%;
        height: auto;
    }
}

/* TODO: Utility Classes */
.text-center {
    text-align: center;
}

.accent-color {
    color: var(--accent-color);
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* TODO: Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--primary-text);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #357abd;
    transform: translateY(-2px);
}

/* External links must open in new tab and include appropriate rel for security */
/* This class is applied to external marketplace links */
.external-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* TODO: Accessibility */
/* Ensure focus states are visible for keyboard navigation */
:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* TODO: Responsive Design Adjustments */
@media (max-width: 767px) {
    :root {
        --section-spacing: 2rem;
        --card-gap: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* TODO: Print Styles */
@media print {
    .hero-video {
        display: none;
    }
}

/*
 * Additional TODOs for Implementation:
 * 
 * 1. Header Layout: 
 *    - Left: Brand lockup (logo + text)
 *    - Right: Navigation menu
 *    - Mobile: Hamburger menu if needed
 * 
 * 2. Footer Layout:
 *    - Small text navigation
 *    - Copyright notice
 * 
 * 3. Product Grid Spacing:
 *    - Ensure proper gaps between cards
 *    - Responsive behavior
 * 
 * 4. Video Fallbacks:
 *    - Poster image (gear-denim-header.webp)
 *    - Controls visibility
 * 
 * 5. Icon Sizing:
 *    - Consistent marketplace icon sizes
 *    - Proper alignment in card footer
 * 
 * 6. Accessibility:
 *    - Alt text for all images
 *    - Keyboard navigation
 *    - Screen reader compatibility
 */

/* Dark Theme Form Styling */
.contact-form-element {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--primary-text);
    font-family: inherit;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--hover-bg);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--secondary-text);
}

/* Contact page layout */
.contact-content {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact-methods {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.direct-contact {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
}

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

/* Response time section styling */
.response-info {
    background-color: var(--secondary-bg);
    padding: 3rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.response-details {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .response-details {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.response-promise {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--accent-color), #357abd);
    border-radius: 8px;
    color: var(--primary-text);
}

.response-guarantee {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

/* TODO: About Page Specific Styles */
/* Improve spacing and styling for about page marketplace links */

.brand-story .story-text {
    max-width: 100%;
    margin: 0 auto;
}

.brand-story .story-text h2 {
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: var(--primary-text);
    text-align: center;
}

.brand-story .story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.marketplace-links {
    margin-top: 3rem;
    padding: 2.5rem;
    background-color: var(--secondary-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.marketplace-links h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.4rem;
    text-align: center;
}

.marketplace-links > p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-text);
}

.marketplace-link-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.marketplace-link-list li {
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.marketplace-link-list li:hover {
    background-color: var(--hover-bg);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.marketplace-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--primary-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.marketplace-link:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.marketplace-link .marketplace-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* About page sections spacing improvements */
.brand-story.section {
    padding: 4rem 0;
}

.brand-story-video.section {
    padding: 4rem 0;
    background-color: var(--secondary-bg);
}

.video-intro {
    color: var(--secondary-text);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.video-preview {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.story-preview-video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    transition: background 0.3s ease;
}

.video-preview:hover .video-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.play-button-large {
    margin-bottom: 1rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.play-button-large:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.video-cta {
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.brand-visuals.section {
    padding: 3rem 0;
    background-color: var(--secondary-bg);
}

.brand-logo-large {
    max-width: 200px;
    opacity: 0.8;
}

.location-shipping.section {
    padding: 4rem 0;
}

.location-content h2 {
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: center;
}

.location-details h3 {
    margin: 2rem 0 1rem 0;
    color: var(--primary-text);
}

.shipping-times {
    list-style: none;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.shipping-times li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
}

.shipping-times li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* TODO: Policies Page Specific Styles */
/* Modern card-based layout for policies */

.page-header {
    padding: 3rem 0 2rem;
    background-color: var(--secondary-bg);
    border-bottom: 1px solid var(--border-color);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-top: 1rem;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
}

.policies-overview {
    padding: 4rem 0;
}

.policies-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.policy-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.policy-icon {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.policy-card h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.policy-highlight {
    text-align: center;
    color: var(--secondary-text);
    margin-bottom: 2rem;
    font-style: italic;
}

/* Shipping zones styling */
.shipping-zones {
    margin: 2rem 0;
}

.shipping-zone {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--secondary-bg);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-color);
}

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

.zone-time {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.95rem;
}

/* Policy details styling */
.policy-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.policy-feature {
    margin-bottom: 0.75rem;
    color: var(--secondary-text);
    font-size: 0.95rem;
}

.policy-feature strong {
    color: var(--primary-text);
}

/* Marketplace returns styling */
.marketplace-returns {
    margin: 2rem 0;
}

.marketplace-return {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--secondary-bg);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-color);
}

.marketplace-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.marketplace-small-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2px;
}

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

.return-status {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.return-status.accepted {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.return-status.final {
    background-color: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

/* Authenticity features styling */
.authenticity-features {
    margin: 2rem 0;
}

.authenticity-item {
    padding: 1rem;
    background-color: var(--secondary-bg);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-color);
}

.feature-title {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.feature-desc {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

.policy-note {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--secondary-bg);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    color: var(--secondary-text);
    font-size: 0.9rem;
    font-style: italic;
}

/* Policy contact section */
.policy-contact {
    background-color: var(--secondary-bg);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.policy-contact h2 {
    margin-bottom: 1rem;
}

.policy-contact p {
    margin-bottom: 2rem;
    color: var(--secondary-text);
}

/* Responsive design for policies */
@media (min-width: 768px) {
    .policies-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .policy-icon {
        justify-content: flex-start;
    }
    
    .policy-card h2 {
        text-align: left;
    }
    
    .policy-highlight {
        text-align: left;
    }
    
    .marketplace-link-list {
        grid-template-columns: 1fr 1fr;
        max-width: 600px;
        gap: 1.5rem;
    }
    
    .location-content {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .policies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .policy-card {
        min-height: 500px;
    }
}