/* =========================================
   GEOMOSAIC PREMIUM TEMPLATE - CSS
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

:root {
    /* Color Palette: Light & Airy Luxury */
    --color-primary: #10b981; /* Emerald Green */
    --color-primary-dark: #059669;
    --color-accent: #f59e0b; /* Amber */
    
    --color-bg-base: #f8fafc;
    --color-bg-surface: #ffffff;
    
    --color-text-main: #0f172a;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 30px -5px rgba(0, 0, 0, 0.1);
}

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

/* Material Icons Helper */
.icon {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 1.25em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
    margin-right: 0.25rem;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
}

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

.lang-switcher {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 1.5rem;
    margin-left: 0.5rem;
}

.lang-switcher a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.lang-switcher a:hover {
    color: white;
}

.lang-switcher a.active {
    color: var(--color-primary);
}

.btn-book {
    background: var(--color-primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-book:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    background-color: var(--color-bg-base);
    background-image: url('https://images.unsplash.com/photo-1581224463294-908316338239?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

/* Dark overlay to make text pop */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.75); /* Dark slate overlay */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    flex: 1;
    padding-top: 6rem;
}

.hero-subtitle {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Booking Widget */
.booking-widget {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: 2rem;
}

.widget-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.widget-tab {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0.5rem 1rem;
    position: relative;
}

.widget-tab.active {
    color: var(--color-primary);
}

.widget-tab.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px 3px 0 0;
}

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

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

.form-group label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.form-group input, .form-group select {
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: var(--color-bg-base);
    transition: all 0.2s;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
}

.btn-search {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s;
}

.btn-search:hover {
    background: var(--color-primary-dark);
}

/* Hide Google Translate toolbar and default widget */
.goog-te-banner-frame { display: none !important; visibility: hidden !important; }
.skiptranslate > iframe.goog-te-banner-frame { display: none !important; }
body { top: 0px !important; position: static !important; }
html { height: auto !important; }
#google_translate_element { display: none !important; }
.VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
iframe.goog-te-banner-frame { display: none !important; }
div#goog-gt-tt { display: none !important; }
body { top: 0px !important; position: static !important; }
html { height: auto !important; }

/* How It Works Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: #ecfdf5; /* Light emerald */
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.feature-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Hero Collage */
.hero-collage {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.collage-img {
    position: absolute;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    object-fit: cover;
    transition: transform 0.4s ease;
    border: 8px solid white;
}

.collage-img:hover {
    transform: scale(1.05) translateY(-10px);
    z-index: 20;
}

.img-1 {
    width: 300px;
    height: 400px;
    top: 50px;
    left: 20px;
    z-index: 2;
    transform: rotate(-3deg);
}

.img-2 {
    width: 350px;
    height: 250px;
    bottom: 50px;
    right: 20px;
    z-index: 3;
    transform: rotate(2deg);
}

.img-3 {
    width: 250px;
    height: 300px;
    top: 0;
    right: 50px;
    z-index: 1;
    transform: rotate(5deg);
}

.img-4 {
    width: 280px;
    height: 220px;
    bottom: 30px;
    left: 150px;
    z-index: 4;
    transform: rotate(6deg);
}

.img-5 {
    width: 220px;
    height: 280px;
    top: 120px;
    right: 300px;
    z-index: 0;
    transform: rotate(-6deg);
}

.img-6 {
    width: 250px;
    height: 180px;
    top: 80px;
    left: 38%;
    z-index: 5;
    transform: rotate(3deg);
}

.img-7 {
    width: 200px;
    height: 260px;
    bottom: 60px;
    left: 42%;
    z-index: 2;
    transform: rotate(-4deg);
}

/* =========================================
   CONTAINERS & GRIDS
   ========================================= */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

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

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

/* =========================================
   CARDS (TOURS & DRIVERS)
   ========================================= */
.card {
    background: var(--color-bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(0,0,0,0.02);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-img-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

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

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

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.card-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
}

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

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: #0f172a;
    color: white;
    padding: 5rem 5% 2rem 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-text {
    color: #94a3b8;
    line-height: 1.8;
}

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

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        flex-direction: column;
        padding-top: 8rem;
        min-height: auto;
        padding-bottom: 4rem;
    }

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

    .hero-collage {
        display: none; /* Hide complex collage on mobile */
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .grid {
        grid-template-columns: 1fr; /* Override minmax for very small screens */
    }

    .details-layout {
        grid-template-columns: 1fr;
    }

    .booking-widget {
        margin-top: 1rem;
    }
}

/* =========================================
   CUSTOM LANGUAGE SELECTOR & TRANSLATE
   ========================================= */

/* Language Switcher Styling */
.custom-lang-selector {
    position: relative;
    margin-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 1rem;
}

.custom-lang-selector.dark-mode {
    border-left: 1px solid rgba(0,0,0,0.1);
}

.lang-selected {
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.custom-lang-selector.dark-mode .lang-selected {
    color: var(--color-text-main);
}

.lang-selected:hover {
    opacity: 0.8;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 0.5rem;
    min-width: 120px;
    z-index: 1000;
    margin-top: 1rem;
    border: 1px solid var(--color-border);
}

.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid var(--color-border);
    border-top: 1px solid var(--color-border);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    color: var(--color-text-main);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.lang-dropdown a:hover {
    background: var(--color-bg-base);
    color: var(--color-primary);
}
