/* =====================================================
   RAMA GLOBAL TOUR - assets/css/style.css
   Header / navbar design ke saath match karta hua
   ===================================================== */

:root {
    --blue: #123C7A;
    --blue2: #1B4F9C;
    --gold: #D89B2C;
    --gold2: #F0B92E;
    --ink: #13213a;
    --muted: #6d7890;
    --light: #f5f7fb;
    --line: #e6eaf2;
    --shadow: 0 15px 45px rgba(18, 60, 122, .10);
    --shadow-sm: 0 8px 24px rgba(18, 60, 122, .10);
    --r-sm: .6rem;
    --r-md: .9rem;
    --r-lg: 1.2rem;
}

/* ============ BASE ============ */
* { box-sizing: border-box }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Inter, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

img, video, iframe { max-width: 100% }

h1, h2, h3, h4, h5, h6 {
    font-family: Manrope, sans-serif;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
}

a { text-decoration: none; color: var(--blue); transition: .25s }
a:hover { color: var(--gold) }

.text-brand { color: var(--blue) }
.container { --bs-gutter-x: clamp(1rem, 3vw, 1.5rem) }

.navbar-brand { font-weight: 800 }
.brand-logo { width: auto; height: 52px; object-fit: contain }
.footer-logo { width: 140px; max-height: 95px; object-fit: contain }

/* NOTE: navbar links/dropdown ka CSS navbar.php ke andar hai, yahan duplicate nahi rakha */

/* ============ BUTTONS (header Book Now jaisa pill style) ============ */
.btn-primary-custom,
.btn-primary-custom:focus {
    background: var(--blue);
    border: 1px solid var(--blue);
    color: #fff;
    border-radius: 2rem;
    padding: .7rem 1.3rem;
    font-weight: 700;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    box-shadow: 0 6px 16px rgba(18, 60, 122, .25);
    transition: .25s;
}
.btn-primary-custom:hover,
.btn-primary-custom:active {
    background: var(--blue2);
    border-color: var(--blue2);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(18, 60, 122, .32);
}

.btn-outline-custom {
    background: #fff;
    border: 1.5px solid rgba(18, 60, 122, .25);
    color: var(--blue);
    border-radius: 2rem;
    padding: .66rem 1.2rem;
    font-weight: 700;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    transition: .25s;
}
.btn-outline-custom:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.btn-gold {
    background: var(--gold2);
    border: 1px solid var(--gold2);
    color: #1b1b1b;
    border-radius: 2rem;
    padding: .7rem 1.3rem;
    font-weight: 700;
    transition: .25s;
}
.btn-gold:hover { background: var(--gold); border-color: var(--gold); color: #fff }

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-slide {
    min-height: 650px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-slide:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 30, 70, .78), rgba(8, 30, 70, .22), rgba(8, 30, 70, .08));
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 720px;
    padding: 120px 0;
}
.hero-kicker {
    display: inline-block;
    background: rgba(216, 155, 44, .18);
    border: 1px solid rgba(240, 185, 46, .5);
    border-radius: 50px;
    padding: .35rem .9rem;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1.05; color: #fff }
.hero p { font-size: 1.15rem; color: rgba(255, 255, 255, .9) }

.hero-small {
    min-height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}
.hero-small:before { content: ""; position: absolute; inset: 0; background: rgba(8, 30, 70, .55) }
.hero-small .container { position: relative; color: #fff }
.hero-small h1 { color: #fff }
.breadcrumbs { font-size: .9rem; color: rgba(255, 255, 255, .8) }
.breadcrumbs a { color: rgba(255, 255, 255, .9) }
.breadcrumbs a:hover { color: var(--gold2) }

/* ============ SECTIONS ============ */
.section { padding: 80px 0 }
.section-sm { padding: 55px 0 }
.section-heading { max-width: 700px; margin-bottom: 40px }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3rem) }

.eyebrow {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .78rem;
}

/* ============ CARDS ============ */
.card-soft {
    border: 1px solid #eef1f6;
    border-radius: var(--r-md);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: #fff;
    height: 100%;
    min-width: 0;
    transition: .3s;
}
.card-soft:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(18, 60, 122, .16) }
.card-soft img { width: 100%; aspect-ratio: 16/10; object-fit: cover }
.card-body { padding: 1.25rem }

.price { color: var(--blue); font-weight: 800; font-size: 1.25rem }
.rating { color: #f3b617; letter-spacing: .1em }
.meta { color: var(--muted); font-size: .88rem }

.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(18, 60, 122, .08);
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-box {
    padding: 1.4rem;
    border: 1px solid #edf0f5;
    border-radius: var(--r-md);
    background: #fff;
    height: 100%;
    min-width: 0;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .04);
    transition: .3s;
}
.feature-box:hover { border-color: rgba(18, 60, 122, .2); box-shadow: var(--shadow-sm) }

