:root {
    --bg-color: #ffffff;
    --card-bg: #f8fafc;
    --primary: #d4af37;
    --primary-hover: #b89728;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --whatsapp: #25d366;
    --whatsapp-hover: #1ebe5d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body, html {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    margin-right: 0;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    font-family: 'Betania Patmos', sans-serif;
}

.logo-text span {
    color: var(--primary);
    font-family: 'Betania Patmos', sans-serif;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-dropdown {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-dropdown:focus {
    outline: none;
    border-color: var(--primary);
}

.cta-btn {
    background: var(--primary);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: var(--primary-hover);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 0 2rem;
    color: #ffffff;
    transition: background-image 0.6s ease-in-out;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.hero-content.slide-out {
    transform: translateX(-50px);
    opacity: 0;
}

.hero-content.slide-in {
    transform: translateX(50px);
    opacity: 0;
    transition: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: #f1f5f9;
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.primary-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    box-shadow: none;
}

.primary-btn:hover {
    background: var(--primary-hover);
}

.secondary-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.whatsapp-main-btn {
    background: var(--whatsapp);
    color: #ffffff;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px -1px rgba(37, 211, 102, 0.2);
}

.whatsapp-main-btn:hover {
    background: var(--whatsapp-hover);
}

.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.tours-grid, .guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.guides-grid {
    max-width: 400px;
    margin: 0 auto;
}

.tour-card, .guide-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.04);
    transition: transform 0.3s;
}

.tour-card:hover, .guide-card:hover {
    transform: translateY(-5px);
}

.tour-image, .guide-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.kazbegi-bg { background-image: url('images/Kazbegi.jpg'); }
.svaneti-bg { background-image: url('images/Svaneti.jpg'); }
.kakheti-bg { background-image: url('images/Kakheti.jpg'); }
.canyons-bg { background-image: url('images/Samegrelo.jpg'); }
.vardzia-bg { background-image: url('images/Sametshe.jpg'); }
.batumi-bg { background-image: url('images/Batumi.jpg'); }
#Kutaisi { background-image: url('images/Kutaisi.jpg'); }

.tour-content, .guide-content {
    padding: 1.5rem;
}

.badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.12);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tour-content h3, .guide-content h3 {
    margin-bottom: 0.5rem;
}

.tour-content p, .guide-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

.card-btn {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.card-btn:hover {
    color: var(--primary);
}

.copy-box-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 450px;
    margin: 0 auto;
}

.copy-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
}

#phone-number, #email {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.whatsapp-box {
    margin-top: 0.5rem;
}

.footer {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 1rem;
    margin-top: 4rem;
    border-radius: 12px 12px 0 0;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .hero h1 {
        font-size: 2.3rem;
    }
    .hero {
        padding: 0 1.5rem;
    }
    .copy-box {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 768px) {
    /* Fix header wrapping and keep it constrained */
    .nav-container {
        padding: 0.6rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-menu {
        display: none;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .lang-dropdown {
        padding: 0.3rem 0.5rem;
        font-size: 0.85rem;
    }

    .cta-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-logo {
        height: 32px;
    }

    /* Fix Hero section text scaling and overflow */
    .hero {
        padding: 0 1rem;
        height: auto;
        min-height: 100vh;
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    .hero h1 {
        font-size: 2rem;
        word-break: break-word;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Fix sections padding to prevent horizontal breakout */
    .section {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Fix Tour Cards grid sizing so they never overflow the screen */
    .tours-grid {
        grid-template-columns: 100%;
        gap: 1.5rem;
    }

    .tour-card {
        max-width: 100%;
    }

    /* Fix filter buttons wrapping */
    .filter-container {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.85rem;
    }

    /* Fix contact copy boxes */
    .copy-box-wrapper {
        padding: 0 0.5rem;
    }

    .copy-box {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1rem;
    }

    #phone-number, #email {
        font-size: 0.95rem;
        word-break: break-all; /* Prevents long emails/numbers from causing overflow */
    }
}
@media (max-width: 768px) {
    /* ... (keep your existing mobile code) ... */

    /* Fix guides grid container override */
    .guides-grid {
        max-width: 100% !important;
        padding: 0;
        grid-template-columns: 100%;
    }

    .guide-card {
        width: 100%;
        max-width: 100%;
    }

    /* Make the promotional guide banner image scale down and prevent overflow */
    .guide-image {
        height: auto;
        min-height: 220px;
        background-size: contain; /* or 'cover' depending on preference, contain ensures no cut-off */
        background-repeat: no-repeat;
        background-position: center;
    }
}
#guides.section.guides-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: none;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/Samegrelo.jpg') no-repeat center center/cover;
    color: #ffffff;
    padding: 13rem 2rem; /* Increased height even more */
    box-sizing: border-box;
}

#guides.section.guides-section .container {
    max-width: 1200px;
    margin: 0 auto;
}
.guide-content h3 {
    color: var(--text-color);
    display: inline-block;
    border-radius: 6px;
    margin: 0;
}
.guides-section .section-subtitle {
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}