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

:root {
    --primary-color: #1a4d2e;
    --secondary-color: #4f772d;
    --accent-color: #90a955;
    --dark-bg: #1a1a1a;
    --light-bg: #f5f5f5;
    --text-dark: #333;
    --text-light: #fff;
    --border-color: #ddd;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Sarabun', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Expand container for larger screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1350px;
    }
}

/* Top Announcement Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000;
    color: #fff;
    z-index: 1001;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none; /* ซ่อนเมื่อไม่มีโปรโมชัน - ลบบรรทัดนี้เมื่อต้องการแสดง */
}

.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.top-bar .announcement {
    color: #ffd700;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(26, 26, 26, 0.3), rgba(26, 26, 26, 0.4)), url('image/header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(5px);
    z-index: 1000;
    padding: 2rem 0;
    box-shadow: var(--shadow);
    transition: padding 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    padding: 0.3rem 0;
    background: linear-gradient(rgba(26, 26, 26, 0.5), rgba(26, 26, 26, 0.6)), url('image/header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .nav-brand .logo {
    height: 80px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-brand .logo {
    height: 110px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(144, 169, 85, 0.3));
}

.nav-brand .logo:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 4px 12px rgba(144, 169, 85, 0.5));
}

.brand-text h2 {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    transition: color 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5);
}

.nav-brand:hover .brand-text h2 {
    color: var(--accent-color);
}

.brand-text p {
    color: var(--accent-color);
    font-size: 0.75rem;
    margin: 0;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 0, 0, 0.5);
}

.nav-brand:hover .brand-text p {
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav-menu li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.5rem;
    transition: color 0.3s;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* Larger screens - more spacing */
@media (min-width: 1200px) {
    .nav-menu {
        gap: 2.2rem;
    }
    
    .nav-menu li a {
        font-size: 1rem;
        padding: 0.5rem 0.7rem;
    }
}

@media (min-width: 1400px) {
    .nav-menu {
        gap: 2.5rem;
    }
    
    .nav-menu li a {
        font-size: 1.05rem;
        padding: 0.6rem 0.8rem;
    }
}

.nav-menu li a:hover {
    color: var(--accent-color);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.language-dropdown-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-clip: padding-box;
    position: relative;
    padding: 8px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.language-dropdown-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, #4f772d, #90a955, #d4e09b);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.language-dropdown-btn:hover::before {
    opacity: 1;
}

.language-dropdown-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(79, 119, 45, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.language-dropdown-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.current-flag-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.language-dropdown-btn:hover .current-flag-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(79, 119, 45, 0.3);
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #4f772d;
}

.language-dropdown-btn.active .dropdown-arrow {
    transform: rotate(180deg) translateY(-2px);
}

.language-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid transparent;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(79, 119, 45, 0.08);
    min-width: 160px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.language-dropdown-menu::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #4f772d, #90a955);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.language-dropdown-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.language-option {
    background: transparent;
    border: none;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.language-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(79, 119, 45, 0.1), rgba(144, 169, 85, 0.15));
    transition: width 0.4s ease;
}

.language-option:hover::before {
    width: 100%;
}

.language-option:hover {
    transform: translateX(4px);
}

.language-option.active {
    background: linear-gradient(90deg, rgba(79, 119, 45, 0.15), rgba(144, 169, 85, 0.2));
    color: var(--text-dark);
    font-weight: 700;
}

