/* ================= GENERAL ================ */

body {
    margin: 0;
    font-family: "Poppins", Arial, sans-serif;
    /* Layered jungle background: deep green base + subtle glow spots */
    background-image:
        radial-gradient(ellipse at 15% 20%, rgba(183,255,0,0.03) 0%, transparent 20%),
        radial-gradient(ellipse at 85% 80%, rgba(77,180,170,0.03) 0%, transparent 18%),
        linear-gradient(180deg, #063d2d 0%, #042b20 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    overflow-x: hidden;
}

/* Subtle textured overlay and slow animated light for depth */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    /* texture SVG for jungle feel */
    background-image: url('static/images/jungle-texture.svg');
    background-repeat: repeat;
    background-size: 600px;
    opacity: 0.08;
    mix-blend-mode: overlay;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle at 20% 10%, rgba(183,255,0,0.02) 0%, transparent 25%),
                      radial-gradient(circle at 80% 80%, rgba(77,180,170,0.02) 0%, transparent 22%);
    background-repeat: no-repeat;
    animation: jungle-light 18s linear infinite;
}

@keyframes jungle-light {
    0% { background-position: 10% 5%, 90% 85%; }
    50% { background-position: 30% 20%, 70% 70%; }
    100% { background-position: 10% 5%, 90% 85%; }
}

/* Floating leaves animation */
@keyframes float-leaf-1 {
    0% { transform: translateX(0) translateY(0) rotate(0deg); opacity: 0; }
    5% { opacity: 0.6; }
    95% { opacity: 0.6; }
    100% { transform: translateX(80vw) translateY(120vh) rotate(360deg); opacity: 0; }
}

@keyframes float-leaf-2 {
    0% { transform: translateX(0) translateY(0) rotate(0deg); opacity: 0; }
    5% { opacity: 0.5; }
    95% { opacity: 0.5; }
    100% { transform: translateX(-120vw) translateY(130vh) rotate(-360deg); opacity: 0; }
}

@keyframes float-leaf-3 {
    0% { transform: translateX(0) translateY(0) rotate(0deg); opacity: 0; }
    5% { opacity: 0.7; }
    95% { opacity: 0.7; }
    100% { transform: translateX(120vw) translateY(115vh) rotate(360deg); opacity: 0; }
}

@keyframes float-leaf-4 {
    0% { transform: translateX(0) translateY(0) rotate(0deg); opacity: 0; }
    5% { opacity: 0.55; }
    95% { opacity: 0.55; }
    100% { transform: translateX(-90vw) translateY(125vh) rotate(-360deg); opacity: 0; }
}

@keyframes float-leaf-5 {
    0% { transform: translateX(0) translateY(0) rotate(0deg); opacity: 0; }
    5% { opacity: 0.65; }
    95% { opacity: 0.65; }
    100% { transform: translateX(110vw) translateY(110vh) rotate(360deg); opacity: 0; }
}

@keyframes float-leaf-6 {
    0% { transform: translateX(0) translateY(0) rotate(0deg); opacity: 0; }
    5% { opacity: 0.6; }
    95% { opacity: 0.6; }
    100% { transform: translateX(-110vw) translateY(120vh) rotate(-360deg); opacity: 0; }
}

/* Floating leaf leaves */
.floating-leaves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.leaf {
    position: absolute;
    opacity: 0;
    font-size: 2rem;
}

.leaf:nth-child(1) {
    left: 15%;
    top: -50px;
    animation: float-leaf-1 22s linear infinite;
    animation-delay: 0s;
}

.leaf:nth-child(2) {
    left: 25%;
    top: -100px;
    animation: float-leaf-2 25s linear infinite;
    animation-delay: 3s;
}

.leaf:nth-child(3) {
    left: 40%;
    top: -80px;
    animation: float-leaf-3 24s linear infinite;
    animation-delay: 7s;
}

.leaf:nth-child(4) {
    left: 60%;
    top: -60px;
    animation: float-leaf-4 26s linear infinite;
    animation-delay: 2s;
}

.leaf:nth-child(5) {
    left: 75%;
    top: -120px;
    animation: float-leaf-5 23s linear infinite;
    animation-delay: 5s;
}

.leaf:nth-child(6) {
    left: 90%;
    top: -90px;
    animation: float-leaf-6 25s linear infinite;
    animation-delay: 1s;
}

h1, h2, h3 {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Exhibits layout tweaks */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 20px;
}

