/* ============================================= */
/* HOME PAGE STYLES - Updated for Single Line Buttons */
/* ============================================= */

/* Enhanced Hero Section Styles */
.hero-section {
    min-height: 85vh;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Account for fixed header */
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.85) 0%, 
        rgba(0, 0, 0, 0.6) 40%, 
        rgba(0, 0, 0, 0.3) 70%, 
        transparent 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    height: 85vh;
    display: flex;
    align-items: center;
    padding: 80px 2rem 2rem; /* Added top padding */
}

.hero-content {
    max-width: 750px; /* Increased width for buttons */
    color: white;
    padding-left: 8%;
    padding-top: 40px;
    padding-bottom: 40px;
    transform: translateY(0);
    animation: fadeInUp 1.5s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    animation: slideInLeft 1.2s ease-out 0.8s both;
    padding-top: 20px;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #d4edda;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
    animation: slideInLeft 1.2s ease-out 1s both;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px; /* Increased width */
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: slideInLeft 1.2s ease-out 1.2s both;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.2rem;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

/* Hero Buttons Container - Single Line Layout */
.hero-buttons-container {
    width: 100%;
    margin-top: 2.5rem;
    animation: fadeIn 1.5s ease-out 1.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: nowrap; /* Force single line */
    gap: 1.2rem;
    justify-content: flex-start;
    align-items: center;
    max-width: 100%;
    overflow: visible;
}

.hero-btn {
    padding: 1rem 1.8rem; /* Adjusted padding */
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px; /* Adjusted for single line */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    white-space: nowrap; /* Prevent text wrapping */
    flex-shrink: 0; /* Prevent buttons from shrinking */
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2c8c2c 100%);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.hero-btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: white;
}

.hero-btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #d4edda;
    border: 2px solid rgba(212, 237, 218, 0.4);
    backdrop-filter: blur(5px);
}

.hero-btn-outline:hover {
    background: rgba(212, 237, 218, 0.9);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: #d4edda;
}

/* Slideshow Controls */
.hero-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.hero-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-indicators {
    display: flex;
    gap: 8px;
}

.hero-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    background: white;
    transform: scale(1.3);
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    color: white;
    opacity: 0.8;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

.scroll-indicator span {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    position: relative;
    margin: 0 auto;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }
    100% {
        opacity: 0;
        top: 24px;
    }
}

/* Activities Preview Section */
.activities-preview {
    padding: 5rem 0;
    background: var(--background-alt);
}

.activities-preview h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.activity-preview-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.activity-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.activity-preview-image {
    height: 250px;
    overflow: hidden;
}

.activity-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-preview-card:hover .activity-image {
    transform: scale(1.1);
}

.activity-preview-content {
    padding: 2rem;
}

.activity-preview-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.activity-preview-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Home CTA Section */
.home-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.home-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.home-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Welcome Section Enhancements */
.welcome {
    padding: 5rem 0;
}

.welcome-content h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.welcome-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.welcome-cta {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Quick Facts Enhancements */
.quick-facts {
    padding: 5rem 0;
}

.quick-facts h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.fact-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.fact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.fact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.fact-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Fade in animation for content */
@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-facts,
.welcome,
.activities-preview,
.home-cta {
    animation: contentFadeIn 1s ease-out both;
}

.quick-facts { animation-delay: 0.2s; }
.welcome { animation-delay: 0.4s; }
.activities-preview { animation-delay: 0.6s; }
.home-cta { animation-delay: 0.8s; }

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-btn {
        min-width: 160px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 1100px) {
    .hero-buttons {
        flex-wrap: wrap; /* Allow wrapping on medium screens */
        gap: 1rem;
    }
    
    .hero-btn {
        min-width: 150px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-content-wrapper {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-content {
        padding-left: 5%;
        max-width: 100%;
    }
    
    .hero-overlay {
        background: linear-gradient(to right, 
            rgba(0, 0, 0, 0.85) 0%, 
            rgba(0, 0, 0, 0.65) 50%, 
            rgba(0, 0, 0, 0.4) 80%, 
            transparent 100%);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 75vh;
        margin-top: 70px;
    }
    
    .hero-content-wrapper {
        height: 75vh;
        padding: 70px 1rem 1rem;
    }
    
    .hero-content {
        padding-left: 0;
        text-align: center;
        max-width: 100%;
        padding-top: 20px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        padding-top: 10px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 1.5rem;
        padding: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons-container {
        margin-top: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .hero-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-width: 140px;
        flex: 1;
        max-width: 200px;
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.8) 0%, 
            rgba(0, 0, 0, 0.6) 50%, 
            rgba(0, 0, 0, 0.4) 80%, 
            transparent 100%);
    }
    
    .hero-controls {
        bottom: 20px;
        right: 20px;
        padding: 8px 12px;
    }
    
    .hero-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .activities-preview,
    .welcome,
    .quick-facts,
    .home-cta {
        padding: 3rem 0;
    }
    
    .activities-preview h2,
    .welcome-content h2,
    .quick-facts h2,
    .home-cta h2 {
        font-size: 2rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .activity-preview-image {
        height: 220px;
    }
    
    .welcome-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .home-cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-content-wrapper {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        padding: 0.8rem;
    }
    
    .hero-buttons-container {
        margin-top: 1.5rem;
    }
    
    .hero-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        min-width: 130px;
    }
    
    .hero-controls {
        bottom: 15px;
        right: 15px;
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .hero-indicators {
        gap: 6px;
    }
    
    .hero-indicator {
        width: 8px;
        height: 8px;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-preview-image {
        height: 200px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .welcome-cta {
        flex-direction: column;
        align-items: center;
    }
}