.language-option.active::after {
    content: '✓';
    position: absolute;
    right: 16px;
    color: #4f772d;
    font-weight: bold;
    font-size: 16px;
    animation: checkmark 0.3s ease;
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.flag-icon-small {
    width: 26px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.language-option:hover .flag-icon-small {
    transform: scale(1.1);
}

/* Legacy flag button styles - keeping for compatibility */
.flag-btn {
    background: white;
    border: 2px solid transparent;
    padding: 4px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    width: 42px;
    height: 32px;
    overflow: hidden;
    opacity: 0.6;
}

.flag-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.flag-btn.active {
    border-color: var(--accent-color);
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(144, 169, 85, 0.3);
}

.flag-btn.active:hover {
    transform: none;
}

.flag-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.flag-btn:not(.active):hover .flag-icon {
    transform: scale(1.1);
}

/* Hero Section */
.hidden {
    display: none;
}

.hero {
    position: relative;
    min-height: 110vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('image/back1.JPG') center center / cover no-repeat;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    margin-top: -50px;
}

@keyframes backgroundScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(100px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    margin-top: 0px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    animation: fadeInDown 1s;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    animation: fadeInUp 1s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-location {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    animation: fadeInUp 1s 0.2s backwards;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(144, 169, 85, 0.3);
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInUp 1s 0.4s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-left: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(-45deg);
    margin: 0 auto;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--text-light);
    border-color: var(--secondary-color);
}

.btn-outline {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--text-light);
    border-color: var(--secondary-color);
}

.btn-link {
    background: none;
    color: var(--secondary-color);
    padding: 0;
    font-weight: 600;
}

.btn-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Section Styles */
section {
    padding: 80px 0;
    scroll-margin-top: 150px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 20px;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--light-bg);
    position: relative;
    z-index: 2;
    margin-top: -50px;
    padding-top: 130px !important;
}

.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 3;
}

.about-text {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.2rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.3;
}

.intro-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.highlight-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding: 15px;
    background: linear-gradient(to right, rgba(144, 169, 85, 0.1), transparent);
    border-left: 4px solid var(--accent-color);
    border-radius: 5px;
}

.features-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 25px 0 20px 0;
}

