:root {
    --bg-color: #FFFDD0;
    /* Soft Cream */
    --text-color: #5D4037;
    /* Dark Earthy Brown */
    --accent-color: #8FBC8F;
    /* Sage Green */
    --secondary-color: #8B4513;
    /* Earthy Brown */
    --gold: #DAA520;
    --card-bg: rgba(255, 255, 255, 0.9);
    --font-heading: 'Fredoka One', cursive;
    --font-body: 'Quicksand', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    margin: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238fbc8f' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* --- Typography --- */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.big-font {
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-shadow: 2px 2px 0px rgba(139, 69, 19, 0.1);
}

.medium-font {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.text-uppercase-spaced {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 700;
}

/* --- Layout --- */
.section-padding {
    padding: 5rem 1rem;
    position: relative;
}

/* --- Safari Card --- */
.safari-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.1);
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.safari-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: repeating-linear-gradient(45deg,
            var(--accent-color),
            var(--accent-color) 10px,
            var(--bg-color) 10px,
            var(--bg-color) 20px);
}

.safari-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(143, 188, 143, 0.2) 100%);
}

.hero-image-container {
    width: 280px;
    height: 280px;
    margin: 2rem auto;
    position: relative;
    padding: 10px;
    background: #fff;
    border-radius: 50%;
    border: 4px dashed var(--secondary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* --- Leaf Decorations --- */
.leaf {
    position: absolute;
    width: 50px;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%238FBC8F' d='M272 96c-78.6 0-145.1 51.5-167.7 122.5c33.6-17 71.5-26.5 111.7-26.5h88c8.8 0 16 7.2 16 16s-7.2 16-16 16H288 216s0 0 0 0c-16.6 0-32.7 1.9-48.3 5.4c-25.9 5.9-49.9 16.4-71.4 30.7c0 0 0 0 0 0C38.3 298.8 0 364.9 0 440v16c0 13.3 10.7 24 24 24s24-10.7 24-24V440c0-48.7 20.7-92.5 53.8-123.2C121.6 392.3 190.3 448 272 448l1 0c132.1-.1 239.1-109.1 239.1-240.5c0-61.5-49.9-111.5-111.5-111.5h-8c-12.8 0-25.4 1.8-37.4 5.3C334.4 98.4 304.2 96 272 96zM48 120c0-13.3-10.7-24-24-24S0 106.7 0 120V344c0 13.3 10.7 24 24 24s24-10.7 24-24V120z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 1;
}

.leaf.one {
    top: 10%;
    left: 5%;
    transform: rotate(-45deg);
}

.leaf.two {
    top: 20%;
    right: 10%;
    transform: rotate(45deg);
    width: 80px;
    height: 80px;
}

.leaf.three {
    bottom: 15%;
    left: 15%;
    transform: rotate(-15deg);
}

/* --- Buttons --- */
.btn-safari {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.btn-safari:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
    color: #fff;
    text-decoration: none;
}

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

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

.countdown-number {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    background: #fff;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 0 auto 10px;
    border: 3px solid var(--accent-color);
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-color);
    letter-spacing: 1px;
    font-weight: 700;
}

/* --- Timeline --- */
.safari-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

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

.timeline-step {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.step-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
    border: 2px solid var(--accent-color);
}

.timeline-step:nth-child(odd) .step-content {
    left: 0;
    text-align: right;
}

.timeline-step:nth-child(even) .step-content {
    left: 55%;
    text-align: left;
}

.step-time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 2;
    white-space: nowrap;
}

.step-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

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

.gallery-item-safari img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item-safari:hover img {
    transform: scale(1.03);
}

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

.btn-music-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

    .safari-timeline::before {
        left: 20px;
    }

    .timeline-step {
        margin-bottom: 2rem;
    }

    .step-content {
        width: calc(100% - 50px);
        left: 50px !important;
        text-align: left !important;
    }

    .step-time {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        display: inline-block;
        margin-bottom: 10px;
    }
}