/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: #fdfbf7;
    color: #292524;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}
/* ===== CSS Variables ===== */
:root {
    --mangrove-dark: #052e16;
    --mangrove-primary: #14532d;
    --mangrove-medium: #166534;
    --mangrove-accent: #16a34a;
    --earth-gold: #d97706;
    --earth-warm: #b45309;
    --bg-warm: #fdfbf7;
}
h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}
/* ===== TOP BAR ===== */
.top-bar {
    background-color: var(--mangrove-dark);
    color: #a7f3d0;
    font-size: 0.75rem;
}
.top-bar a {
    transition: opacity 0.2s ease;
}
.top-bar a:hover {
    opacity: 0.8;
}
/* ===== NAVBAR – Logo 280px wide ===== */
.navbar {
    background-color: #fff !important;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    min-height: 70px;
}
.navbar-brand {
    padding: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
}
.navbar-brand-logo-img {
    width: 280px !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
    flex-shrink: 0;
    background-color: transparent;
    display: block;
}
.navbar .nav-link {
    font-weight: 600;
    color: #44403c;
    margin: 0 2px;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--mangrove-primary);
}
/* ===== BUTTONS ===== */
.btn-earth {
    background-color: var(--earth-gold);
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 24px;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-earth:hover {
    background-color: var(--earth-warm);
    color: #fff;
    box-shadow: 0 6px 15px rgba(217, 119, 6, 0.35);
}
.btn-mangrove {
    background-color: var(--mangrove-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 20px;
    border: none;
    transition: all 0.3s ease;
}
.btn-mangrove:hover {
    background-color: var(--mangrove-dark);
    color: #fff;
}
/* ===== HERO ===== */
.hero-section {
    position: relative;
    background: linear-gradient(180deg, rgba(5, 46, 22, 0.8) 0%, rgba(5, 46, 22, 0.5) 50%, rgba(5, 46, 22, 0.85) 100%),
        url('https://images.unsplash.com/photo-1544644181-1484b3fdfc62?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    color: #fff;
    background-size: cover;
}
/* ===== GLASS CARDS ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 18px;
    color: #292524;
}
.glass-dark {
    background: rgba(5, 46, 22, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(22, 163, 74, 0.25);
    border-radius: 20px;
    color: #fff;
}
/* ===== TRUST BADGE ===== */
.trust-badge-card {
    background-color: var(--mangrove-primary);
    color: #fff;
    border-bottom: 3px solid var(--earth-gold);
}
.trust-badge-card i {
    color: #fbbf24;
}
/* ===== PACKAGE CARDS ===== */
.package-card {
    border: 1px solid #e7e5e4;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.package-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}
.package-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.package-card:hover .package-img-wrap img {
    transform: scale(1.08);
}
.badge-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(5, 46, 22, 0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}
.badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--earth-gold);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}
/* ===== TIMELINE ===== */
.timeline-step {
    border-left: 3px solid var(--mangrove-primary);
    padding-left: 20px;
    position: relative;
    margin-bottom: 30px;
}
.timeline-step::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--earth-gold);
}
/* ===== CALCULATOR ===== */
.calculator-box {
    background-color: rgba(20, 83, 45, 0.5);
    border-radius: 16px;
    padding: 20px;
}
/* ===== GALLERY ===== */
.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 12px;
    color: #fff;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
/* ===== FLOATING ACTIONS ===== */
.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-float {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
    text-decoration: none;
    border: none;
}
.btn-float:hover {
    transform: scale(1.1);
    color: #fff;
}
.btn-whatsapp {
    background-color: #25d366;
}
.btn-call {
    background-color: var(--earth-gold);
}
/* ===== HELPERS ===== */
.tracking-wider {
    letter-spacing: 0.08em;
}
.max-w-2xl {
    max-width: 650px;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 575.98px) {
    .hero-section {
        min-height: 70vh;
        padding: 40px 0;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .hero-section .lead {
        font-size: 0.95rem;
    }
    .glass-card {
        padding: 1rem !important;
        border-radius: 14px;
    }
    .package-img-wrap {
        height: 160px;
    }
    .gallery-item {
        height: 130px;
        border-radius: 10px;
    }
    .floating-actions {
        bottom: 12px;
        right: 12px;
        gap: 8px;
    }
    .btn-float {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .timeline-step {
        padding-left: 14px;
        margin-bottom: 20px;
    }
    .timeline-step::before {
        width: 10px;
        height: 10px;
        left: -6px;
    }
    .calculator-box {
        padding: 12px;
    }
    .glass-dark {
        padding: 1.2rem !important;
    }
    .badge-duration,
    .badge-tag {
        font-size: 0.6rem;
        padding: 2px 8px;
    }
    .top-bar {
        font-size: 0.65rem;
    }
    .navbar-brand-logo-img {
        width: 230px !important;
    }
    .navbar {
        min-height: 60px;
    }
    .display-5 {
        font-size: 2rem !important;
    }
    .display-4 {
        font-size: 2.5rem !important;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .package-img-wrap {
        height: 180px;
    }
    .gallery-item {
        height: 160px;
    }
    .display-5 {
        font-size: 2.2rem !important;
    }
    .navbar-brand-logo-img {
        width: 90px !important;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .package-img-wrap {
        height: 200px;
    }
    .gallery-item {
        height: 180px;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3.2rem;
    }
}
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 4rem;
    }
    .package-img-wrap {
        height: 220px;
    }
    .gallery-item {
        height: 220px;
    }
}
@media (max-width: 359.98px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    .navbar-brand-logo-img {
        width: 70px !important;
    }
}
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 30px 0;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
}
/* Touch-friendly */
.btn,
.nav-link,
.gallery-item,
.package-card button,
a,
button,
.accordion-button {
    touch-action: manipulation;
}
.btn,
.gallery-item,
.package-card button {
    -webkit-user-select: none;
    user-select: none;
}
.modal-content {
    margin: 0.5rem;
}
@media (max-width: 575.98px) {
    .modal-content {
        margin: 0.25rem;
        border-radius: 16px !important;
    }
    .modal-body {
        padding: 1rem !important;
    }
    .modal-header {
        padding: 0.75rem 1rem 0 !important;
    }
}