/* ============================================
   WEDDING WEBSITE STYLES
   Color Scheme: Burgundy, White, Champagne Gold
   ============================================ */

/* ===== COLOR VARIABLES ===== */
:root {
    --burgundy: #8B1538;
    --burgundy-dark: #6B0F2A;
    --gold: #D4AF6E;
    --gold-light: #E8D5B5;
    --white: #FFFFFF;
    --cream: #FAF9F7;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --border-light: #E0E0E0;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--cream);
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 3rem 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 20;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

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

.header-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.header h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.header p {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.95;
    color: var(--gold-light);
}

/* ===== NAVIGATION ===== */
.nav {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-btn {
    background: none;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    cursor: pointer;
    color: var(--text-medium);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-btn:hover {
    color: var(--burgundy);
    background: var(--cream);
}

.nav-btn.active {
    color: var(--burgundy);
    border-bottom-color: var(--gold);
    font-weight: 600;
}

/* ===== CONTAINER & SECTIONS ===== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 10;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    background: var(--white);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-top: 3px solid var(--gold);
}

/* ===== TYPOGRAPHY ===== */
h2 {
    color: var(--burgundy);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    border-bottom: 2px solid var(--gold-light);
    padding-bottom: 0.5rem;
}

h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

a {
    color: var(--burgundy);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

/* ===== COUNTDOWN TIMER ===== */
.countdown {
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    text-align: center;
    border: 2px solid var(--gold-light);
}

.countdown h3 {
    color: var(--burgundy);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    margin-top: 0;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    min-width: 100px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.countdown-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--burgundy);
    display: block;
    line-height: 1;
}

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

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 110, 0.1);
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--burgundy);
}

/* ===== BUTTONS ===== */
.btn {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-family: 'Georgia', serif;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(139, 21, 56, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.4);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== INFO CARDS ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--burgundy);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-card h4 {
    color: var(--burgundy);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

/* ===== MENU SELECTION ===== */
.menu-selection {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    border: 1px solid var(--gold-light);
}

/* ===== GUEST CARDS ===== */
.guest-card {
    background: var(--cream);
    border: 2px solid var(--gold-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.guest-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gold-light);
}

.guest-card-title {
    color: var(--burgundy);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.remove-guest-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: all 0.3s;
}

.remove-guest-btn:hover {
    background: #f4d4d4;
    color: #8B1538;
}

/* ===== WEDDING PARTY ===== */
.party-member {
    background: var(--cream);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--gold-light);
}

.party-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
    border: 3px solid var(--gold);
}

.party-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.party-info p {
    color: var(--text-medium);
    font-style: italic;
}

/* ===== MESSAGES ===== */
.success-message {
    display: none;
    background: #d4f4dd;
    color: #2d5f3c;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid #4caf50;
}

.error-message {
    background: #f4d4d4;
    color: #5f2d2d;
    border-left-color: #f44336;
}

/* ===== IMAGES ===== */
.hero-image {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: block;
}

/* ===== PLANT STRIPS ===== */
.plant-strip {
    position: fixed;
    top: 64px;
    width: 190px;
    height: calc(100vh - 64px);
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
    display: none;
}

.plant-strip--left {
    left: 0;
}

.plant-strip--right {
    right: 0;
}

.plant-strip svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.plant-photo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    object-fit: cover;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
    z-index: 3;
    pointer-events: auto;
}

@media (min-width: 1300px) {
    .plant-strip {
        display: block;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .header-photo {
        width: 140px;
        height: 140px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .nav-btn {
        padding: 1rem 1rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .section {
        padding: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .party-member {
        flex-direction: column;
        text-align: center;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 0.75rem;
    }

    .countdown-number {
        font-size: 2rem;
    }
}
