
/* --- Global & Variables --- */
:root {
    --primary-color: #001bb7;
    --secondary-color: #ff8040; 
    --bg-color: #f4f4f4;
    --bg-dark: #1a1a1a;
    --text-color: #333;
    --text-light: #fff;
    --card-bg: #ffffff;
    --border-color: #f5f1dc;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

section {
    padding: 60px 20px;
}

h1, h2, h3 {
    margin-bottom: 20px;
    line-height: 1.2;
}

textarea{
    resize: none;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

.btn:hover {
    background-color: #b3486c;
    transform: translateY(-2px); 
}

.btn-primary {
    background-color: #0046ff;
}
.btn-primary:hover {
    color:#000;
    background-color: #f5f1dc;
}
.btn-secondary {
    background-color: var(--primary-color);
    width: 100%;
    text-align: center;
}
.btn-secondary:hover {
    background-color: #5548b3;
}

/* ---  Navbar --- */
.header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.header.sticky {
    background-color: rgba(26, 26, 26, 0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links li a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ---  Hero section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    color: var(--text-light);
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/business.jpg') no-repeat center center/cover;
    padding-top: var(--header-height);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- 7. Countdown Timer --- */
.countdown-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}
.countdown-section h2 {
    font-size: 2rem;
}
#countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.timer-unit {
    text-align: center;
    background: rgba(0,0,0,0.1);
    padding: 15px 25px;
    border-radius: 5px;
    min-width: 100px;
}
.timer-unit span {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}
.timer-unit label {
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* --- 3. & 4. Events & Filter --- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}
#event-search {
    flex-basis: 300px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}
.filter-buttons {
    display: flex;
    gap: 10px;
}
.filter-btn {
    padding: 10px 20px;
    border: none;
    background: var(--card-bg);
    cursor: pointer;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}
.filter-btn:hover {
    background-color: #eee;
}
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.event-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-content {
    padding: 20px;
}
.card-content h3 {
    font-size: 1.4rem;
}
.card-content p {
    margin-bottom: 10px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-content .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 15px;
    margin-bottom: 15px;
}

/* --- 8. Featured Carousel --- */
.featured {
    background-color: var(--card-bg);
}
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}
.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

/* .carousel-item-3 {
    width: 40%;
} */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.7);
    border: none;
    padding: 10px 15px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* ---  Testimonials --- */
.testimonials {
    background-color: var(--bg-dark);
    color: var(--text-light);
}
.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}
.testimonial-slide {
    display: flex; 
}
.testimonial {
    min-width: 100%;
    text-align: center;
    padding: 20px;
}
.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 15px;
}
.testimonial h4 {
    font-weight: 600;
    color: var(--secondary-color);
}

/* ---  Contact Section --- */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}
.contact-form, .contact-map {
    flex: 1;
    min-width: 300px;
}
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}
.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* --- 10. & 12. Footer --- */
.footer {
    background-color: var(--bg-dark);
    color: #aaa;
    padding: 60px 20px 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-col p, .footer-col li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.footer-col ul li a:hover {
    color: var(--secondary-color);
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-icons a {
    font-size: 1.3rem;
    color: #aaa;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: var(--secondary-color);
}
#newsletter-form {
    display: flex;
}
#newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
}
#newsletter-form button {
    padding: 10px;
    border-radius: 0 5px 5px 0;
    font-size: 0.9rem;
}
.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 2.5rem;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- 15. Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.back-to-top.visible {
    visibility: visible;
    opacity: 1;
}
.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* --- Modals (Login & Booking) --- */
.modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal.active {
    display: flex;
    opacity: 1;
}
.modal-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}
.modal.active .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
}
.modal-content h2 {
    text-align: left;
    margin-bottom: 25px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}
.modal-switch {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}
.modal-switch a {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
}
.total-price {
    text-align: right;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 20px 0;
}

/* ---  Responsive Design --- */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    /* Mobile Navbar */
    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        opacity: 0;
    }
    .nav-links.active li {
        opacity: 1;
        transition: opacity 0.5s ease 0.3s;
    }
    .hamburger {
        display: block;
    }
    .hamburger.toggle .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger.toggle .line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.toggle .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    #countdown-timer {
        flex-wrap: wrap;
        gap: 10px;
    }
    .timer-unit {
        flex-basis: 150px;
    }
}