/* ===========================
   CSS Reset & Base Styles
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #2d5f4f;
    --secondary-color: #4a9c7e;
    --accent-color: #f4a261;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    
    /* Typography */
    --font-primary: 'Open Sans', sans-serif;
    --font-heading: 'Marcellus', serif;
    --font-serif: 'PT Serif', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Transitions */
    --transition-speed: 0.3s;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Container */
    --container-max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-color);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   Utility Classes
   =========================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.text-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: all var(--transition-speed);
}

.text-link:hover {
    color: var(--accent-color);
}

/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-speed);
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: #e89550;
    border-color: #e89550;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ===========================
   Header & Navigation
   =========================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-speed);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
    max-width: 200px;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform var(--transition-speed);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: var(--spacing-xs);
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all var(--transition-speed);
    border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--primary-color);
    background-color: rgba(45, 95, 79, 0.05);
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    list-style: none;
    padding: var(--spacing-xs);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-speed);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition-speed);
}

.dropdown-link:hover {
    background-color: rgba(45, 95, 79, 0.05);
    color: var(--primary-color);
}

.nav-cta {
    margin-left: var(--spacing-sm);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: all var(--transition-speed);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background picture {
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: var(--spacing-md);
    width: 100%;
}

.hero-text-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 3px;
    color: var(--white);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    margin-bottom: var(--spacing-xl);
    color: var(--white);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--white);
    font-size: 0.875rem;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(-45deg) translateY(0);
    }
    40% {
        transform: rotate(-45deg) translateY(-10px);
    }
    60% {
        transform: rotate(-45deg) translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out both;
}

.delay-1 {
    animation-delay: 0.3s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Hero (for internal pages) */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.page-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-hero .hero-background picture {
    width: 100%;
    height: 100%;
}

.page-hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.page-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: var(--spacing-md);
    width: 100%;
}

.page-hero .hero-text-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.page-hero .hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 3px;
    color: var(--white);
}

.page-hero .hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    color: var(--white);
}

/* ===========================
   Content Sections
   =========================== */

.content-section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    line-height: 1.4;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Mission Section */
.mission-section {
    background-color: var(--light-color);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Featured Cards Section */
.featured-cards-section {
    background-color: var(--white);
    padding: var(--spacing-xxl) 0;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xxl);
    position: relative;
}

.feature-card:last-child {
    margin-bottom: 0;
}

.feature-card-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card:hover .feature-card-image img {
    transform: scale(1.08);
}

.feature-card-content {
    padding: var(--spacing-lg);
}

.feature-card-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.feature-card-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    line-height: 1.6;
}

.feature-card-content .large-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
}

.feature-card-content .btn {
    margin-top: var(--spacing-sm);
}

/* Alternate layout for cards */
.card-left .feature-card-image {
    order: 1;
}

.card-left .feature-card-content {
    order: 2;
}

.card-right .feature-card-image {
    order: 2;
}

.card-right .feature-card-content {
    order: 1;
}

@media (max-width: 992px) {
    .feature-card {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .card-left .feature-card-image,
    .card-right .feature-card-image {
        order: 1;
    }
    
    .card-left .feature-card-content,
    .card-right .feature-card-content {
        order: 2;
    }
    
    .feature-card-image {
        height: 300px;
    }
}

/* Programs Section */
.programs-section {
    background-color: var(--light-color);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.program-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-speed);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.program-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: var(--spacing-xxl) 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.cta-section .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.cta-section .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-section .btn-secondary:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary-color);
}

/* ===========================
   Footer
   =========================== */

.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-nav {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-lg);
}

.footer-links-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-links-nav a {
    color: var(--light-color);
    font-size: 1rem;
    transition: color var(--transition-speed);
    text-decoration: none;
}

.footer-links-nav a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
}

.footer-bottom p {
    color: var(--light-color);
    margin-bottom: var(--spacing-xs);
    line-height: 1.8;
}

.footer-bottom .copyright {
    margin-top: var(--spacing-sm);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-links-nav {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .footer-links-nav a {
        padding: var(--spacing-xs) 0;
    }
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablet */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--spacing-md) var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-speed);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-speed);
        padding: 0;
        margin-left: var(--spacing-md);
    }
    
    .has-dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: var(--spacing-xs);
    }
    
    .nav-cta {
        width: 100%;
        margin-left: 0;
        margin-top: var(--spacing-md);
        text-align: center;
    }
    
    .hero {
        margin-top: 70px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --spacing-xxl: 3rem;
        --spacing-xl: 2.5rem;
        --spacing-lg: 2rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-scroll-indicator {
        bottom: 20px;
    }
    
    .hero-scroll-indicator span {
        font-size: 0.75rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 50px;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .feature-card-image {
        height: 250px;
    }
}

/* ===========================
   Animations
   =========================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    .scroll-animation {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease-out;
    }
    
    .scroll-animation.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Page-Specific Styles
   =========================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
    margin-top: 80px;
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0;
    color: var(--white);
    letter-spacing: 2px;
}

/* Section Divider */
.section-divider {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: var(--spacing-xl) 0;
    max-width: 100%;
}

/* Info Section Grid */
.info-section {
    padding: var(--spacing-lg) 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.info-sidebar h2 {
    color: var(--primary-color);
    font-size: clamp(1.5rem, 3vw, 2rem);
    position: sticky;
    top: 100px;
}

.info-content {
    line-height: 1.8;
}

.info-content p {
    margin-bottom: var(--spacing-md);
}

.info-content a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
}

.info-content a:hover {
    color: var(--accent-color);
}

/* Activity Gallery */
.activity-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

/* Image Slider */
.image-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.slider-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 3/2;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.slider-image:hover img {
    transform: scale(1.08);
}

/* Credits Section */
.credits-section {
    background-color: var(--light-color);
    padding: var(--spacing-lg) 0;
}

.credits-text {
    font-style: italic;
    color: var(--text-light);
    font-size: 1rem;
}

@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .info-sidebar h2 {
        position: static;
        margin-bottom: var(--spacing-sm);
    }
    
    .activity-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: var(--spacing-lg) 0;
    }
    
    .activity-gallery {
        grid-template-columns: 1fr;
    }
    
    .image-slider {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Accessibility
   =========================== */

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===========================
   Tours Page Styles
   =========================== */

/* Lead Text */
.lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
    font-weight: 600;
}

.centered-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Features Grid */
.features-section {
    padding: var(--spacing-xxl) 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.feature-box {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--light-bg);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.feature-box h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
}

.feature-box p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Info Grid Two Column */
.info-grid-two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.info-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

.info-card p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: var(--text-color);
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: var(--spacing-xs) 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
}

.info-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Tour Options */
.tour-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.tour-option-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: var(--spacing-xl);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tour-option-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.tour-option-card.featured {
    border-color: var(--secondary-color);
    border-width: 3px;
    box-shadow: 0 8px 25px rgba(74, 156, 126, 0.2);
}

.tour-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--light-gray);
}

.tour-option-header h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin: 0;
}

.tour-duration {
    background: var(--light-bg);
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.tour-option-card > p {
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
    line-height: 1.7;
}

.tour-features {
    list-style: none;
    padding: 0;
    margin-top: var(--spacing-md);
}

.tour-features li {
    padding: var(--spacing-xs) 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-color);
}

.tour-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
    color: var(--white);
    font-family: var(--font-heading);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Section Header */
.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-header.centered {
    text-align: center;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
}

.section-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive Design for Tours Page */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid-two-column {
        grid-template-columns: 1fr;
    }
    
    .tour-options {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .tour-badge {
        right: 20px;
        font-size: 0.75rem;
        padding: 6px 14px;
    }
}
