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

:root {
    /* Core Colors */
    --bg-dark: #121212;
    --bg-light: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f3f5;

    /* Accents */
    --primary: #d4af37;
    /* Metallic Gold for Heritage feel */
    --primary-hover: #b5952f;
    --secondary: #2c3e50;

    /* Text */
    --text-main: #212529;
    /* Dark text for light body */
    --text-muted: #6c757d;
    --text-light: #fcfcfc;
    /* White text for dark sections */

    /* Utilities */
    --border-light: rgba(0, 0, 0, 0.1);
    /* General borders */
    --border-dark: rgba(255, 255, 255, 0.08);
    /* Borders on dark bg */
    --glass-bg: rgba(10, 10, 10, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);

    /* Layout */
    --max-width: 1280px;
    --nav-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Text Highlight Selection Color */
::selection {
    background-color: var(--primary);
    color: var(--text-light);
}

::-moz-selection {
    background-color: var(--primary);
    color: var(--text-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

ul,
ol,
li {
    list-style: none !important;
}

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

/* ==============================================
   Typography & Reusables
============================================== */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-subtitle {
    text-align: center;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    /* Better contrast on primary gold */
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
}

/* ==============================================
   Navigation
============================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    box-shadow: var(--shadow-md);
}

/* Home page specific: hide links until scrolled */
body.home-page .navbar:not(.scrolled) .nav-links>li:not(.nav-enquiry-btn):not(.lang-switcher-container) {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
}

body.home-page .navbar.scrolled .nav-links>li:not(.nav-enquiry-btn):not(.lang-switcher-container) {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.navbar .container {
    width: 100%;
    max-width: 100%;
    padding: 0 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links>li {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-normal);
    padding: 0.5rem 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-menu li {
    width: 100%;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-main) !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-links .dropdown-menu a::after {
    display: none;
}

.nav-links .dropdown-menu a:hover {
    background-color: var(--bg-alt);
    color: var(--primary) !important;
    padding-left: 2rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==============================================
   Hero Slider
============================================== */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease-in-out, transform 5s linear;
}

.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1.05);
    /* Gentle zoom effect */
}

/* ==============================================
   Cards
============================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    background: var(--bg-card-hover);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-slow);
}

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

.card-img-container {
    overflow: hidden;
    position: relative;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--text-light);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.card-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary);
}

/* ==============================================
   Footer
============================================== */
.footer {
    background: var(--bg-dark);
    padding: 80px 0 20px;
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-dark);
    color: var(--text-light);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.footer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

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

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

/* ==============================================
   Animations
============================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Staggered delays for child elements of a container */
.stagger-1 {
    transition-delay: 100ms;
}

.stagger-2 {
    transition-delay: 200ms;
}

.stagger-3 {
    transition-delay: 300ms;
}

.stagger-4 {
    transition-delay: 400ms;
}

.stagger-5 {
    transition-delay: 500ms;
}

/* Scale Up Animation */
.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Slide Right Animation */
.reveal-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Slide Left Animation */
.reveal-left {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* ==============================================
   WhatsApp Floating Button
============================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-normal);
    animation: pulse-whatsapp 2s infinite;
    border: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    background-color: #20b858;
    color: #fff;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 65px;
        height: 65px;
        bottom: 20px;
        right: 20px;
        font-size: 40px;
        z-index: 9999;
    }
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 80px;
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    pointer-events: none;
}

.whatsapp-float .tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--bg-dark);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==============================================
   Modal Styles
============================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    overflow-y: auto;
    padding: 2rem 1rem;
}

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

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 700px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: auto;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: rotate(90deg);
}

.enquiry-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Responsive Utilities Typography */
.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.1;
    min-height: 110px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    min-height: 65px;
}

.page-hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {

    .enquiry-form .form-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem 1.2rem;
        /* larger touch targets */
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
        min-height: auto;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        min-height: auto;
        padding: 0 1rem;
    }

    .page-hero-title {
        font-size: 2.5rem;
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    .card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .page-hero-title {
        font-size: 2.2rem;
    }
}

/* ==============================================
   Responsive
============================================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 250px;
        height: calc(100vh - var(--nav-height));
        background: var(--bg-card);
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        transition: var(--transition-normal);
        border-left: 1px solid var(--border-light);
        overflow-y: auto;
    }

    .nav-links a {
        color: var(--text-main);
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary);
    }

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

    .nav-links .dropdown-menu {
        position: static;
        box-shadow: none;
        background: transparent;
        padding-left: 1rem;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: translateY(0);
    }

    .nav-links .dropdown:hover .dropdown-menu {
        display: flex;
    }

    .nav-links .dropdown-menu a {
        padding: 0.5rem 1rem;
        color: var(--text-muted) !important;
    }

    .nav-links .dropdown-menu a:hover {
        background: transparent;
        color: var(--primary) !important;
    }

    .mobile-menu-btn {
        display: block;
    }

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

/* ==============================================
   Custom Google Translate UI
============================================== */
.lang-switcher-container {
    display: flex;
    align-items: center;
}

.custom-lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.navbar.scrolled .custom-lang-switcher,
body:not(.home-page) .custom-lang-switcher {
    border-color: var(--border-light);
    background: var(--bg-alt);
}

.lang-btn {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: var(--transition-fast);
    padding: 2px 4px;
    text-decoration: none;
}

.navbar.scrolled .lang-btn,
body:not(.home-page) .lang-btn {
    color: var(--text-muted) !important;
}

.lang-btn:hover {
    color: var(--primary) !important;
}

.lang-btn.active {
    color: var(--text-light) !important;
}

.navbar.scrolled .lang-btn.active,
body:not(.home-page) .lang-btn.active {
    color: var(--primary) !important;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.navbar.scrolled .lang-divider,
body:not(.home-page) .lang-divider {
    color: var(--border-light);
}

/* Hide Default Google Translate Widget and Bar */
body {
    top: 0 !important;
}

.skiptranslate iframe,
.skiptranslate {
    display: none !important;
}

#goog-gt-tt {
    display: none !important;
}

.goog-te-balloon-frame {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Custom Layout Utilities */
.tour-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 992px) {
    .tour-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}