/* ===================================
   GATSBY / ART DECO THEME - PLANNER
   =================================== */

:root {
    --gold-color: #D4AF37;
    --champagne-color: #F7E7CE;
    --black-bg: #0a0a0a;
    --dark-gray: #1a1a1a;
    --text-color: #ffffff;
    --font-heading: 'Poiret One', cursive;
    --font-display: 'Julius Sans One', sans-serif;
    --font-body: 'Raleway', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: var(--black-bg);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
}

/* Art Deco Pattern Background */
.art-deco-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.03) 35px, rgba(212, 175, 55, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.03) 35px, rgba(212, 175, 55, 0.03) 70px);
    pointer-events: none;
    z-index: 0;
}

/* Music Control */
.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-music-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-color);
    border: 2px solid var(--champagne-color);
    color: var(--black-bg);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.btn-music-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
}

/* Typography */
.big-font {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 400;
    color: var(--gold-color);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    letter-spacing: 8px;
    margin: 1rem 0;
}

.medium-font {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--champagne-color);
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.text-uppercase-spaced {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    font-weight: 300;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
    background: linear-gradient(180deg, var(--black-bg) 0%, var(--dark-gray) 100%);
    border-bottom: 3px solid var(--gold-color);
}

.hero-image-container {
    width: 300px;
    height: 300px;
    margin: 2rem auto;
    position: relative;
    border: 3px solid var(--gold-color);
    padding: 10px;
    background: var(--black-bg);
}

.hero-image-container::before,
.hero-image-container::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--champagne-color);
}

.hero-image-container::before {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.hero-image-container::after {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) sepia(20%);
}

/* Gatsby Ornaments */
.gatsby-ornament {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
    margin: 2rem auto;
    position: relative;
}

.gatsby-ornament::before,
.gatsby-ornament::after {
    content: '◆';
    position: absolute;
    color: var(--gold-color);
    font-size: 1.5rem;
    top: -12px;
}

.gatsby-ornament::before {
    left: -20px;
}

.gatsby-ornament::after {
    right: -20px;
}

/* Art Deco Divider */
.art-deco-divider {
    width: 200px;
    height: 2px;
    background: var(--gold-color);
    margin: 2rem auto;
    position: relative;
}

.art-deco-divider::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--gold-color);
    transform: rotate(45deg);
    top: -6.5px;
    left: 50%;
    margin-left: -7.5px;
}

.art-deco-divider.small {
    width: 100px;
}

/* Sections */
.section-padding {
    padding: 5rem 1rem;
    position: relative;
    z-index: 1;
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.countdown-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--gold-color);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    border: 2px solid var(--gold-color);
    padding: 1rem 2rem;
    background: rgba(212, 175, 55, 0.1);
    clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 1rem;
    color: var(--champagne-color);
}

/* Gatsby Card */
.gatsby-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 2px solid var(--gold-color);
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.gatsby-card::before,
.gatsby-card::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--champagne-color);
}

.gatsby-card::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.gatsby-card::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.gatsby-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.gatsby-card h3 {
    font-family: var(--font-display);
    color: var(--champagne-color);
    letter-spacing: 3px;
    font-size: 1.5rem;
}

/* Gatsby Border (for RSVP) */
.gatsby-border {
    border: 3px solid var(--gold-color);
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    background: rgba(10, 10, 10, 0.8);
}

.gatsby-border::before,
.gatsby-border::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
}

.gatsby-border::before {
    top: -3px;
    left: -3px;
    border-top: 3px solid var(--champagne-color);
    border-left: 3px solid var(--champagne-color);
}

.gatsby-border::after {
    bottom: -3px;
    right: -3px;
    border-bottom: 3px solid var(--champagne-color);
    border-right: 3px solid var(--champagne-color);
}

/* Gallery */
.gatsby-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.gallery-item-gatsby {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--gold-color);
    aspect-ratio: 1;
    background: var(--black-bg);
}

.gallery-item-gatsby::before,
.gallery-item-gatsby::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--champagne-color);
    z-index: 2;
}

.gallery-item-gatsby::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.gallery-item-gatsby::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.gallery-item-gatsby img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(30%) sepia(20%);
}

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

/* Timeline (Itinerary) */
.gatsby-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.gatsby-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item .time {
    width: 45%;
    text-align: right;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold-color);
    letter-spacing: 3px;
}

.timeline-item:nth-child(even) .time {
    text-align: left;
}

.timeline-item .content {
    width: 45%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 2px solid var(--gold-color);
    padding: 2rem;
    position: relative;
}

.timeline-item .content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gold-color);
    border: 3px solid var(--black-bg);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .content::before {
    right: -42px;
}

.timeline-item:nth-child(even) .content::before {
    left: -42px;
}

.timeline-item .content h3 {
    font-family: var(--font-display);
    color: var(--champagne-color);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.timeline-item .content p {
    color: #ccc;
    margin: 0;
}

/* Buttons */
.btn-gatsby {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid var(--gold-color);
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.btn-gatsby::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-gatsby:hover {
    color: var(--black-bg);
    text-decoration: none;
}

.btn-gatsby:hover::before {
    left: 0;
}

.btn-gatsby.btn-block {
    display: block;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .big-font {
        font-size: 3rem;
    }

    .medium-font {
        font-size: 1.8rem;
    }

    .hero-image-container {
        width: 250px;
        height: 250px;
    }

    .countdown-number {
        font-size: 3rem;
        padding: 0.8rem 1.5rem;
    }

    .countdown-container {
        gap: 1.5rem;
    }

    .section-padding {
        padding: 3rem 1rem;
    }

    .gatsby-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    /* Timeline Mobile */
    .gatsby-timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
    }

    .timeline-item .time {
        width: 100%;
        text-align: left !important;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .timeline-item .content {
        width: 100%;
    }

    .timeline-item .content::before {
        left: -42px !important;
        right: auto !important;
    }
}

@media (max-width: 480px) {
    .big-font {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .countdown-number {
        font-size: 2.5rem;
        padding: 0.6rem 1rem;
    }

    .gatsby-gallery {
        grid-template-columns: 1fr;
    }
}