:root {
    --navy: #1a2332;
    --navy-light: #2a3545;
    --cream: #faf8f5;
    --cream-dark: #f0ebe3;
    --gold: #c9a961;
    --gold-dark: #b8955a;
    --white: #ffffff;
    --text-dark: #2d2d2d;
    --text-light: #666666;
    
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Raleway', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.08);
    --shadow-md: 0 8px 24px rgba(26, 35, 50, 0.12);
    --shadow-lg: 0 16px 48px rgba(26, 35, 50, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Cotton Canvas Background */
#cotton-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #ffffff 0%, var(--cream) 50%, var(--cream-dark) 100%);
    opacity: 0.5;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 35, 50, 0.1);
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(250, 248, 245, 0.98);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--navy);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    text-align: center;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.hero-text h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 1s ease-out 0.8s both;
}

.scroll-indicator span {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-link {
    font-family: var(--font-body);
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--navy);
    color: var(--cream);
    padding: 1.1rem 2.5rem;
    border: 2px solid var(--navy);
}

.btn-primary:hover {
    background: transparent;
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-primary.large {
    padding: 1.4rem 3rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    padding: 1.1rem 2.5rem;
    border: 2px solid var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--cream);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-link {
    color: var(--gold);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.btn-link:hover::after {
    width: 100%;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--cream);
    border: 1px solid rgba(26, 35, 50, 0.1);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card[data-delay="100"].visible {
    animation-delay: 0.1s;
}

.feature-card[data-delay="200"].visible {
    animation-delay: 0.2s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--gold);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Featured Products */
.featured-products {
    padding: 8rem 0;
    background: var(--cream-dark);
}

.products-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.product-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.product-image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.2) 0%, transparent 70%);
}

.thread-count-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--navy);
    color: var(--cream);
    padding: 0.8rem 1.5rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.product-details {
    padding: 1rem;
}

.product-category {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-details h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.product-details p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.product-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.product-features-list span {
    font-size: 0.95rem;
    color: var(--text-dark);
}

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

.product-card {
    background: var(--white);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image-placeholder.small {
    aspect-ratio: 1;
    margin-bottom: 1.5rem;
}

.product-card h4 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    padding: 8rem 0;
    background: var(--white);
}

.testimonials h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    color: var(--navy);
    margin-bottom: 4rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--cream);
    padding: 2.5rem;
    border-left: 4px solid var(--gold);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.customer-name {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    text-align: center;
    color: var(--cream);
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.cta-section .btn-primary:hover {
    background: transparent;
    color: var(--gold);
}

/* Footer */
footer {
    background: var(--navy);
    color: var(--cream);
    padding: 5rem 0 2rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.footer-logo {
    font-size: 1.8rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.footer-col p {
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--cream);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col a:hover {
    opacity: 1;
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 248, 245, 0.3);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(250, 248, 245, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scrollPulse {
    0%, 100% {
        transform: scaleY(1);
        opacity: 1;
    }
    50% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-feature {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--cream);
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 5rem 1.5rem 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .features-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .dual-products {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
}
