/* Global Collective Styles - Serena & Lily Inspired Clean Aesthetic */

:root {
    /* Clean Minted-inspired color palette */
    --collective-primary: #2d3436; /* Sophisticated charcoal */
    --collective-secondary: #636e72; /* Refined gray */
    --collective-accent: #74b9ff; /* Clean blue accent */
    --collective-light: #ffffff; /* Pure white */
    --collective-dark: #2d3436; /* Deep charcoal */
    --collective-neutral: #636e72; /* Soft gray */
    --collective-cream: #fefefe; /* Off white */
    --collective-linen: #f8f9fa; /* Light linen */
    --collective-canvas: #ffffff; /* Canvas white */
    --collective-warm-white: #fdfcfb; /* Warm white */
    --collective-soft-gray: #e9ecef; /* Soft gray */
    --collective-border: #dee2e6; /* Clean border */
    
    /* Refined shadows and spacing */
    --collective-shadow-light: 0 2px 8px rgba(0,0,0,0.06);
    --collective-shadow-medium: 0 4px 16px rgba(0,0,0,0.08);
    --collective-shadow-strong: 0 8px 32px rgba(0,0,0,0.12);
    --collective-border-radius: 8px;
    --collective-border-radius-large: 16px;
    
    /* Typography scale */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
}

/* Header Navigation - Matching Main Site */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(44, 85, 48, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--collective-primary) 0%, var(--collective-sage) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: var(--collective-border-radius-large);
    box-shadow: var(--collective-shadow-medium);
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.logo:hover::before {
    left: 100%;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    color: var(--collective-light);
    font-weight: 600;
    font-size: var(--font-size-xl);
    letter-spacing: -0.02em;
}

.collective-text {
    color: var(--collective-accent);
    font-weight: 400;
    font-style: italic;
    font-size: var(--font-size-base);
    opacity: 0.9;
}

nav ul.main-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

nav ul.main-nav li {
    position: relative;
}

nav ul.main-nav a {
    text-decoration: none;
    color: var(--collective-neutral);
    font-weight: 500;
    font-size: var(--font-size-sm);
    letter-spacing: 0.02em;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

nav ul.main-nav a:hover,
nav ul.main-nav a.active {
    color: var(--collective-primary);
}

nav ul.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--collective-primary), var(--collective-accent));
    transition: width 0.3s ease;
}

nav ul.main-nav a:hover::after,
nav ul.main-nav a.active::after {
    width: 100%;
}

.back-link {
    background: linear-gradient(135deg, var(--collective-primary) 0%, var(--collective-sage) 100%) !important;
    color: var(--collective-light) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--collective-border-radius) !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: var(--collective-shadow-medium);
    position: relative;
    overflow: hidden;
}

.back-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.back-link:hover::before {
    left: 100%;
}

.back-link::after {
    display: none !important;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--collective-primary);
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: var(--collective-light);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--collective-primary);
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 3rem 0 0 0;
}

.mobile-nav-list li {
    margin-bottom: 1.5rem;
}

.mobile-nav-list a {
    text-decoration: none;
    color: var(--collective-primary);
    font-size: var(--font-size-lg);
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(44, 85, 48, 0.1);
}

/* Adjust body padding for fixed header */
body {
    padding-top: 100px;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    nav ul.main-nav {
        display: none;
    }
    
    header .container {
        padding: 1rem;
    }
    
    body {
        padding-top: 80px;
    }
}

/* Hero Section - Clean & Airy */
.hero-section {
    min-height: 80vh;
    background: var(--collective-cream);
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 0 4rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 400;
    color: var(--collective-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--collective-neutral);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Collections Section - Minted Inspired Grid */
.collections-section {
    padding: 5rem 0;
    background: var(--collective-light);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 400;
    color: var(--collective-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--collective-neutral);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Category Filter - Minted Style */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--collective-neutral);
    background: transparent;
    color: var(--collective-neutral);
    border-radius: var(--collective-border-radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--collective-primary);
    color: var(--collective-light);
    border-color: var(--collective-primary);
}