.card {
    background: rgba(0,0,0,0.18);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.exhibit-description h4 {
    margin: 10px 0 6px;
    color: #b7ff00;
    font-size: 1rem;
}

.exhibit-description p {
    margin: 0 0 10px;
    line-height: 1.45;
    color: #e8f7f2;
}

@media (max-width: 600px) {
    .card img { height: 160px; }
    .card-content { padding: 12px; }
}

/* ============= NAVIGATION BAR ============= */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .nav-left, nav .nav-right {
    display: flex;
    gap: 20px;
}

nav a {
    padding: 10px 22px;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s ease;
}

nav a:hover {
    background: #b7ff00;
    color: #063d2d;
    transform: scale(1.05);
}

.signup, .login {
    background: #4db4aa;
}

.signup:hover, .login:hover {
    background: #b7ff00;
    color: black;
}

/* ============= ANIMATIONS ============= */

@keyframes fadeInUp {
    0% {opacity: 0; transform: translateY(40px);}
    100% {opacity: 1; transform: translateY(0);}
}

@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

/* ============= HERO SECTION ============= */

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px;
    min-height: 90vh;
    animation: fadeIn 1.2s ease;
}

.hero-left {
    animation: fadeInUp 1s ease forwards;
}

.hero-left h1 {
    font-size: 80px;
    letter-spacing: 2px;
}

.hero-left h2 {
    color: #b7ff00;
    font-size: 48px;
    margin-top: -10px;
}

.hero-left p {
    max-width: 450px;
}

.btn-main {
    margin-top: 25px;
    background: #b7ff00;
    padding: 16px 35px;
    border-radius: 40px;
    font-size: 20px;
    border: none;
    color: #063d2d;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-main:hover {
    transform: scale(1.08);
    background: #d4ff4f;
}

/* ========== ABOUT SECTION ============= */

.about-section {
    padding: 100px 60px;
    text-align: center;
}

.about-section h2 {
    font-size: 42px;
    text-decoration: underline;
}

.about-section p {
    max-width: 900px;
    margin: 20px auto;
    line-height: 1.7;
    font-size: 20px;
}

.semi-circle {
    position: absolute;
    top: 65%;              
    right: 0;              
    transform: translateY(-50%);
    
    width: 300px;          /* semi-circle width */
    height: 600px;         /* semi-circle height */
    
    background-image: url("static/images/cute-red-panda-ailurus-fulgens-in-a-tree.jpg");
    background-size: cover;       /* makes the image cover the area */
    background-position: center;  /* centers the image */
    background-repeat: no-repeat; /* prevents tiling */
    
    border-top-left-radius: 500px;
    border-bottom-left-radius: 500px;
}


/* ========== MAP SECTION ============= */

.map-img {
    width: 85%;
    border-radius: 25px;
    margin-top: 20px;
    box-shadow: 0 0 25px #000;
    transition: 0.3s ease;
}

.map-img:hover {
    transform: scale(1.03);
}

/* ========== EXHIBIT CARDS ============= */

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 60px;
}

.card {
    background: #0a4b39;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.4);
    transition: 0.3s;
    animation: fadeInUp 0.8s ease;
}

.card:hover {
    transform: translateY(-10px) scale(1.03);
    background: #0f5a47;
}