.title-icon {
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.features-list {
    list-style: none;
    margin-top: 20px;
}

.features-list li {
    padding: 15px 0;
    padding-left: 45px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
    transition: all 0.3s;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-list li:hover {
    background: rgba(144, 169, 85, 0.05);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
    position: absolute;
    left: 8px;
    transition: transform 0.3s;
}

.features-list li:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}

.about-image {
    position: relative;
    height: 100%;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.about-image .image-placeholder {
    background: linear-gradient(135deg, #2d5016 0%, #1a4d2e 100%);
    height: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 6px;
}

/* Events Section */
.events {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)), url('image/back2.jpg') center center / cover no-repeat;
    color: var(--text-light);
    position: relative;
    z-index: 2;
    margin-top: -50px;
    padding-top: 130px !important;
}

.events .section-header h2,
.events .section-header .divider {
    color: var(--text-light);
    background: var(--accent-color);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.event-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-date {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 12px 18px;
    border-radius: 8px;
    text-align: center;
    width: fit-content;
}

.event-date .day-name {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-bottom: 3px;
}

.event-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    margin-top: 5px;
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.event-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #e8e8e8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.spaces-available {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px !important;
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

/* Game Types Section */
.game-types {
    background: var(--light-bg);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.game-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.game-image {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
    padding: 30px;
    transition: all 0.3s ease;
}

.game-content {
    color: var(--text-light);
}

.game-content h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 700;
}

.game-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

/* Gallery Section */
.gallery {
    background: var(--dark-bg);
}

.gallery .section-header h2 {
    color: var(--text-light);
}

.gallery .divider {
    background: var(--accent-color);
}

.gallery-slider-wrapper {
    position: relative;
    padding: 0 60px;
}

.gallery-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-page {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.gallery-page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 77, 46, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn.prev {
    left: 0;
}

.gallery-nav-btn.next {
    right: 0;
}

.gallery-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-nav-btn:disabled:hover {
    transform: translateY(-50%);
    background: rgba(26, 77, 46, 0.9);
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(26, 77, 46, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot:hover {
    background: rgba(26, 77, 46, 0.6);
}

.gallery-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.gallery-item .image-placeholder {
    background: linear-gradient(135deg, #2d5016 0%, #1a4d2e 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.gallery-item:hover .image-placeholder {
    transform: scale(1.1);
}

/* Pricing Section */
.pricing {
    background: var(--light-bg);
}

.package-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-top: -10px;
    margin-bottom: 15px;
}

.pricing-card.featured .package-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.pricing-card.featured .price-label {
    color: rgba(255, 255, 255, 0.8);
}

.price-contact {
    display: block;
    font-size: 1.2rem;
    color: #666;
    margin-top: 10px;
}

.pricing-card.featured .price-contact {
    color: rgba(255, 255, 255, 0.9);
}

/* What's Included Section */
.included-section {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    color: white;
}

.included-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.included-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.included-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.included-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.included-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}

.included-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Extra Services Section */
.extra-services {
    background: white;
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Accommodation Section */
.accommodation {
    background: var(--light-bg);
    padding: 80px 0;
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.accommodation-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.accommodation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.accommodation-card.featured {
    border: 3px solid var(--accent-color);
}

.accommodation-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.accommodation-badge.extra {
    background: var(--secondary-color);
    color: white;
}

.accommodation-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.accommodation-features {
    list-style: none;
    margin: 20px 0;
}

.accommodation-features li {
    padding: 12px 0;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.booking-note {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #856404;
}

/* Family Policy Section */
.family-policy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 0;
    color: white;
}

.family-policy .section-header h2,
.family-policy .section-header p {
    color: white;
}

.family-policy .divider {
    background: white;
}

.family-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.family-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px 20px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.family-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px);
}

.family-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    text-align: center;
}

.family-card h3 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 10px;
}

.family-price {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #ffd700;
}

.family-note {
    text-align: center;
    font-size: 0.85rem;
    margin-bottom: 12px;
    opacity: 0.9;
}

.family-includes {
    list-style: none;
    margin-top: 12px;
}

.family-includes li {
    padding: 6px 0;
    font-size: 0.9rem;
}

.family-tours {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    margin-top: 20px;
}

.family-tours h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

.tours-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tour-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tour-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Pricing Section Continued */
.pricing {
    background: var(--light-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    background: var(--primary-color);
    color: var(--text-light);
    transform: scale(1.05);
}

.pricing-card.featured h3,
.pricing-card.featured .price {
    color: var(--text-light);
}

.pricing-card.featured .pricing-features li {
    color: var(--text-light);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price {
    margin: 30px 0;
    color: var(--primary-color);
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
}

.price .currency-code {
    font-size: 1.1rem;
    font-weight: 600;
    margin-left: 5px;
    color: #ffffff;
    vertical-align: baseline;
}

.price .period {
    font-size: 1rem;
    color: #ffffff;
}
s
.pricing-features {
    list-style: none;
    margin: 30px 0 50px 0;
    text-align: left;
    padding: 0;
}

.pricing-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    list-style-type: none;
}

.pricing-features li:last-child {
    margin-bottom: 0;
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.pricing-card.featured .pricing-features li::before {
    color: var(--accent-color);
}

.pricing-card .btn {
    margin-top: 30px;
}

/* review Section */
.review {
    background: white;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    color: #555;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: #888;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-item p {
    line-height: 1.8;
    color: #666;
}

.info-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 10px;
    color: #aaa;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-brand .logo {
        height: 75px;
    }
    
    .nav-brand .logo:hover {
        transform: scale(1.03);
    }
    
    .brand-text h2 {
        font-size: 0.85rem;
    }
    
    .brand-text p {
        font-size: 0.65rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 40px 20px;
        gap: 0;
        transition: right 0.3s;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .language-switcher {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .lang-btn {
        width: auto;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .games-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 180px;
        min-height: 100vh;
    }

    .hero-content {
        margin-top: 0;
        padding-top: 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-location {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .events-grid,
    .games-grid,
    .gallery-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-slider-wrapper {
        padding: 0 50px;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* Game Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: 20px;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px 30px 30px;
    overflow-y: auto;
    max-height: 85vh;
}

.modal-body h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}

.modal-details {
    margin: 20px 0;
}

.modal-info h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin: 25px 0 15px;
    font-weight: 600;
}

.modal-info p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.modal-info ul {
    list-style: none;
    padding-left: 0;
}

.modal-info ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.modal-info ul li::before {
    content: '⚔️';
    position: absolute;
    left: 0;
    top: 10px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.modal-actions .btn {
    min-width: 150px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Event Modal Styles */
.event-modal-content {
    max-width: 1000px;
    width: 95%;
    max-height: 95vh;
    overflow: hidden;
    padding: 0;
}

.event-modal-header {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.event-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-modal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    padding: 40px 30px 25px;
}

.event-badge-container {
    position: absolute;
    top: 20px;
    right: 20px;
}

.event-availability-badge {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(40, 167, 69, 0.7);
    }
}

.event-modal-title {
    color: white;
    font-size: 2.2rem;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.event-modal-body {
    padding: 30px;
    max-height: calc(95vh - 300px);
    overflow-y: auto;
}

/* Event Timeline Bar */
.event-timeline-bar {
    display: flex;
    gap: 30px;
    padding: 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 180px;
}

.timeline-icon {
    font-size: 2.5rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.timeline-content {
    display: flex;
    flex-direction: column;
}

.timeline-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

/* Event Content Grid */
.event-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.event-main-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.event-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.section-icon {
    font-size: 1.5rem;
}

.section-text {
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

/* Event Sidebar */
.event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-highlights {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 15px;
    color: white;
}

.sidebar-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    line-height: 1.6;
    color: white;
}

.highlights-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #ffd700;
}

.event-rules-box {
    background: #fff3cd;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #ffc107;
}

.event-rules-box .sidebar-title {
    color: #856404;
}

.rules-text {
    color: #856404;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

/* Event Pricing Box */
.event-pricing-box {
    background: linear-gradient(135deg, #1a4d2e 0%, #4f772d 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 25px rgba(26, 77, 46, 0.3);
}

.pricing-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.pricing-amount .period {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-note {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

.event-modal-actions {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 3px solid #eee;
}

.btn-register {
    background: linear-gradient(135deg, #4f772d 0%, #90a955 100%);
    position: relative;
    overflow: hidden;
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-register:hover::before {
    width: 300px;
    height: 300px;
}

/* Booking Modal Styles */
.booking-modal-content {
    max-width: 900px;
    width: 95%;
}

.booking-modal-body {
    padding: 50px 40px 40px;
}

.booking-modal-body h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 15px;
}

.booking-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1rem;
}

/* Booking Form Styles */
.booking-form {
    max-width: 100%;
}

/* Event Info Section in Booking Form */
.event-info-section {
    margin-bottom: 30px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.event-info-card {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d7a4a 100%);
    padding: 25px 30px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 5px 20px rgba(26, 77, 46, 0.3);
}

.event-info-card h3 {
    color: white !important;
    font-size: 1.6rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.event-info-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.form-section {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.form-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(26, 77, 46, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Sarabun', 'Roboto', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:disabled,
.form-group select:disabled {
    background-color: #f0f0f0;
    color: #666;
    cursor: not-allowed;
    border-color: #ccc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(79, 119, 45, 0.1);
}

.form-group input[type="date"] {
    cursor: pointer;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.date-format-hint {
    font-style: italic;
}

.form-group input[type="number"] {
    -moz-appearance: textfield;
}

.form-group input[type="number"]::-webkit-outer-spin-button,
.form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Phone Input Group with Country Code */
.phone-input-group {
    display: flex;
    gap: 10px;
}

.country-code-select {
    width: 120px;
    flex-shrink: 0;
    padding: 12px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
}

.country-code-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184, 146, 96, 0.1);
}

.phone-input-group input[type="tel"] {
    flex: 1;
    min-width: 0;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    border-color: var(--accent-color);
    background: #f8f9fa;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

.checkbox-label span {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 3px solid rgba(26, 77, 46, 0.2);
}

.btn-large {
    min-width: 200px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Success Modal */
.success-modal-content {
    max-width: 500px;
    text-align: center;
    padding: 50px 40px;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

.success-modal-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.success-modal-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Error Modal */
.error-modal-content {
    max-width: 550px;
    text-align: center;
    padding: 50px 40px;
}

.error-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: shake 0.5s ease;
}

.error-modal-content h2 {
    color: #dc3545;
    font-size: 2rem;
    margin-bottom: 20px;
}

.error-modal-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    white-space: pre-line;
}

.error-contact-info {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.error-contact-info > p {
    margin-bottom: 15px;
    font-weight: 600;
    color: #495057;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-details > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent);
    text-decoration: underline;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

/* Form Validation Styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

/* Player and Companion Cards */
.person-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.person-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.phone-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.country-code-select {
    flex: 0 0 130px;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.country-code-select:hover {
    border-color: var(--accent-color);
}

.country-code-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(79, 119, 45, 0.1);
}

.phone-number-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.phone-number-input:hover {
    border-color: var(--accent-color);
}

.phone-number-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(79, 119, 45, 0.1);
}

/* Number Input Group for Adults/Children */
.number-input-group {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.number-input-group:hover {
    border-color: var(--accent-color);
}

.number-input-group:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(79, 119, 45, 0.1);
}

.number-input-group input[type="number"] {
    flex: 1;
    border: none;
    padding: 12px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
    -moz-appearance: textfield;
    cursor: default;
}

.number-input-group input[type="number"]::-webkit-outer-spin-button,
.number-input-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number-input-group input[type="number"]:focus {
    outline: none;
    box-shadow: none;
}

.number-btn {
    flex: 0 0 44px;
    height: 44px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.number-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.number-btn:active {
    transform: scale(0.95);
}

.number-btn:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.number-btn:disabled:hover {
    background: #e0e0e0;
    transform: none;
}

.number-btn.minus {
    border-right: 1px solid #ddd;
}

.number-btn.plus {
    border-left: 1px solid #ddd;
}

.person-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.person-card-title {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.person-card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-remove-person {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-remove-person::before {
    content: "×";
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.btn-remove-person:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-remove-person:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.btn-remove-person:disabled {
    background: transparent;
    border-color: #cccccc;
    color: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.btn-remove-person:disabled:hover {
    background: transparent;
    box-shadow: none;
}

.remove-person-btn {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.remove-person-btn::before {
    content: "×";
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.remove-person-btn:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.remove-person-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.remove-person-btn:disabled {
    background: transparent;
    border-color: #cccccc;
    color: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.remove-person-btn:disabled:hover {
    background: transparent;
    box-shadow: none;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.section-note {
    background: rgba(79, 119, 45, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #555;
}

/* Age Type Selection */
.age-type-selector {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.age-type-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #666;
}

.age-type-btn:hover {
    border-color: var(--accent-color);
    background: #f8f9fa;
}

.age-type-btn.active {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border-color: var(--secondary-color);
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .services-grid,
    .accommodation-grid,
    .family-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .included-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .included-section {
        padding: 30px 20px;
    }
    
    .included-title {
        font-size: 1.5rem;
    }
    
    .service-card,
    .accommodation-card,
    .family-card {
        padding: 30px 20px;
    }
    
    .family-icon {
        font-size: 3rem;
    }
    
    .family-tours {
        padding: 25px 15px;
    }
    
    .tours-list {
        gap: 10px;
    }
    
    .tour-item {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-body,
    .booking-modal-body {
        padding: 50px 20px 20px;
        max-height: 90vh;
    }
    
    .modal-body h2,
    .booking-modal-body h2 {
        font-size: 1.5rem;
    }
    
    .event-info-card {
        padding: 20px;
    }
    
    .event-info-card h3 {
        font-size: 1.3rem;
    }
    
    .event-info-details {
        flex-direction: column;
        gap: 12px;
    }
    
    .event-info-item {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .modal-info h3 {
        font-size: 1.1rem;
    }
    
    .form-section {
        padding: 20px 15px;
    }
    
    .form-section h3 {
        font-size: 1.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        min-width: auto;
    }
    
    .success-modal-content {
        padding: 40px 20px;
    }
    
    .success-icon {
        font-size: 4rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    /* Person Cards Responsive */
    .person-card {
        padding: 20px 15px;
    }
    
    .person-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .person-card-title {
        font-size: 1rem;
    }
    
    .age-type-selector {
        flex-direction: column;
        gap: 8px;
    }
    
    .age-type-btn {
        width: 100%;
    }
    
    /* Event Modal Responsive */
    .event-modal-content {
        width: 100%;
        max-height: 100vh;
    }
    
    .event-modal-header {
        height: 200px;
    }
    
    .event-modal-title {
        font-size: 1.5rem;
    }
    
    .event-modal-body {
        padding: 20px 15px;
        max-height: calc(100vh - 200px);
    }
    
    .event-timeline-bar {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .timeline-item {
        min-width: auto;
    }
    
    .event-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-section {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .event-highlights,
    .event-rules-box,
    .event-pricing-box {
        padding: 20px 15px;
    }
    
    .pricing-amount {
        font-size: 2rem;
    }
    
    .event-modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
    
    .modal-close {
        right: 10px;
        top: 10px;
    }
}

/* Event Modal Specific Styles */
.event-meta {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.event-meta p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.event-meta strong {
    color: var(--primary-color);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}
