/* Modern Homepage Styles */
:root {
    --primary-blue: #1a365d;
    --primary-gold: #ffb703;
    --primary-gold-hover: #fb8500;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #fdfbfb;
    --bg-gray: #ebedee;
}

body.index-page {
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-light);
}

/* Hero Section */
.modern-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -100px; /* Adjust based on header height to go under it if transparent, or keep 0 */
}

.modern-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/banner-bg-1.jpg') center/cover no-repeat;
    animation: heroZoom 20s infinite alternate;
    z-index: 1;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.modern-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,54,93,0.85) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.modern-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    max-width: 800px;
    margin-top: 100px;
}

.modern-hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.modern-hero-content p {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.5;
}

.modern-btn {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-hover) 100%);
    color: #fff !important;
    padding: 16px 40px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(251, 133, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modern-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(251, 133, 0, 0.4);
    text-decoration: none;
}

/* Section Titles */
.modern-section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-top: 20px;
}

.modern-section-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-blue);
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
}

.modern-section-title h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: var(--primary-gold);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

.modern-section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism Cards for Destinations */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.dest-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column;
    position: relative;
}

.dest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: rgba(255, 183, 3, 0.5);
}

.dest-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.dest-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.dest-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.dest-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dest-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.dest-card-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.dest-card-btn {
    align-self: flex-start;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.dest-card-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.dest-card:hover .dest-card-btn {
    color: var(--primary-gold);
    text-decoration: none;
}

.dest-card:hover .dest-card-btn::after {
    width: 100%;
}

/* Why Choose Us & Stats Section */
.modern-stats-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0d1b2a 100%);
    padding: 80px 0;
    color: #fff;
    margin-top: 60px;
}

.modern-stats-section .modern-section-title h2 {
    color: #fff;
}

.modern-stats-section .modern-section-title p {
    color: rgba(255,255,255,0.8);
}

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

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
    border-color: var(--primary-gold);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-hover) 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(251, 133, 0, 0.3);
}

.feature-box h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.feature-box p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   HERO SLIDE OVERLAYS & TEXT
   ========================================================================== */

/* Make each banner item a relative container for overlays */
#header #banner .banner-bg-item {
    position: relative !important;
    overflow: hidden;
}

/* Dark gradient overlay on top of slide image */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 26, 50, 0.82) 0%,
        rgba(0, 0, 0, 0.50) 60%,
        rgba(0, 0, 0, 0.20) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Slide content container */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 90%;
    max-width: 820px;
    padding: 0 20px;
    color: #fff;
    margin-top: 30px; /* offset for the fixed nav bar above */
}

/* Tag / breadcrumb above headline */
.slide-tag {
    display: inline-block;
    background: rgba(255, 183, 3, 0.20);
    border: 1px solid rgba(255, 183, 3, 0.60);
    color: #ffb703;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}

/* Main headline */
.slide-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

/* Supporting subtitle */
.slide-sub {
    font-size: 19px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA button */
.slide-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    color: #1a365d !important;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(255, 183, 3, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(255, 183, 3, 0.5);
    text-decoration: none !important;
    color: #1a365d !important;
}

.slide-btn .fa {
    margin-left: 6px;
    font-size: 18px;
    vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .slide-title { font-size: 38px; }
    .slide-sub   { font-size: 16px; }
    .slide-btn   { font-size: 14px; padding: 12px 28px; }
    .slide-content { margin-top: 50px; }
}

@media (max-width: 575px) {
    .slide-title { font-size: 28px; }
    .slide-tag   { font-size: 11px; }
    .slide-sub   { font-size: 14px; }
    .slide-btn   { font-size: 13px; padding: 10px 22px; }
    .slide-content { margin-top: 60px; }
}