/* ============ DESTINATION CARD ============ */
.dest-card { position: relative; overflow: hidden; border-radius: var(--r-md); height: 360px }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: .45s }
.dest-card:hover img { transform: scale(1.06) }
.dest-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 1.2rem;
    background: linear-gradient(0deg, rgba(8, 20, 45, .92), transparent);
    color: #fff;
}
.dest-overlay h4 { margin: 0; color: #fff }
.dest-overlay a { color: #fff }
.dest-overlay a:hover { color: var(--gold2) }

/* ============ PACKAGE DETAIL ============ */
.package-hero { border-radius: var(--r-lg); overflow: hidden }
.package-hero img { width: 100%; height: 520px; object-fit: cover }
.sticky-box { position: sticky; top: 100px }

.booking-box {
    background: #fff;
    border-radius: var(--r-md);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid #eef1f5;
}
.booking-head { background: var(--blue); color: #fff; padding: 1.2rem 1.25rem }
.booking-head h1, .booking-head h2, .booking-head h3, .booking-head h4, .booking-head h5 { color: #fff }
.booking-head .price { color: #fff }

/* ============ FORMS (popup / drawer form jaisa) ============ */
.form-control,
.form-select {
    border-radius: var(--r-sm);
    padding: .68rem .9rem;
    border: 1px solid #dfe3ea;
    font-size: .92rem;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(18, 60, 122, .12);
}
.form-label { font-weight: 600; font-size: .88rem; color: var(--ink) }

/* ============ ITINERARY ============ */
.itinerary-item { border: 1px solid #e9edf4; border-radius: var(--r-md); margin-bottom: 1rem; overflow: hidden }
.itinerary-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    background: #f9fbff;
    cursor: pointer;
    font-weight: 700;
    color: var(--blue);
}
.itinerary-item.open .itinerary-title { background: rgba(18, 60, 122, .07) }
.itinerary-content { padding: 1.2rem; display: none }
.itinerary-item.open .itinerary-content { display: block }

/* ============ GALLERY ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem }
.gallery-grid a { display: block; overflow: hidden; border-radius: var(--r-md) }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: .35s }
.gallery-grid a:hover img { transform: scale(1.05) }

/* ============ STATS / NEWSLETTER ============ */
.stat {
    padding: 1rem 1.2rem;
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid #eef1f6;
}
.stat h3 { font-size: 2rem; color: var(--blue); margin: 0 }

.newsletter {
    background: linear-gradient(135deg, var(--blue), #1a5fbf);
    color: #fff;
    border-radius: var(--r-lg);
    padding: 2rem;
}
.newsletter h1, .newsletter h2, .newsletter h3, .newsletter h4, .newsletter h5 { color: #fff }

/* ============ FOOTER ============ */
.site-footer { background: #0b1a32; color: #fff; overflow-wrap: anywhere }
.site-footer h6 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.site-footer a { color: rgba(255, 255, 255, .78); display: block; margin-bottom: .45rem; transition: .25s }
.site-footer a:hover { color: var(--gold2) }

.social {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    margin: 0 .45rem .45rem 0 !important;
    font-size: 1.05rem;
}
.social:hover { background: var(--gold2); color: #0b1a32 }

.back-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: none;
    z-index: 1000;
    box-shadow: 0 6px 16px rgba(18, 60, 122, .3);
    transition: .25s;
}
.back-top:hover { background: var(--gold) }
.back-top.show { display: block }

/* ============ ADMIN ============ */
.admin-body { background: #f4f7fb }
.admin-sidebar {
    width: 260px;
    position: fixed;
    inset: 0 auto 0 0;
    background: #0d2142;
    color: #fff;
    z-index: 1040;
    overflow: auto;
}
.admin-sidebar a {
    display: flex;
    gap: .6rem;
    align-items: center;
    color: #cfd8e8;
    padding: .75rem 1rem;
    border-radius: .7rem;
    margin: .15rem .75rem;
}
.admin-sidebar a:hover,
.admin-sidebar a.active { background: rgba(255, 255, 255, .1); color: #fff }
.admin-main { margin-left: 260px; min-height: 100vh }
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid #e9edf4;
    padding: .8rem 1.2rem;
}
.admin-card { border: 0; border-radius: var(--r-md); box-shadow: 0 8px 30px rgba(13, 33, 66, .06); min-width: 0 }
.table td, .table th { vertical-align: middle }

/* ============ RESPONSIVE: TABLET ============ */
@media (max-width: 991.98px) {
    .admin-sidebar { width: 0; transform: translateX(-100%); transition: .25s }
    .admin-sidebar.open { width: 260px; transform: translateX(0) }
    .admin-main { margin-left: 0 }

    .hero, .hero-slide { min-height: 560px }
    .sticky-box { position: static }
    .package-hero img { height: 420px }
    .gallery-grid { grid-template-columns: repeat(2, 1fr) }
}

/* ============ RESPONSIVE: MOBILE ============ */
@media (max-width: 767.98px) {
    .section { padding: 52px 0 }
    .section-sm { padding: 38px 0 }
    .section-heading { margin-bottom: 28px }

    .hero, .hero-slide { min-height: 420px }
    .hero-content { padding: 76px 0 }
    .hero p { font-size: 1rem }
    .hero-small { min-height: 240px }

    .dest-card { height: 290px }
    .card-body { padding: 1rem }
    .newsletter { padding: 1.4rem }
    .stat { padding: .9rem 1rem }
    .stat h3 { font-size: 1.6rem }

    .form-control, .form-select { font-size: 16px } /* iPhone zoom fix */
    .btn-primary-custom, .btn-outline-custom, .btn-gold { padding: .72rem 1.1rem }

    .table-responsive { -webkit-overflow-scrolling: touch }
    .back-top { right: 14px; bottom: 14px; width: 42px; height: 42px }
}

@media (max-width: 575.98px) {
    .brand-logo { height: 44px }
    .section { padding: 48px 0 }
    .gallery-grid { grid-template-columns: 1fr }
    .hero-content { padding: 70px 0 }
    .package-hero img { height: 280px }
    .package-hero { border-radius: var(--r-md) }
}

@media (max-width: 420px) {
    .rmt-nav .container { gap: .35rem }
    .rmt-nav .brand-logo { max-width: 126px }
    .lang-wrap { margin-right: .15rem !important }
    .lang-btn { gap: .3rem; padding: .38rem .55rem }
    .dest-card { height: 245px }
    .hero h1 { font-size: clamp(2rem, 10vw, 2.5rem) }
    .section-heading h2 { font-size: 1.7rem }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}