/* --- BASE STYLES --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* --- FIXED ALTERNATING SCROLL SECTIONS --- */
.section { padding: 80px 20px; }

.graphic-row {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
}

.graphic-row.reverse {
    flex-direction: row-reverse;
}

/* On mobile, force stack */
@media (max-width: 900px) {
    .graphic-row, .graphic-row.reverse {
        flex-direction: column;
        text-align: center;
    }
}

.graphic-text {
    flex: 1 1 400px; /* Text takes up space but allows wrapping */
}

.graphic-visual {
    flex: 1 1 400px;
    text-align: center;
}

/* RESPONSIVE IMAGE FIX */
.graphic-visual img {
    width: 100%;
    height: auto;      /* Keeps aspect ratio */
    max-width: 500px;  /* Prevents it from getting too big */
    border-radius: 12px;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    display: block;    /* Removes extra whitespace below image */
    margin: 0 auto;    /* Centers image */
}

:root {
    --primary-navy: #0B132B;
    --surface-navy: #132047;
    --surface-light: rgba(255, 255, 255, 0.05);
    --accent-gold: #D4AF37;
    --accent-gold-light: #F4C430;
    --accent-gold-glow: rgba(212, 175, 55, 0.3);
    --accent-red: #8B0000;
    --text-light: #FFFFFF;
    --text-muted: #A3B1C6;
    --bg-light: #F4F4F9;
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-navy);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: rgba(139, 0, 0, 0.95);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

header h1 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav { display: flex; align-items: center; }

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

nav a:hover { color: var(--accent-gold); }

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--surface-navy);
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    z-index: 1000;
    top: 100%;
    border-radius: 5px;
    border: 1px solid var(--accent-gold);
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin: 0;
    font-size: 0.85rem;
    text-transform: capitalize;
}

.dropdown-content a:hover { background-color: var(--accent-red); }

div:hover > .dropdown-content { display: block; }

/* --- HERO SECTIONS --- */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    /* Add your image here */
    background: linear-gradient(rgba(11, 19, 43, 0.7), rgba(11, 19, 43, 0.7)), 
                url('images/art.png') center/cover no-repeat;
}

.hero h2 {
    color: var(--accent-gold);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8); /* Stronger shadow for readability */
    max-width: 900px;
}

/* --- RESPONSIVE HERO FIXES --- */
@media (max-width: 768px) {
    .hero {
        height: 60vh; /* Shorter hero on mobile */
        padding: 20px;
    }

    .hero h2 {
        font-size: 2.2rem; /* Smaller heading for mobile screens */
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}
.hero p { font-size: 1.3rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px auto; }

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    color: var(--accent-gold);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

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

/* --- SECTIONS & GRIDS --- */
.section { padding: 100px 20px; }
.section-alt { background: linear-gradient(135deg, var(--surface-navy), var(--primary-navy)); }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; color: var(--accent-gold); font-size: 2.5rem; margin-bottom: 50px; }

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



/* --- BUTTONS --- */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-navy);
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-gold-glow); }

/* --- FORMS & DETAIL PAGES --- */
.form-container { background: var(--surface-navy); padding: 40px; border-radius: 12px; max-width: 650px; margin: 0 auto; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--accent-gold); }
.form-group input, .form-group select { width: 100%; padding: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-light); border-radius: 8px; box-sizing: border-box; }


.detail-hero {
    padding: 60px 20px;
    border-bottom: 2px solid var(--accent-gold);
    text-align: center;
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    align-items: center;    /* Centers items horizontally */
    background: radial-gradient(circle at top, #1A2A5E, var(--primary-navy));
}

/* The responsive centered image */
.hero-image {
    width: 90%;             /* Responsive width */
    max-width: 800px;       /* Keeps it from becoming too wide on desktops */
    height: auto;           /* Maintains original aspect ratio */
    max-height: 50vh;       /* Limits the height to 50% of the screen */
    object-fit: contain;    /* Forces the image to show its entire content within the bounds */
    margin-top: 30px;       /* Space below text */
    border-radius: 12px;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
}

.hero-image-wrapper {
    display: inline-block; /* Makes the div only as wide as the image */
    line-height: 0;        /* Removes default text-spacing gaps under images */
    margin-top: 30px;
    border: 3px solid var(--accent-gold);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;      /* Ensures the border follows the rounded corners */
}

/* The image inside the wrapper */
.hero-image-wrapper img {
    display: block;
    width: auto;           /* Allows natural width */
    height: auto;          /* Allows natural height */
    max-width: 90vw;       /* Responsive max width */
    max-height: 50vh;      /* Capped at 50% screen height */
}

@media (max-width: 768px) {
    .detail-hero { padding: 40px 20px; }
    .detail-hero h2 { font-size: 2rem; }
    .hero-image { width: 100%; margin-top: 20px; }
}
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.info-box { background: var(--surface-navy); padding: 35px; border-radius: 12px; border-left: 4px solid var(--accent-gold); }
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 30px; }
.package-card { background: var(--bg-light); color: var(--primary-navy); padding: 25px; border-radius: 12px; border: 2px solid var(--accent-red); text-align: center; }

footer { text-align: center; padding: 30px 20px; background-color: #050a1a; margin-top: 60px; color: var(--text-muted); }

/* --- OVERLAY CARD STYLING --- */
/* --- OVERLAY AT BOTTOM ONLY --- */
.card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
    transition: all 0.4s ease;
    border: 1px solid var(--accent-gold);
}

.card-img-full {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps image sharp and filling the space */
    object-position: center;
    transition: transform 0.5s ease;
}

.card:hover .card-img-full { transform: scale(1.05); }

/* The overlay only takes up the bottom 45% */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%; 
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Pushes text/button to the bottom */
    align-items: center;       /* Centers horizontally */
    background: linear-gradient(to top, rgba(11, 19, 43, 0.95) 60%, rgba(11, 19, 43, 0));
    box-sizing: border-box;
    text-align: center;
}

.card-overlay h3 {
    margin: 0 0 10px 0;
    color: var(--accent-gold);
    font-size: 1.3rem;
    text-transform: uppercase;
    
    /* NEW: Black semi-transparent background */
    background-color: rgba(0, 0, 0, 0.8); 
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-block; /* Makes the box wrap the text, not the whole width */
}

.card-overlay p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.btn-small {
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 8px 20px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-small:hover { background: #FFF; }