:root {
    --primary: #633503; /* Rich Brown */
    --secondary: #ffffff; /* White */
    --dark: #0F172A;
    --light: #F8FAFC;
    --glass: rgba(255, 255, 255, 0.1);
    --text-light: #64748b;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}

html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    z-index: 1000;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(99, 53, 3, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: #633503;
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    color: #633503;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.nav-links li a:hover { color: #7a4204; }

.nav-links li a.nav-cta {
    background: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: 0.3s;
    color: white;
}

.nav-links li a.nav-cta:hover {
    background: #7a4204;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-slideshow .slide.video-slide {
    background: #000;
}

.hero-slideshow .slide.video-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.highlight { color: var(--primary); }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal animations on scroll */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section with Scroll Animation */
.about-section {
    position: relative;
    background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
    min-height: 100vh;
}

.about-scroll-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Left Side - Text Content */
.about-text-content {
    position: relative;
    padding: 4rem 0;
}

.about-block {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
    opacity: 0.3;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(20px);
}

.about-block.active {
    opacity: 1;
    transform: translateY(0);
    gap: 2rem;
    margin-top: 2rem;
}

.about-number {
    font-size: 6rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.about-block h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-block p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Right Side - Sticky Images */
.about-images-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.about-images-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/5;
}

.about-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.8s ease, transform 0.8s ease;
    box-shadow: 0 25px 50px -12px rgba(99, 53, 3, 0.25);
    pointer-events: none; /* Prevent clicks on inactive images */
    cursor: pointer;
}

.about-image.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto; /* Enable clicks on active image */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image overlay effect */
.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(99, 53, 3, 0.3) 100%);
    pointer-events: none;
}

/* Expand hint for mobile */
.image-expand-hint {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.about-image:hover .image-expand-hint,
.about-image.active .image-expand-hint {
    opacity: 1;
}

/* About Section Lightbox */
.about-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.about-lightbox.active {
    display: flex;
}

.about-lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    animation: scaleIn 0.3s ease;
}

.about-lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.about-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.about-lightbox-close:hover {
    transform: scale(1.2);
}

