:root {
    --primary-color: #5a9149;
    --secondary-color: #ed7022;
    --accent-color: #27ae60;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-style: none;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-width: 100%;
    min-height: 100%;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: min(90%, 800px);
    margin: 0 auto 2rem;
}

/* Activity Sections */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.activity-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

@media (min-width: 992px) {
    .activity-row {
        flex-direction: row;
        margin-bottom: 80px;
    }

    .activity-row.reverse {
        flex-direction: row-reverse;
    }
}

.activity-image {
    position: relative;
    width: 100%;
    min-height: 300px;
    overflow: hidden;
}

@media (min-width: 992px) {
    .activity-image {
        flex: 1;
        min-height: 500px;
    }
}

.activity-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.1), transparent);
    z-index: 1;
}

.activity-row.reverse .activity-image::before {
    background: linear-gradient(to left, rgba(0,0,0,0.1), transparent);
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

.activity-content {
    padding: 30px;
    flex: 1;
}

@media (min-width: 768px) {
    .activity-content {
        padding: 50px;
    }
}

.activity-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.activity-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.activity-description {
    color: #666;
    margin-bottom: 30px;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
}

.activity-meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .activity-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.activity-duration {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

@media (min-width: 768px) {
    .btn {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
}

.btn:hover {
    background-color: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
}

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

/* CTA Sections */
.cta-section, .cta {
    text-align: center;
    padding: 80px 20px;
    color: var(--white);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpeg') no-repeat center center/cover;
    height: auto;
    min-height: 25rem;
}

.cta h2, .cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

.cta p, .cta-section p {
    max-width: min(90%, 700px);
    margin: 0 auto 30px;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}



/* contents */
/* Safari More Details Section */
.safari-more-details {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background-color: var(--white);
}

.safari-more-details h3 {
    color: var(--primary-color);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 2rem 0 1rem;
    position: relative;
    padding-bottom: 10px;
}

.safari-more-details h3:first-child {
    margin-top: 0;
}

.safari-more-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.safari-more-details p {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.safari-more-details ul {
    margin: 1rem 0 2rem;
    padding-left: 1.5rem;
}

.safari-more-details li {
    margin-bottom: 0.8rem;
    font-size: clamp(0.95rem, 1.7vw, 1.05rem);
    line-height: 1.7;
}

.safari-more-details strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.safari-more-details em {
    font-style: italic;
    color: #666;
    display: inline-block;
    margin-top: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }

    .activity-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .safari-more-details {
        padding: 2.5rem 0;
    }

    .safari-more-details ul {
        padding-left: 1.2rem;
    }


    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 350px;
    }

    .activity-image {
        min-height: 250px;
    }

    .activity-content {
        padding: 25px;
    }

    .safari-more-details {
        padding: 2rem 0;
    }

    .safari-more-details h3 {
        font-size: 1.3rem;
    }

    .safari-more-details li {
        font-size: 0.95rem;
    }

}