:root {
    --primary-color: #556B2F;
    /* Dark Olive Green */
    --secondary-color: #8B4513;
    /* Saddle Brown */
    --text-color: #3E2723;
    /* Dark Brown */
    --bg-light: #FDF5E6;
    /* Old Lace */
    --bg-white: #FFFAF0;
    /* Floral White */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Lato', sans-serif;
    --font-script: 'Dancing Script', cursive;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

.script-font {
    font-family: var(--font-script);
    color: var(--primary-color);
}

.text-uppercase-spaced {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #8D6E63;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: url('../img/wood-texture-placeholder.jpg');
    /* Optional texture */
    background-size: cover;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.main-title {
    font-size: 4.5rem;
    margin-top: 20px;
    color: var(--secondary-color);
    font-family: var(--font-script);
}

/* Buttons */
.btn-rustic {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    /* Slight round */
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.btn-rustic:hover {
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
}

.btn-rustic-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 30px;
    border-radius: 5px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.btn-rustic-outline:hover {
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
}

/* Cards */
.detail-card {
    background: white;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(139, 69, 19, 0.1);
    transition: transform 0.3s;
}

.detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Section Dividers / Backgrounds */
.section-padding {
    padding: 100px 0;
}

.bg-rustic-light {
    background-color: var(--bg-light);
}

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

.countdown-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    /* Slightly rounded squares */
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--primary-color);
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    line-height: 1;
}

.countdown-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #8D6E63;
    margin-top: 5px;
}

/* Dress Code Icons */
.dress-code-icons i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin: 0 20px;
}

/* Gift Envelope */
.envelope-box {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 69, 19, 0.2);
}

.section-icon-divider {
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 20px 0;
    opacity: 0.6;
}

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

.btn-music-rustic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer-rustic {
    background-color: var(--secondary-color);
    color: var(--bg-light);
    padding: 40px 0;
}