.card img {
    width: 100%;
    border-radius: 15px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    background-color: #02261c;
    margin-top: 40px;
}

        .events-header {
            text-align: center;
            padding: 120px 20px 40px;
            animation: fadeInUp 1s ease;
        }

        .events-header h1 {
            font-size: 58px;
            color: #b7ff00;
        }

        .events-header p {
            max-width: 700px;
            margin: 10px auto;
            font-size: 20px;
            opacity: 0.9;
        }

        .events-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 40px;
            padding: 40px 60px;
        }

        .event-card {
            background: rgba(10, 75, 57, 0.85);
            border-radius: 20px;
            padding-bottom: 20px;
            box-shadow: 0 0 20px rgba(0,0,0,0.4);
            backdrop-filter: blur(6px);
            transition: 0.3s ease;
        }

        .event-card:hover {
            transform: translateY(-10px) scale(1.03);
        }

        .event-card img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            border-radius: 20px 20px 0 0;
        }

        .event-card-content {
            padding: 20px;
        }

        .event-title {
            font-size: 28px;
            color: #b7ff00;
        }

        .event-date {
            opacity: 0.8;
            margin: 5px 0;
        }

        .event-description {
            font-size: 16px;
            margin-bottom: 15px;
        }

        .event-btn {
            background: #b7ff00;
            padding: 12px 25px;
            border-radius: 30px;
            color: #063d2d;
            font-weight: 600;
            display: inline-block;
            transition: 0.3s;
        }

        .event-btn:hover {
            background: #d4ff4f;
        }

                .login-container {
            max-width: 500px;
            background: rgba(10, 75, 57, 0.85);
            margin: 120px auto;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0px 4px 25px rgba(0,0,0,0.5);
            backdrop-filter: blur(6px);
            animation: fadeInUp 0.9s ease;
        }

        .login-container h2 {
            text-align: center;
            font-size: 36px;
            margin-bottom: 20px;
            color: #b7ff00;
            text-shadow: 0 0 10px rgba(183, 255, 0, 0.25);
        }

        .login-container label {
            font-weight: 600;
            margin-bottom: 6px;
            display: block;
        }

        .login-container input {
            width: 100%;
            padding: 12px;
            border-radius: 12px;
            border: none;
            margin-bottom: 20px;
            font-size: 16px;
            background: #0f5a47;
            color: white;
        }

        .login-container input:focus {
            outline: 2px solid #b7ff00;
        }

        .login-btn {
            width: 100%;
            padding: 14px;
            background: #b7ff00;
            border: none;
            border-radius: 40px;
            font-size: 20px;
            color: #063d2d;
            cursor: pointer;
            transition: 0.3s ease;
            font-weight: 600;
        }

        .login-btn:hover {
            background: #d4ff4f;
            transform: scale(1.05);
        }

        .message {
            text-align: center;
            font-size: 18px;
            margin-bottom: 20px;
        }

/* ===== Alert Messages ===== */
.alert {
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.alert-icon {
    font-size: 20px;
    min-width: 24px;
}

.alert-content {
    flex: 1;
}

.alert-error {
    background: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.3);
    color: #ff6b6b;
}

.alert-error p {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.5;
}

.alert-error .alert-icon {
    color: #ff6b6b;
}

.alert-success {
    background: rgba(71, 207, 129, 0.1);
    border: 1px solid rgba(71, 207, 129, 0.3);
    color: #4de08a;
}

.alert-success p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.alert-success .alert-icon {
    color: #4de08a;
}

/* ===== Login Form Styling ===== */
.form-group-login {
    margin-bottom: 18px;
}

.form-group-login label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #e8ffd7;
}

.form-group-login input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(183, 255, 0, 0.12);
    background: #0f5a47;
    color: white;
    font-size: 16px;
    transition: 0.2s ease;
}

.form-group-login input:focus {
    outline: none;
    border-color: #b7ff00;
    background: rgba(15, 90, 71, 0.8);
    box-shadow: 0 0 12px rgba(183, 255, 0, 0.2);
}

.form-group-login input::placeholder {
    color: rgba(232, 255, 215, 0.5);
}

.signup-link {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: rgba(232, 255, 215, 0.8);
}

.signup-link a {
    color: #b7ff00;
    font-weight: 700;
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
    color: #d4ff4f;
}

/* ===== Sign Up Form Styling ===== */
.form-group-signup {
    margin-bottom: 18px;
}

.form-group-signup label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #e8ffd7;
}

.form-group-signup input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(183, 255, 0, 0.12);
    background: #0f5a47;
    color: white;
    font-size: 16px;
    transition: 0.2s ease;
}

.form-group-signup input:focus {
    outline: none;
    border-color: #b7ff00;
    background: rgba(15, 90, 71, 0.8);
    box-shadow: 0 0 12px rgba(183, 255, 0, 0.2);
}

.form-group-signup input::placeholder {
    color: rgba(232, 255, 215, 0.5);
}

.login-link {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: rgba(232, 255, 215, 0.8);
}

