/* CSS Reset & Variables */
:root {
    --color-bg-dark: #141113; /* Very dark plum/charcoal */
    --color-bg-light: #1c1518; /* Dark plum grey */
    --color-primary-agave: #8b3a58; /* Elegant Muted Rose/Plum */
    --color-primary-light: #b05c7a; /* Lighter Rose */
    --color-accent-gold: #e2bb82; /* Soft Gold */
    --color-accent-copper: #e5a494; /* Rose Gold */
    --text-main: #f9f6f7;
    --text-muted: #b8acb1;
    --glass-bg: rgba(28, 21, 24, 0.5);
    --glass-border: rgba(226, 187, 130, 0.15);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 600;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--color-accent-gold);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}

.p-5 {
    padding: 3rem 4rem;
}

.section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-copper));
    color: #fff;
    box-shadow: 0 4px 15px rgba(207, 170, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(207, 170, 102, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-accent-gold);
    color: var(--color-accent-gold);
}

.btn-outline:hover {
    background: rgba(207, 170, 102, 0.1);
}

/* Glassmorphism */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    color: var(--text-main);
}

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

.navbar.scrolled {
    background: rgba(20, 17, 19, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar .logo {
    font-size: 1.5rem;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 10%, rgba(139, 58, 88, 0.35) 0%, rgba(20, 17, 19, 1) 60%);
    z-index: 0;
}

.hero-bg-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(226, 187, 130, 0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(20, 17, 19, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 100px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(207, 170, 102, 0.15);
    border: 1px solid var(--color-accent-gold);
    color: var(--color-accent-gold);
    border-radius: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.event-details {
    display: flex;
    gap: 3rem;
    margin: 2.5rem 0;
    justify-content: center;
}

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

.detail-item i {
    font-size: 2.5rem;
    color: var(--color-primary-light);
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-text .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.detail-text .value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
}

/* About Section & Instructor Section */
.about-grid, .instructor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text p, .instructor-text p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* Topics Section */
.topics {
    background-color: var(--color-bg-light);
}

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

.topic-card {
    padding: 2.5rem 2rem;
    text-align: left;
    transition: var(--transition-smooth);
}

.topic-card:hover {
    transform: translateY(-10px);
    border-color: rgba(226, 187, 130, 0.4);
    background: rgba(28, 21, 24, 0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.topic-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(139, 58, 88, 0.4), rgba(226, 187, 130, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 58, 88, 0.6);
}

.topic-icon i {
    font-size: 1.8rem;
    color: var(--color-accent-gold);
}

.topic-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.topic-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA */
.waitlist-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
}

.input-glass {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-muted);
    color: #fff;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
}

.input-glass:focus {
    outline: none;
    border-bottom-color: var(--color-accent-gold);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards ease-out;
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; transition-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .event-details {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .p-5 {
        padding: 2rem 1.5rem;
    }
    
    .waitlist-form {
        flex-direction: column;
    }
    
    .navbar {
        padding: 1rem 5%;
    }

    .nav-links {
        display: none; /* Hide on mobile for simplicity, or add a hamburger menu if needed */
    }
}
