/* Wonder Astrology - Main Styles */

:root {
    /* Deep navy base - from dark water */
    --navy-dark: #0d1f35;
    --navy-medium: #142838;
    --navy-light: #1e3a4f;

    /* Teal accents - from lily pads */
    --teal-dark: #1a5a6a;
    --teal-medium: #2a7a8c;
    --teal-light: #4a9dad;

    /* Golden highlights - from sparkles */
    --gold: #d4af37;
    --gold-light: #e6c656;
    --gold-glow: rgba(212, 175, 55, 0.3);

    /* Lotus pink/coral - warm accents */
    --lotus-pink: #f5d0c5;
    --lotus-peach: #e8b5a8;
    --lotus-coral: #c97b8a;

    /* UI colors */
    --accent: #4a9dad;
    --accent-hover: #5ab5c5;
    --soft-neutral: #f0f5f7;
    --text-dark: #142838;
    --text-light: #4a6070;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #2a6b7c 0%, #1e4a5f 20%, #1a3a4f 40%, #142838 60%, #0d1f35 80%, #0a1420 100%);
    min-height: 100vh;
    color: var(--text-dark);
    position: relative;
    overflow-x: hidden;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-medium);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--teal-medium);
}

/* Page Content */
.page-content {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.page-content h1 {
    color: var(--teal-dark);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.page-content h2 {
    color: var(--teal-medium);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.page-content h3 {
    color: var(--teal-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.page-content p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

.tagline {
    font-size: 1.3rem;
    color: #c97b8a !important;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Team Bios */
.team-member {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.team-member:last-child {
    border-bottom: none;
}

/* Episode List */
.episode {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--soft-neutral);
    border-radius: 10px;
    border-left: 4px solid var(--teal-medium);
}

.episode h3 {
    margin-top: 0;
}

.episode-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--lotus-pink) 0%, var(--lotus-peach) 50%, var(--lotus-coral) 100%);
    color: var(--navy-dark);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(200, 123, 138, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #fce0d8 0%, var(--lotus-pink) 50%, var(--lotus-peach) 100%);
    box-shadow: 0 6px 20px rgba(200, 123, 138, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--teal-dark);
}

.btn-secondary:hover {
    background: var(--teal-medium);
}

.btn-golden {
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 50%, #b8922a 100%);
    color: #1a1a2e;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.btn-golden:hover {
    background: linear-gradient(135deg, #e6c656 0%, #d4af37 50%, #c9a227 100%);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.btn-golden-inverse {
    background: linear-gradient(135deg, #1a1a2e 0%, #252542 50%, #1a1a2e 100%);
    color: #d4af37;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.4);
    transition: all 0.3s ease;
}

.btn-golden-inverse:hover {
    background: linear-gradient(135deg, #252542 0%, #2d2d52 50%, #252542 100%);
    color: #e6c656;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.btn-lotus {
    background: linear-gradient(135deg, var(--lotus-pink) 0%, var(--lotus-peach) 50%, var(--lotus-coral) 100%);
    color: var(--navy-dark);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(200, 123, 138, 0.3);
    transition: all 0.3s ease;
}

.btn-lotus:hover {
    background: linear-gradient(135deg, #fce0d8 0%, var(--lotus-pink) 50%, var(--lotus-peach) 100%);
    box-shadow: 0 6px 20px rgba(200, 123, 138, 0.5);
    transform: translateY(-2px);
}

/* Background stars - golden */
.star {
    position: fixed;
    background: #d4af37;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.star.twinkle-1 {
    animation: twinkle1 2s infinite ease-in-out;
}

.star.twinkle-2 {
    animation: twinkle2 3s infinite ease-in-out;
}

.star.twinkle-3 {
    animation: twinkle3 4s infinite ease-in-out;
}

.star.twinkle-4 {
    animation: twinkle4 2.5s infinite ease-in-out;
}

@keyframes twinkle1 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

@keyframes twinkle2 {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.1; }
}

@keyframes twinkle3 {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

@keyframes twinkle4 {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.15; }
}

/* Star dust - white sparkles */
.star-dust {
    position: fixed;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.star-dust.dust-twinkle-1 {
    animation: dustTwinkle1 1.5s infinite ease-in-out;
}

.star-dust.dust-twinkle-2 {
    animation: dustTwinkle2 2s infinite ease-in-out;
}

.star-dust.dust-twinkle-3 {
    animation: dustTwinkle3 2.5s infinite ease-in-out;
}

.star-dust.dust-twinkle-4 {
    animation: dustTwinkle4 1.8s infinite ease-in-out;
}

.star-dust.dust-twinkle-5 {
    animation: dustTwinkle5 3s infinite ease-in-out;
}

@keyframes dustTwinkle1 {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.1; }
}

@keyframes dustTwinkle2 {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.05; }
}

@keyframes dustTwinkle3 {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.15; }
}

@keyframes dustTwinkle4 {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0; }
}

@keyframes dustTwinkle5 {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.2; }
}

/* Constellation stars for pages */
.page-constellation-star {
    position: fixed;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 4px rgba(212, 175, 55, 0.8);
    animation: twinkle 3s infinite ease-in-out;
    z-index: 0;
}

.page-constellation-line {
    position: fixed;
    background: rgba(212, 175, 55, 0.2);
    pointer-events: none;
    transform-origin: left center;
    height: 1px;
    z-index: 0;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.4;
    }
}

nav, .page-content {
    position: relative;
    z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 0.75rem 1rem;
    }

    nav .nav-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    nav .logo {
        font-size: 1.3rem;
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    /* Page content */
    .page-content {
        margin: 1rem;
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }

    .page-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .page-content h2 {
        font-size: 1.4rem;
        margin-top: 1.5rem;
    }

    .page-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .tagline {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    /* Buttons - full width on mobile */
    .btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    /* About/Book/Resources header layouts */
    .about-header,
    .book-header,
    .resources-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    .about-photo,
    .book-photo,
    .resources-photo {
        width: 140px;
        height: 140px;
    }

    .about-intro,
    .book-intro,
    .resources-intro {
        width: 100%;
    }

    /* Grids - single column on mobile */
    .offerings-grid,
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .offering-card,
    .resource-card {
        padding: 1.5rem;
    }

    .offering-card h3,
    .resource-card h3 {
        font-size: 1.25rem;
    }

    /* Booking intro */
    .booking-intro {
        margin-bottom: 2rem;
    }

    .booking-intro ul {
        padding-left: 1.25rem;
    }

    /* Audio player */
    .audio-player audio {
        max-width: 100%;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .page-content {
        margin: 0.5rem;
        padding: 1.25rem 1rem;
    }

    .page-content h1 {
        font-size: 1.5rem;
    }

    nav ul {
        gap: 0.4rem 0.8rem;
    }

    nav a {
        font-size: 0.85rem;
    }

    .about-photo,
    .book-photo,
    .resources-photo {
        width: 120px;
        height: 120px;
    }
}