.about-lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.9);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Show expand hint on mobile */
@media (max-width: 768px) {
    .image-expand-hint {
        opacity: 1;
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .about-lightbox-content img {
        max-height: 70vh;
    }
}

/* Events Section */
.events-section {
    padding: 6rem 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--dark);
    font-weight: 800;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.event-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
    display: flex;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.event-card.featured {
    border-top: 4px solid var(--primary);
}

.event-date {
    background: linear-gradient(135deg, #633503, #7a4204);
    color: white;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
    text-align: center;
}

.event-date .day {
    font-size: 2.2rem;
    font-weight: 900;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

.event-details {
    padding: 2rem;
    flex: 1;
}

.event-details h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.event-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 1.5rem 1rem;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.gallery-overlay p {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.gallery-count {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.3rem;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Featured Gallery Item (Full Width) */
.gallery-item-featured {
    grid-column: 1 / -1;
    height: 350px;
    border: 3px solid var(--primary);
}

.gallery-item-featured img {
    object-position: center;
}

.gallery-overlay-featured {
    background: linear-gradient(to top, rgba(99, 53, 3, 0.95), rgba(99, 53, 3, 0.7), transparent);
    justify-content: center;
    text-align: center;
}

.featured-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #633503;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Wide Gallery Item (2 Columns) */
.gallery-item-wide {
    grid-column: span 2;
    height: 280px;
}

.gallery-item-wide .gallery-overlay {
    align-items: center;
    text-align: center;
}

/* Category Icon Styling */
.category-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    backdrop-filter: blur(4px);
}

/* Color-coded Overlays */
.gallery-overlay-green {
    background: linear-gradient(to top, rgba(39, 174, 96, 0.9), rgba(39, 174, 96, 0.6), transparent);
}

.gallery-overlay-green .category-icon {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.gallery-overlay-red {
    background: linear-gradient(to top, rgba(192, 57, 43, 0.9), rgba(192, 57, 43, 0.6), transparent);
}

.gallery-overlay-red .category-icon {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Gallery Lightbox Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2001;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-title {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-gallery-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.modal-media-container {
    position: relative;
    max-width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-video {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Thumbnail container with play icon */
.thumb-container {
    position: relative;
    cursor: pointer;
}

.thumb-container img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    opacity: 0.6;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.thumb-container img:hover,
.thumb-container img.active {
    opacity: 1;
    border-color: var(--primary);
}

.thumb-container img.video-thumb {
    filter: brightness(0.7);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    overflow-x: auto;
    max-width: 100%;
    padding: 10px;
}

.modal-caption {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-size: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #faf9f7 0%, #f3f4f6 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item .icon {
    font-size: 2rem;
    min-width: 50px;
}

.info-item h4 {
    color: var(--dark);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Join Section */
.join-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #633503, #4c2802);
    color: white;
}

.join-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.join-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.join-text p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.join-perks {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 1.05rem;
}

.perk {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.9;
}

.join-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.join-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.join-form input,
.join-form select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.join-form input::placeholder,
.join-form select {
    color: rgba(255, 255, 255, 0.7);
}

.join-form input:focus,
.join-form select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.join-form option {
    background: var(--dark);
    color: white;
}

.form-note {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #633503, #7a4204);
    color: white;
    box-shadow: 0 5px 20px rgba(99, 53, 3, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4c2802, #633503);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 53, 3, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn-sm:hover {
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-weight: bold;
}

.social-icon:hover {
    background: #633503;
    border-color: #633503;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.footer-bottom a:hover {
text-decoration: underline;
}

/* WhatsApp Floating Button */
.whatsapp-float {
position: fixed;
bottom: 30px;
right: 30px;
width: 60px;
height: 60px;
background: linear-gradient(135deg, #25d366, #128c7e);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
z-index: 9999;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
text-decoration: none;
animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
transform: scale(1.1) rotate(10deg);
box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
animation: none;
}

.whatsapp-tooltip {
position: absolute;
bottom: 70px;
right: 0;
background: #333;
color: white;
padding: 8px 15px;
border-radius: 8px;
font-size: 0.85rem;
font-weight: 500;
white-space: nowrap;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.whatsapp-tooltip::after {
content: '';
position: absolute;
bottom: -8px;
right: 20px;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-top: 8px solid #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
opacity: 1;
visibility: visible;
transform: translateY(-5px);
}

@keyframes whatsappPulse {
0%, 100% {
box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}
50% {
box-shadow: 0 5px 30px rgba(37, 211, 102, 0.7), 0 0 0 15px rgba(37, 211, 102, 0.1);
}
}

/* Mobile Responsive for Gallery */
@media (max-width: 768px) {
    .gallery-item-featured {
        height: 280px;
    }

    .gallery-item-wide {
        grid-column: span 1;
        height: 250px;
    }

    .featured-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Mobile Responsive for WhatsApp Float */
@media (max-width: 768px) {
.whatsapp-float {
width: 55px;
height: 55px;
bottom: 20px;
right: 20px;
font-size: 1.8rem;
}

.whatsapp-tooltip {
font-size: 0.75rem;
padding: 6px 12px;
}
}

/* Run Cards - Enhanced Styling */
.runs-section {
padding: 6rem 0;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
position: relative;
overflow: hidden;
}

.runs-section::before {
content: '';
position: absolute;
top: -50%;
right: -20%;
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(99, 53, 3, 0.08) 0%, transparent 70%);
pointer-events: none;
}

.runs-section::after {
content: '';
position: absolute;
bottom: -30%;
left: -10%;
width: 400px;
height: 400px;
background: radial-gradient(circle, rgba(122, 66, 4, 0.06) 0%, transparent 70%);
pointer-events: none;
}

.runs-section .section-title {
position: relative;
z-index: 1;
}

.run-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
position: relative;
z-index: 1;
}

.run-card {
background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
padding: 2.5rem;
border-radius: 20px;
box-shadow: 0 15px 40px rgba(99, 53, 3, 0.12), 0 5px 15px rgba(0,0,0,0.08);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
border-left: 5px solid transparent;
position: relative;
overflow: hidden;
}

.run-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #633503, #7a4204, #633503);
transform: scaleX(0);
transition: transform 0.4s ease;
}

.run-card:hover::before {
transform: scaleX(1);
}

.run-card h3 {
color: var(--dark);
margin-bottom: 0.5rem;
font-size: 1.6rem;
font-weight: 800;
letter-spacing: -0.5px;
background: linear-gradient(135deg, #633503, #7a4204);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.run-card .time {
color: var(--primary);
font-weight: 800;
margin-bottom: 1.5rem;
font-size: 1.3rem;
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: rgba(99, 53, 3, 0.1);
padding: 0.5rem 1rem;
border-radius: 50px;
}

.run-card p {
color: var(--text-light);
}

.run-card.featured {
background: linear-gradient(145deg, #7a4204 0%, #633503 50%, #4c2802 100%);
color: white;
transform: scale(1.02);
border-left: none;
box-shadow: 0 25px 50px rgba(99, 53, 3, 0.3), 0 10px 20px rgba(0,0,0,0.2);
}

.run-card.featured::before {
background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
height: 5px;
}

.run-card.featured h3 {
background: linear-gradient(135deg, #ffffff, #ffd700);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.run-card.featured .time {
color: #ffd700;
background: rgba(255, 215, 0, 0.2);
border: 1px solid rgba(255, 215, 0, 0.3);
}

.run-card.featured p {
color: rgba(255, 255, 255, 0.95);
}

.run-card:hover {
transform: translateY(-12px) scale(1.01);
box-shadow: 0 25px 50px rgba(99, 53, 3, 0.2), 0 10px 20px rgba(0,0,0,0.1);
}

.run-card.featured:hover {
transform: translateY(-15px) scale(1.03);
box-shadow: 0 30px 60px rgba(99, 53, 3, 0.4), 0 15px 30px rgba(0,0,0,0.3);
}

/* Single Run Layout - Center the card */
.run-grid.single-run {
display: flex;
justify-content: center;
max-width: 500px;
margin: 0 auto;
}

.run-grid.single-run .run-card {
width: 100%;
}

/* Run Structure - Phases */
.run-structure {
display: flex;
flex-direction: column;
gap: 1rem;
margin-top: 1rem;
}

.run-phase {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.8rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
transition: all 0.3s;
}

.run-phase:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateX(8px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.phase-icon {
font-size: 1.6rem;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
border-radius: 50%;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
transition: all 0.3s ease;
}

.run-phase:hover .phase-icon {
transform: scale(1.1) rotate(5deg);
box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.phase-details {
display: flex;
flex-direction: column;
}

.phase-details strong {
    font-size: 0.95rem;
    color: white;
}

.phase-details small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* For non-featured cards */
.run-card:not(.featured) .run-phase {
    background: rgba(99, 53, 3, 0.05);
}

.run-card:not(.featured) .run-phase:hover {
    background: rgba(99, 53, 3, 0.1);
}

.run-card:not(.featured) .phase-icon {
    background: rgba(99, 53, 3, 0.1);
}

.run-card:not(.featured) .phase-details strong {
    color: var(--dark);
}

.run-card:not(.featured) .phase-details small {
    color: var(--text-light);
}

/* Responsive Hamburger */
.hamburger { display: none; cursor: pointer; }
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #633503;
    margin: 5px;
    border-radius: 2px;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links { 
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 0;
        z-index: 999;
        box-shadow: 0 5px 15px rgba(99, 53, 3, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0.75rem 0;
    }
    
    .nav-links li a {
        margin-left: 0;
        padding: 0.75rem 2rem;
        display: block;
        color: #633503;
    }
    
    .hamburger { display: block; }
    
    .hero {
        margin-top: 60px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    /* About Section - Keep 2-column layout on mobile with sticky image */
    .about-scroll-container {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .about-text-content {
        padding: 2rem 0;
    }

    .about-block {
        min-height: auto;
        padding: 1.5rem 0;
    }

    .about-block h2 {
        font-size: 1.5rem;
    }

    .about-block p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .about-number {
        font-size: 3rem;
    }

    .about-images-container {
        position: sticky;
        top: 0;
        height: 100vh;
        padding: 1rem;
    }

    .about-images-wrapper {
        max-width: 100%;
    }

    .about-image {
        border-radius: 12px;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    /* Gallery - 2 columns on mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-item-featured {
        grid-column: 1 / -1;
        height: 220px;
    }

    .gallery-item-wide {
        grid-column: span 2;
        height: 200px;
    }

    .gallery-item {
        height: 160px;
    }

    .gallery-item p {
        font-size: 0.85rem;
    }

    .gallery-count {
        font-size: 0.7rem;
    }

    .category-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .featured-badge {
        font-size: 0.65rem;
        padding: 3px 10px;
    }
    
    /* Join Section - Compact single screen layout */
    .join-container {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .join-section {
        padding: 1.5rem 0;
        min-height: auto;
        display: flex;
        align-items: flex-start;
    }

    .join-section .container {
        padding-top: 0;
    }

    .join-text {
        margin-top: 0;
    }

    .join-text h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        margin-top: 0;
        line-height: 1.2;
    }

    .join-text p {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        line-height: 1.4;
    }

    .join-perks {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
        margin-top: 0.6rem;
        font-size: 0.8rem;
    }

    .perk {
        gap: 0.3rem;
        margin-bottom: 0.2rem;
    }

    .join-form {
        padding: 1rem;
        margin-top: 0.3rem;
    }

    .join-form h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        margin-top: 0;
    }

    .join-form input,
    .join-form select {
        padding: 0.6rem;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        height: 40px;
    }

    .join-form .btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        margin-top: 0.3rem;
        height: 44px;
    }

    .form-note {
        font-size: 0.7rem;
        margin-top: 0.4rem;
        margin-bottom: 0;
    }
    
    .contact-grid,
    .stats {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}