/* Hidden Mansion - E-commerce CSS */

:root {
    /* === Base Palette === */
    --black-deep: #0B0A09;
    --charcoal: #171515;
    --charcoal-soft: #1F1C1A;
    --burgundy-deep: #2A0F12;
    --burgundy: #3C2023;
    --burgundy-soft: #4A2A2E;
    --gold: #CBA135;
    --gold-soft: #E1C16E;
    --gold-muted: #A88A3A;
    --ivory: #F5F1E8;
    --ivory-soft: #EAE4D8;
    /* === Backgrounds === */
    --bg-main: var(--black-deep);
    --bg-section: var(--charcoal);
    --bg-elevated: var(--charcoal-soft);
    --bg-accent: var(--burgundy-deep);
    /* === Text === */
    --text-primary: var(--ivory);
    --text-secondary: var(--ivory-soft);
    --text-muted: #B8B2A6;
    --text-gold: var(--gold);
    /* === Borders / Lines === */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(203, 161, 53, 0.35);
    /* === Buttons === */
    --btn-bg: transparent;
    --btn-border: var(--gold);
    --btn-text: var(--gold);
    --btn-bg-hover: var(--gold);
    --btn-text-hover: #1A1612;
    /* === Overlays === */
    --overlay-dark: rgba(0, 0, 0, 0.55);
    --overlay-burgundy: rgba(42, 15, 18, 0.65);
    /* === Shadows / Glow === */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
    --glow-gold: 0 0 20px rgba(203, 161, 53, 0.25);
    /* === Gradients === */
    --gradient-hero: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(11, 10, 9, 0.85)
    );
    --gradient-burgundy: linear-gradient(
        135deg,
        #2A0F12,
        #3C2023
    );
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* === Header & Navigation === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 10, 9, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-gold);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.nav-menu .btn {
    border: 1px solid var(--btn-border);
    color: var(--btn-text);
    background: var(--btn-bg);
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu .btn:hover {
    background: var(--btn-bg-hover);
    color: var(--btn-text-hover);
}

/* === Mobile Menu === */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-gold);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle:hover span {
    background-color: var(--text-primary);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: rgba(11, 10, 9, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        padding: 4rem 2rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        border-left: 1px solid var(--border-gold);
        z-index: 1000;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.8rem 0;
        display: block;
        color: var(--text-primary);
        border-bottom: 1px solid rgba(203, 161, 53, 0.15);
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }
}

/* === Hero Section (E-commerce Version) === */
.hero {
    position: relative;
    height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(11, 10, 9, 0.7)), 
                url('/images/hm-couple-hero.jpg') center 30%/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: 80px;
}

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

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
}

.hero-tagline {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* === Button Hierarchy === */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    border: 2px solid var(--btn-border);
    color: var(--btn-text);
    background: var(--btn-bg);
    padding: 16px 40px;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.btn-primary:hover {
    background: var(--btn-bg-hover);
    color: var(--btn-text-hover);
    box-shadow: var(--glow-gold);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 32px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    border-color: var(--text-gold);
    color: var(--text-gold);
    background: rgba(203, 161, 53, 0.1);
}

.btn-tertiary {
    color: var(--text-secondary);
    background: transparent;
    padding: 8px 24px;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    border-bottom: 1px solid transparent;
}

.btn-tertiary:hover {
    color: var(--text-gold);
    border-bottom-color: var(--text-gold);
}

@media (min-width: 768px) {
    .hero-cta-group {
        flex-direction: row;
        gap: 2rem;
    }
}

/* === Section Styles === */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--bg-accent);
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Collection Grid === */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.collection-card {
    background: var(--bg-elevated);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
    border-color: var(--border-gold);
}

.collection-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collection-card:hover .collection-image img {
    transform: scale(1.05);
}

.collection-content {
    padding: 2rem;
}

.collection-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text-gold);
    margin-bottom: 1rem;
}

.collection-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.collection-price {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.collection-link {
    color: var(--text-gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.collection-link:hover {
    gap: 0.8rem;
}

/* === Feature Grid (Why Hidden Mansion) === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(203, 161, 53, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: rgba(203, 161, 53, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-gold);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

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

/* === Privacy Promise Section === */
.privacy-promise {
    background: linear-gradient(135deg, rgba(203, 161, 53, 0.08), rgba(203, 161, 53, 0.04));
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin: 2rem 0;
}

.privacy-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-gold);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.privacy-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.privacy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.privacy-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.privacy-feature strong {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.privacy-feature span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.privacy-link {
    color: var(--text-gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.privacy-link:hover {
    gap: 0.8rem;
}

/* === Digital Guides Grid === */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.guide-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.guide-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-gold);
}

.guide-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-gold);
    margin-bottom: 1rem;
}

.guide-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.guide-price {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.guide-link {
    color: var(--text-gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.guide-link:hover {
    gap: 0.8rem;
}

/* === Creator Collections === */
.creator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.creator-card {
    background: linear-gradient(135deg, rgba(42, 15, 18, 0.6), rgba(60, 32, 35, 0.4));
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.creator-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.creator-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text-gold);
    margin-bottom: 0.5rem;
}

.creator-title {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.creator-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: normal;
}

.creator-link {
    color: var(--text-gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.creator-link:hover {
    gap: 0.8rem;
}

/* === Coming Soon Section === */
.coming-soon {
    background: linear-gradient(135deg, rgba(203, 161, 53, 0.06), rgba(203, 161, 53, 0.02));
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
}

.coming-soon-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-gold);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.coming-soon-content > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.future-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.future-feature {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
}

.future-feature h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.future-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.coming-tag {
    color: var(--text-gold);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === Newsletter Signup === */
.newsletter-signup {
    background: rgba(42, 15, 18, 0.3);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
}

.newsletter-signup h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-gold);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.newsletter-signup > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto 1rem;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: 4px;
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--border-gold);
}

.newsletter-privacy {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* === Footer === */
.footer {
    background: var(--bg-main);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
}

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

.footer h3 {
    color: var(--text-gold);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--text-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === Content Sections (for other pages) === */
.main-content {
    padding: 4rem 0;
    min-height: 60vh;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-gold);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.content-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.cta-section {
    background: linear-gradient(135deg, rgba(203, 161, 53, 0.1), rgba(203, 161, 53, 0.05));
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
}

/* === Page Header === */
.page-header {
    background: linear-gradient(135deg, rgba(11, 10, 9, 0.9), rgba(11, 10, 9, 0.7)), 
                var(--bg-primary);
    padding: 8rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-gold);
    margin-top: 80px;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .hero {
        height: 75vh;
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

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

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

    .privacy-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .future-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.8rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

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

    .collection-card, .guide-card, .creator-card {
        margin: 0 -1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .privacy-promise, .coming-soon, .newsletter-signup {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

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

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.collection-card, .feature-card, .guide-card, .creator-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.collection-card:nth-child(1) { animation-delay: 0.1s; }
.collection-card:nth-child(2) { animation-delay: 0.2s; }
.collection-card:nth-child(3) { animation-delay: 0.3s; }

/* === Utility Classes === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
