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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-image[data-image="0"] {
    background-image: url('https://images.pexels.com/photos/28512787/pexels-photo-28512787.jpeg');
}

.hero-image[data-image="1"] {
    background-image: url('https://images.unsplash.com/photo-1571908599407-cdb918ed83bf?crop=entropy&cs=srgb&fm=jpg&ixid=M3w3NTY2OTF8MHwxfHNlYXJjaHwxfHxldGhuaWMlMjB3ZWFyfGVufDB8fHx8MTc2OTUwOTA4MHww&ixlib=rb-4.1.0&q=85');
}

.hero-image[data-image="2"] {
    background-image: url('https://images.pexels.com/photos/28512779/pexels-photo-28512779.jpeg');
}

.hero-image.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 34, 28, 0.85) 0%,
        rgba(107, 78, 55, 0.75) 50%,
        rgba(196, 181, 160, 0.65) 100%
    );
    backdrop-filter: blur(2px);
    z-index: 2;
}

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

.hero-text-wrapper {
    animation: fadeInUp 1s ease-out;
}

.brand-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.badge-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #D4AF37;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Times New Roman', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    color: #FAF9F7;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 2px 2px 20px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    color: #D4C4B0;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: rgba(250, 249, 247, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 450px;
    margin: 0 auto;
}

.form-group {
    position: relative;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8B7D6B;
    z-index: 2;
    pointer-events: none;
}

.hero-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 196, 176, 0.3);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #2C2C2C;
    transition: all 0.3s ease;
}

.hero-input.with-icon {
    padding-left: 3rem;
}

.hero-input:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.hero-input::placeholder {
    color: #8B7D6B;
}

.cta-button {
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #D4AF37 0%, #C4965B 100%);
    color: #2C2C2C;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, #E0BA44 0%, #D4A968 100%);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-disclaimer {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #D4C4B0;
    text-align: center;
    margin-top: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid #D4AF37;
    border-bottom: 2px solid #D4AF37;
    transform: rotate(-45deg);
}

/* Product Grid Section */
.product-grid-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #FAF9F7 0%, #F5F3F0 100%);
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 300;
    color: #2C2C2C;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #6B4E37;
    font-weight: 300;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(107, 78, 55, 0.2);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(44, 34, 28, 0.9) 0%,
        rgba(107, 78, 55, 0.85) 100%
    );
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    padding: 2rem;
    color: #FAF9F7;
}

.fabric-swatch {
    margin-bottom: 2rem;
    animation: fadeInUp 0.5s ease;
}

.swatch-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.swatch-info {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #FAF9F7;
    line-height: 1.6;
}

.price-reveal {
    animation: fadeInUp 0.6s ease;
}

.price-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #D4AF37;
    font-weight: 400;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #2C2C2C;
    margin-bottom: 0.5rem;
}

.product-detail {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #6B4E37;
    font-weight: 300;
}

/* Brand Story Section */
.brand-story-section {
    padding: 6rem 2rem;
    background: #FFFFFF;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content {
    padding: 2rem 0;
}

.story-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #D4AF37;
    margin-bottom: 2rem;
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    color: #2C2C2C;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.story-text {
    font-family: 'Montserrat', sans-serif;
}

.story-paragraph {
    font-size: 1.1rem;
    color: #6B4E37;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.story-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
}

.highlight-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #2C2C2C;
    font-weight: 500;
}

.artisan-gallery {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    animation: fadeInScale 0.6s ease forwards;
    opacity: 0;
}

.gallery-item:nth-child(1) { animation-delay: 0s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-item:nth-child(4) { animation-delay: 0.3s; }

.gallery-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* Social Proof Section */
.social-proof-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #FAF9F7 0%, #F5F3F0 100%);
}

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

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #D4AF37 0%, #C4965B 100%);
    color: #2C2C2C;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.proof-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 300;
    color: #2C2C2C;
    margin-bottom: 1rem;
}

.proof-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #6B4E37;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.instagram-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.instagram-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 175, 55, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #2C2C2C;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #D4AF37 0%, #C4965B 100%);
    color: #2C2C2C;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
    margin: 0 auto;
    display: flex;
    width: fit-content;
}

.instagram-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
}

/* Footer */
.footer {
    background: #2C2C2C;
    color: #FAF9F7;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 300;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #D4C4B0;
    line-height: 1.6;
}

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

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #D4AF37;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #D4C4B0;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #D4AF37;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-list li {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #D4C4B0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 196, 176, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #8B7D6B;
}

.footer-trust {
    display: flex;
    gap: 1.5rem;
}

.trust-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #D4AF37;
    font-weight: 500;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #FFFFFF;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-icon {
    font-size: 1.25rem;
}

.toast-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #2C2C2C;
    font-weight: 500;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .story-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