.login-link a {
    color: #b7ff00;
    font-weight: 700;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
    color: #d4ff4f;
}

                .signup-container {
            max-width: 500px;
            background: rgba(10, 75, 57, 0.85); /* translucent to let jungle glow show */
            margin: 120px auto;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0px 4px 25px rgba(0,0,0,0.5);
            backdrop-filter: blur(6px);
            animation: fadeInUp 0.9s ease;
        }

        .signup-container h2 {
            text-align: center;
            font-size: 36px;
            margin-bottom: 20px;
            color: #b7ff00;
            text-shadow: 0 0 10px rgba(183, 255, 0, 0.25);
        }

        .signup-container label {
            font-weight: 600;
            margin-bottom: 6px;
            display: block;
        }

        .signup-container input {
            width: 100%;
            padding: 12px;
            border-radius: 12px;
            border: none;
            margin-bottom: 20px;
            font-size: 16px;
            background: #0f5a47;
            color: white;
        }

        .signup-container input:focus {
            outline: 2px solid #b7ff00;
        }

        .signup-btn {
            width: 100%;
            padding: 14px;
            background: #b7ff00;
            border: none;
            border-radius: 40px;
            font-size: 20px;
            color: #063d2d;
            cursor: pointer;
            transition: 0.3s ease;
            font-weight: 600;
        }

        .signup-btn:hover {
            background: #d4ff4f;
            transform: scale(1.05);
        }

/* ================= BOOKINGS PAGE ================ */

/* Booking Container & Tabs */
.booking-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(183, 255, 0, 0.08);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.booking-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(183, 255, 0, 0.1);
}

.tab-btn {
    flex: 1;
    padding: 18px 20px;
    border: none;
    background: transparent;
    color: rgba(232, 255, 215, 0.6);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: rgba(183, 255, 0, 0.04);
}

.tab-btn.active {
    color: #b7ff00;
    border-bottom-color: #b7ff00;
    background: rgba(183, 255, 0, 0.05);
}

.tab-content {
    display: none;
    padding: 36px;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

.booking-form-wrapper {
    width: 100%;
}

.booking-form {
    background: transparent;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #b7ff00;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group select,
.form-group input[type="date"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(183, 255, 0, 0.12);
    border-radius: 12px;
    background: rgba(15, 90, 71, 0.5);
    color: white;
    font-size: 15px;
    transition: 0.2s ease;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #b7ff00;
    background: rgba(15, 90, 71, 0.7);
    box-shadow: 0 0 12px rgba(183, 255, 0, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 20px;
}

.submit-btn {
    padding: 16px 28px;
    margin-top: 8px;
    background: linear-gradient(135deg, #b7ff00 0%, #d4ff4f 100%);
    color: #063d2d;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(183, 255, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Bookings Section */
.bookings-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.bookings-section > h2 {
    font-size: 36px;
    color: #b7ff00;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 1px;
}

.bookings-category {
    margin-bottom: 50px;
}

.bookings-category h3 {
    font-size: 22px;
    color: #e8ffd7;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(183, 255, 0, 0.2);
}

.bookings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.booking-card {
    background: rgba(15, 90, 71, 0.4);
    border: 1px solid rgba(183, 255, 0, 0.1);
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s ease;
}

.booking-card:hover {
    transform: translateY(-6px);
    border-color: rgba(183, 255, 0, 0.3);
    box-shadow: 0 12px 30px rgba(183, 255, 0, 0.1);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    background: linear-gradient(90deg, rgba(183, 255, 0, 0.08), rgba(77, 180, 170, 0.04));
    border-bottom: 1px solid rgba(183, 255, 0, 0.1);
}

.booking-header h4 {
    margin: 0;
    color: #b7ff00;
    font-size: 16px;
}

.booking-body {
    padding: 18px;
}

.booking-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.detail-label {
    color: rgba(232, 255, 215, 0.7);
    font-weight: 600;
}

.detail-value {
    color: #b7ff00;
    font-weight: 700;
}

.empty-message {
    text-align: center;
    padding: 40px 20px;
    color: rgba(232, 255, 215, 0.6);
    font-size: 16px;
}

.empty-message a {
    color: #b7ff00;
    font-weight: 700;
    text-decoration: underline;
}

.empty-message a:hover {
    color: #d4ff4f;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.status-confirmed {
    background: rgba(71, 207, 129, 0.2);
    color: #4de08a;
}

.status-pending {
    background: rgba(255, 197, 59, 0.2);
    color: #ffd45e;
}

.status-cancelled {
    background: rgba(255, 87, 87, 0.2);
    color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-container {
        margin: 30px auto;
    }

    .booking-tabs {
        flex-direction: column;
    }

    .tab-btn {
        border-bottom: none;
        border-right: 3px solid transparent;
        padding: 14px 16px;
    }

    .tab-btn.active {
        border-right-color: #b7ff00;
        border-bottom: none;
    }

    .tab-content {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .bookings-grid {
        grid-template-columns: 1fr;
    }

    .booking-detail {
        flex-direction: column;
        gap: 4px;
    }

    .submit-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
}