/* Artwork Grid - Minted Layout */
.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Artwork Cards - Clean Serena & Lily Style */
.artwork-card {
    background: var(--collective-light);
    border-radius: var(--collective-border-radius);
    overflow: hidden;
    box-shadow: var(--collective-shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.artwork-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--collective-shadow-medium);
}

.artwork-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--collective-secondary);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Category-specific backgrounds */
.stationery-bg {
    background: linear-gradient(135deg, var(--collective-sage), var(--collective-accent));
}

.tote-bg {
    background: linear-gradient(135deg, var(--collective-terracotta), var(--collective-primary));
}

.napkin-bg {
    background: linear-gradient(135deg, var(--collective-accent), var(--collective-sage));
}

.artwork-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.artwork-card:hover .artwork-overlay {
    transform: translateY(0);
}

.artist-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    opacity: 0.9;
}

.artwork-content {
    padding: 1.5rem;
}

.artwork-title {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--collective-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.artwork-description {
    font-size: var(--font-size-sm);
    color: var(--collective-neutral);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.artwork-price {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--collective-primary);
    margin-bottom: 1rem;
}

/* Buttons - Serena & Lily Style */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--collective-border-radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--collective-primary);
    color: var(--collective-light);
}

.btn-primary:hover {
    background: var(--collective-sage);
    transform: translateY(-1px);
    box-shadow: var(--collective-shadow-light);
}

.btn-secondary {
    background: transparent;
    color: var(--collective-primary);
    border: 1px solid var(--collective-primary);
}

.btn-secondary:hover {
    background: var(--collective-primary);
    color: var(--collective-light);
}

.btn-accent {
    background: var(--collective-accent);
    color: var(--collective-light);
}

.btn-accent:hover {
    background: var(--collective-terracotta);
    transform: translateY(-1px);
    box-shadow: var(--collective-shadow-light);
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 4rem 0 3rem;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: var(--font-size-2xl);
    }
    
    .category-filter {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: var(--font-size-xs);
    }
    
    .artwork-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .artwork-content {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .category-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
        text-align: center;
    }
}

@media (min-width: 1200px) {
    .artwork-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card-float:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.product-card-float:nth-child(2) {
    bottom: 50px;
    left: 0;
    animation-delay: 2s;
}

.product-card-float:nth-child(3) {
    bottom: 50px;
    right: 0;
    animation-delay: 4s;
}

.product-card-float i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* Button Styles */
.btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--collective-gradient);
    color: white;
    box-shadow: var(--collective-shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-customize {
    background: linear-gradient(45deg, var(--collective-warm), var(--collective-purple));
    color: white;
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--collective-secondary);
    border: 2px solid var(--collective-secondary);
}

.btn-outline:hover {
    background: var(--collective-secondary);
    color: white;
}

/* Sections */
.products-section, .customize-section, .gallery-section {
    padding: 100px 0;
    position: relative;
}

