@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #1a6b3c;
    --secondary: #c9a84c;
    --bg-white: #ffffff;
    --off-white: #faf9f6;
    --text-main: #171717;
    --text-light: #555555;
    --dark-accent: #1a1a2e;
    --border-color: #e5e7eb;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- FOCUS STATES & ACCESSIBILITY --- */
a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- NAVIGATION --- */
header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background-color: var(--primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

header.sticky.scrolled {
    background-color: rgba(26, 107, 60, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom-color: rgba(201, 168, 76, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.4s ease;
}

header.scrolled .nav-container {
    padding: 1rem 2rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2200;
}

.logo span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    padding: 0.8rem 0.2rem;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.nav-link.has-dropdown::after {
    content: '\25be';
    font-size: 0.8rem;
    color: var(--secondary);
    transition: transform 0.3s ease;
    margin-left: 2px;
}

.nav-item:hover .nav-link.has-dropdown::after {
    transform: rotate(180deg);
}

.nav-link:hover, 
.nav-link.active, 
.nav-link:focus {
    color: var(--secondary);
}

/* --- DROPDOWN (Desktop) --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 250px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
    border: 1px solid var(--border-color);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-link:hover, .dropdown-link:focus {
    background-color: var(--off-white);
    color: var(--primary);
    padding-left: 1.8rem;
    outline: none;
}

/* --- HAMBURGER --- */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 2200;
    position: relative;
    width: 44px;
    height: 44px;
}

.hamburger-box {
    display: inline-block;
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger-inner, 
.hamburger-inner::before, 
.hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    position: absolute;
    border-radius: 4px;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: "";
    top: -8px;
}

.hamburger-inner::after {
    content: "";
    bottom: -8px;
}

.hamburger.active .hamburger-inner {
    transform: rotate(45deg);
}

.hamburger.active .hamburger-inner::before {
    top: 0;
    opacity: 0;
}

.hamburger.active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
}

/* --- MOBILE MENU OVERLAY --- */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 2050;
    backdrop-filter: blur(8px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 10rem 2rem;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1548013146-72479768bada?q=80&w=2076&auto=format&fit=crop') center/cover no-repeat;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-compact {
    padding: 10rem 2rem 4rem;
    min-height: 45vh;
    display: flex;
    align-items: center;
    text-align: left;
    background: linear-gradient(rgba(26, 107, 60, 0.8), rgba(26, 107, 60, 0.8)), url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-compact .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-compact h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #14522e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 107, 60, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #b09140;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.cta-group {
    display: flex; 
    gap: 1.5rem;
    justify-content: center;
}

.hero-compact .cta-group {
    justify-content: flex-start;
}

/* --- SECTIONS --- */
section {
    padding: 5rem 2rem;
}

.section-bg {
    background-color: var(--off-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

/* --- CARDS & GRIDS --- */
.grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.region-group {
    margin-bottom: 5rem;
}

.region-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--off-white);
}

.region-header h2 {
    font-size: 2rem;
    color: var(--primary);
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: white;
    border: none;
}

.destination-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.7s ease;
}

.destination-card:hover img {
    transform: scale(1.08);
}

.destination-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 2;
}

.destination-content {
    position: relative;
    z-index: 3;
}

.tagline {
    font-style: italic;
    color: var(--secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* --- TECHNICAL SHEETS (PAGES PAYS) --- */
.tech-sheet {
    background: white;
    padding: 3rem; 
    border-radius: 12px;
    margin: 2rem 0 4rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700; 
    color: var(--text-light);
    letter-spacing: 0.8px;
}

.tech-item .value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

/* --- COMPARATOR TABLE --- */
.table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    background-color: var(--primary);
    color: white;
    padding: 1.2rem;
    font-weight: 500;
}

td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

tr:hover {
    background-color: var(--off-white);
}

.score {
    font-weight: 700;
    color: var(--primary);
    background: rgba(26, 107, 60, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

/* --- SIMULATOR & FORMS --- */
.simulator-box {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

input, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

input:focus, select:focus, button:focus, .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.4);
}

.result-display {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--off-white);
    border-left: 4px solid var(--secondary);
    display: none;
}

/* --- CHECKLIST --- */
.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    border-left: 3px solid transparent;
}

.checklist-item:has(input:checked) {
    border-left-color: var(--primary);
    background: var(--off-white);
    opacity: 0.7;
}

.progress-container {
    width: 100%;
    height: 10px;
    background: #eee;
    border-radius: 5px;
    margin: 2rem 0;
}

.progress-bar {
    height: 100%;
    background: var(--secondary);
    width: 0%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
    text-align: center;
    padding: 3rem 2rem;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--secondary);
    object-fit: cover;
}

.quote {
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* --- FOOTER --- */
footer {
    background-color: var(--dark-accent);
    color: rgba(255,255,255,0.8);
    padding: 5rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-title {
    color: white;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.dua-text {
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
    margin-top: 1rem;
    font-style: italic;
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 992px) {
    .nav-menu {
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 6rem 2rem 4rem;
        gap: 0;
        z-index: 2100;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1.5rem;
        justify-content: center;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(0,0,0,0.15);
        min-width: 100%;
        box-shadow: none;
        max-height: 0; 
        overflow: hidden;
        padding: 0;
        border: none;
        transition: max-height 0.4s ease;
    }

    .nav-item.active .dropdown-menu {
        max-height: 800px;
        margin-top: 0;
        padding: 0.5rem 0;
    }

    .dropdown-link {
        color: rgba(255, 255, 255, 0.85);
        text-align: center;
        padding: 1rem;
        font-size: 1rem;
    }

    .hero {
        padding: 8rem 1.5rem 5rem;
    }
    
    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }

    .region-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}