:root {
    --primary: #C26B4A;
    /* Terracotta */
    --bg: #FAF8F0;
    /* Ivory */
    --text: #4A4A4A;
    /* Dark Charcoal */
    --gold: #D4AF37;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Merriweather', serif;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Typography */
.script-font {
    font-family: 'Great Vibes', cursive;
    color: var(--primary);
}

.text-terracotta {
    color: var(--primary) !important;
}

/* Welcome Overlay */
#welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/couple_welcome.jpeg') no-repeat center center/cover;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.8s ease;
}

#welcome-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Components */
.bg-ivory {
    background-color: var(--bg);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-terracotta {
    background-color: var(--primary);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-terracotta:hover {
    background-color: #a05030;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-terracotta {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline-terracotta:hover {
    background-color: var(--primary);
    color: white;
}

/* Countdown */
.time-box {
    background: white;
    color: var(--primary);
    padding: 10px;
    border-radius: 8px;
    min-width: 65px;
    border: 1px solid rgba(194, 107, 74, 0.2);
}

.time-box span {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.time-box small {
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* Decorations */
.section-divider {
    width: 120px;
    opacity: 0.8;
}

.vertical-line {
    border-left: 2px solid var(--gold);
    height: 60px;
    margin: 0 auto;
    opacity: 0.5;
}

/* Bottom Nav */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}

.small-text {
    font-size: 0.7rem;
}

.nav-link {
    color: #999;
    transition: color 0.3s;
}

.nav-link.active {
    color: var(--primary);
}

/* Pulse Animation for RSVP */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(194, 107, 74, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(194, 107, 74, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(194, 107, 74, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}