.products-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.customize-section {
    background: linear-gradient(180deg, #ffffff 0%, #f1f3f4 100%);
}

.gallery-section {
    background: linear-gradient(180deg, #f1f3f4 0%, #e8eaf6 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--collective-dark);
    margin-bottom: 20px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--collective-gradient);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Grid */
.product-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.product-category {
    background: white;
    border-radius: var(--collective-border-radius);
    padding: 40px;
    box-shadow: var(--collective-shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-header h3 {
    font-size: 1.8rem;
    color: var(--collective-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.category-header h3 i {
    color: var(--collective-primary);
    font-size: 1.5rem;
}

.category-header p {
    color: #666;
    font-size: 1.1rem;
}

.product-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--collective-secondary);
}

.product-image {
    margin-bottom: 20px;
}

.placeholder-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.tote-bg {
    background: linear-gradient(135deg, var(--collective-primary), var(--collective-warm));
}

.card-bg {
    background: linear-gradient(135deg, var(--collective-secondary), var(--collective-accent));
}

.napkin-bg {
    background: linear-gradient(135deg, var(--collective-purple), var(--collective-green));
}

.product-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--collective-dark);
    margin-bottom: 10px;
}

.product-item p {
    color: #666;
    margin-bottom: 15px;
}

.product-features {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature {
    background: var(--collective-gradient);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Customization Demo */
.customization-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    background: white;
    border-radius: var(--collective-border-radius);
    padding: 40px;
    box-shadow: var(--collective-shadow);
}

.demo-product {
    position: sticky;
    top: 100px;
}

.product-preview {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-canvas {
    position: relative;
    width: 250px;
    height: 250px;
}

.preview-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-size: 4rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.preview-item.active {
    opacity: 1;
    transform: scale(1);
}

.custom-logo {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.customization-controls {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.control-group h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--collective-dark);
    margin-bottom: 15px;
}

.product-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-btn {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-btn:hover {
    border-color: var(--collective-secondary);
    transform: translateY(-2px);
}

.product-btn.active {
    background: var(--collective-gradient);
    color: white;
    border-color: transparent;
}

.custom-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.custom-input:focus {
    outline: none;
    border-color: var(--collective-secondary);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.color-palette {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: white;
    box-shadow: 0 0 0 3px var(--collective-dark);
}

.quantity-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.qty-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.qty-btn:hover {
    border-color: var(--collective-accent);
}

.qty-btn.active {
    background: var(--collective-accent);
    color: white;
    border-color: transparent;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Hero Section - Clean Minted-Inspired Design */
.hero-section {
    background: linear-gradient(135deg, var(--collective-canvas) 0%, var(--collective-warm-white) 50%, var(--collective-linen) 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(45, 52, 54, 0.02) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(116, 185, 255, 0.03) 0%, transparent 60%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><filter id="subtleNoise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="1" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter></defs><rect width="100%" height="100%" filter="url(%23subtleNoise)" opacity="0.015"/></svg>');
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-0.5deg); }
}

/* Hero Image Layers - Minted-Inspired Visual Design */
.hero-image-layers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-image-card {
    position: absolute;
    background: var(--collective-canvas);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(45, 52, 54, 0.1);
    border: 1px solid var(--collective-border);
    overflow: hidden;
    transition: all 0.6s ease;
}

.hero-image-1 {
    width: 280px;
    height: 200px;
    top: 15%;
    right: 8%;
    transform: rotate(3deg);
    animation: float1 8s ease-in-out infinite;
}

.hero-image-2 {
    width: 240px;
    height: 180px;
    top: 45%;
    right: 15%;
    transform: rotate(-2deg);
    animation: float2 10s ease-in-out infinite;
}

.hero-image-3 {
    width: 200px;
    height: 160px;
    top: 25%;
    left: 5%;
    transform: rotate(-4deg);
    animation: float3 12s ease-in-out infinite;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--collective-linen) 0%, var(--collective-soft-gray) 100%);
    color: var(--collective-secondary);
    font-size: 0.9rem;
    text-align: center;
    gap: 0.5rem;
}

.image-placeholder i {
    font-size: 2rem;
    opacity: 0.6;
}

.image-placeholder span {
    font-weight: 500;
    opacity: 0.8;
}

@keyframes float1 {
    0%, 100% { transform: rotate(3deg) translateY(0px); }
    50% { transform: rotate(3deg) translateY(-10px); }
}

@keyframes float2 {
    0%, 100% { transform: rotate(-2deg) translateY(0px); }
    50% { transform: rotate(-2deg) translateY(-15px); }
}

@keyframes float3 {
    0%, 100% { transform: rotate(-4deg) translateY(0px); }
    50% { transform: rotate(-4deg) translateY(-8px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-family: 'Crimson Text', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    color: var(--collective-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--collective-dark) 0%, var(--collective-primary) 70%, var(--collective-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -30px;
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.7; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--collective-neutral);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    border-radius: var(--collective-border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-base);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--collective-primary);
    color: white;
    box-shadow: 0 2px 12px rgba(45, 52, 54, 0.15);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(45, 52, 54, 0.25);
    background: var(--collective-secondary);
}

.btn-secondary {
    background: var(--collective-canvas);
    color: var(--collective-primary);
    border: 1px solid var(--collective-border);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--collective-linen);
    border-color: var(--collective-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(45, 52, 54, 0.1);
}

/* Hero Features Grid */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--collective-border-radius-large);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(44, 85, 48, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.02) 0%, rgba(78, 205, 196, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--collective-shadow-medium);
    border-color: rgba(44, 85, 48, 0.2);
}

.hero-feature:hover::before {
    opacity: 1;
}

.hero-feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--collective-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 52, 54, 0.15);
}

.hero-feature:hover .hero-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.hero-feature h3 {
    font-family: 'Crimson Text', serif;
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--collective-dark);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.hero-feature p {
    color: var(--collective-neutral);
    line-height: 1.5;
    font-size: var(--font-size-sm);
    position: relative;
    z-index: 2;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 80px;
        min-height: 70vh;
    }
    
    .hero-container {
        gap: 3rem;
        padding: 0 1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-feature {
        padding: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Gallery - Clean Minted-Inspired Design */
.gallery-section {
    background: var(--collective-canvas);
    padding: 6rem 0;
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--collective-canvas) 0%, var(--collective-linen) 100%);
    opacity: 0.5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--collective-border-radius-large);
    overflow: hidden;
    box-shadow: var(--collective-shadow-light);
    border: 1px solid rgba(44, 85, 48, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.02) 0%, rgba(212, 165, 116, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--collective-shadow-strong);
    border-color: rgba(44, 85, 48, 0.15);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-image {
    height: 240px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.placeholder-gallery {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-item:hover .placeholder-gallery {
    transform: scale(1.05);
}

.tote-example {
    background: linear-gradient(135deg, var(--collective-primary) 0%, var(--collective-sage) 100%);
}

.card-example {
    background: linear-gradient(135deg, var(--collective-accent) 0%, var(--collective-terracotta) 100%);
}

.napkin-example {
    background: linear-gradient(135deg, var(--collective-terracotta) 0%, var(--collective-accent) 100%);
}

.mixed-example {
    background: linear-gradient(135deg, var(--collective-sage) 0%, var(--collective-primary) 100%);
}

.placeholder-gallery i {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.placeholder-gallery span {
    font-size: var(--font-size-base);
    font-weight: 400;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

.gallery-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.gallery-info h4 {
    font-family: 'Crimson Text', serif;
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--collective-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.gallery-info p {
    color: var(--collective-neutral);
    line-height: 1.6;
    font-size: var(--font-size-sm);
    max-width: 280px;
    margin: 0 auto;
}

/* Gallery Section Header Enhancement */
.gallery-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.gallery-section .section-header h2 {
    font-family: 'Crimson Text', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--collective-dark);
    margin-bottom: 1.5rem;
    position: relative;
    background: linear-gradient(135deg, var(--collective-dark) 0%, var(--collective-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--collective-primary), var(--collective-accent));
    border-radius: 2px;
}

.gallery-section .section-header p {
    font-size: var(--font-size-lg);
    color: var(--collective-neutral);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-item {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .gallery-info {
        padding: 1.5rem;
    }
}

/* Footer */
.footer-collective {
    background: var(--collective-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--collective-secondary);
}

.footer-section p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--collective-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .customization-demo {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .demo-product {
        position: static;
    }
    
    .product-items {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .floating-cards {
        width: 250px;
        height: 250px;
    }
    
    .product-card-float {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .product-card-float i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .product-selector,
    .quantity-selector {
        flex-direction: column;
    }
}
