/* =========================================================
   STYLE.CSS - PREMIUM TREKKING THEME (ALTEZZA INSPIRED)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-dark: #121214;    /* Deep black/grey for text and dark sections */
    --accent-color: #FF7B00;    /* Vibrant Orange for CTAs */
    --accent-hover: #E66A00;
    --bg-light: #F7F9FC;        /* Off-white background for contrast sections */
    --surface-white: #FFFFFF;
    --text-main: #3C3C43;
    --text-light: #8E8E93;
    --border-color: #EAEAEA;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.12);
    --radius-md: 12px;
    --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--surface-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===================== TYPOGRAPHY & BUTTONS ===================== */
h1, h2, h3, h4 { color: var(--primary-dark); font-weight: 700; line-height: 1.2; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h4 { padding: 15px 20px; margin-bottom: 10px; }
h5 { padding: 12px 20px; margin-bottom: 8px; }
p { margin-bottom: 1rem; padding: 0 20px; }

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.3);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--border-color);
}
.btn-outline:hover {
    border-color: var(--primary-dark);
}

/* ===================== HEADER & NAV ===================== */
.main-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.logo-image { max-height: 65px; width: auto; border-radius: 8px;}
.logo h1 { display: none; } /* Hide text logo if image is used, clean look */

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-dark);
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active-link { color: var(--accent-color); }

.nav-button {
    background: var(--primary-dark);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
}
.nav-button:hover { background: var(--accent-color); }

.menu-icon { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-dark); }

/* ===================== FULL SCREEN HERO ===================== */
.slideshow-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    width: 100%;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.mySlides {
    display: none;
    height: 100%; width: 100%;
    position: absolute; top: 0; left: 0;
}

.slide-image {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.05); /* Slight zoom for premium feel */
    animation: slowZoom 10s linear infinite alternate;
}

@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.05); } }

.slide-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    text-align: center;
    width: 85%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 35px 30px;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.5;
}

.hero-cta-group { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Arrows & Dots */
.prev, .next {
    position: absolute; top: 50%; transform: translateY(-50%);
    color: #fff; font-size: 2rem; padding: 20px;
    cursor: pointer; z-index: 10; opacity: 0.7; transition: 0.3s;
}
.prev { left: 20px; } .next { right: 20px; }
.prev:hover, .next:hover { opacity: 1; }

.dot-container {
    position: absolute; bottom: 30px; width: 100%;
    text-align: center; z-index: 10;
}
.dot {
    height: 12px; width: 12px; margin: 0 8px;
    background-color: rgba(255,255,255,0.4);
    display: inline-block; cursor: pointer; border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.active-dot, .dot:hover { 
    background-color: #fff; 
    width: 12px;
    box-shadow: 0 4px 12px rgba(255,123,0,0.5);
    transform: scale(1.15);
}

/* ===================== SECTIONS & GRIDS ===================== */
.section-padding { padding: 100px 5%; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header p { color: var(--text-light); font-size: 1.1rem; }

/* Trust Grid (Icons) */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.trust-item {
    text-align: center; padding: 30px;
    background: var(--surface-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}
.trust-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.trust-item i { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 20px; }
.trust-item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.trust-item p { font-size: 0.95rem; color: var(--text-light); }

/* Card Grid (Routes) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.route-card {
    background: var(--surface-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column;
}
.route-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.card-img-wrap {
    position: relative; height: 220px; overflow: hidden;
}
.card-img-wrap img {
    width: 100%; height: 100%; object-fit: cover; transition: 0.5s;
}
.route-card:hover .card-img-wrap img { transform: scale(1.05); }

.card-badge {
    position: absolute; top: 15px; right: 15px;
    background: var(--accent-color); color: #fff;
    padding: 6px 12px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
    z-index: 2;
}

.card-price {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
    color: #fff; padding: 12px 15px; text-align: center;
    font-size: 0.95rem; font-weight: 700; z-index: 3;
}

.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card-content p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }

.card-meta {
    display: flex; justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 15px; margin-bottom: 20px;
}
.meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--primary-dark); }
.meta-item i { color: var(--accent-color); }

/* ===================== FOOTER ===================== */
footer {
    background: var(--primary-dark); color: #fff;
    padding: 60px 5% 0px; text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    flex-direction: row;
}

footer > div:not(.footer-translator-bottom):not(.footer-links):not(.footer-bottom) {
    flex: 1;
    min-width: 150px;
}

.footer-logo {
    margin-bottom: 0px; display: flex; justify-content: center;
}

.footer-logo-image {
    height: 80px; width: auto; object-fit: contain; opacity: 0.9;
}

.footer-social {
    margin-bottom: 0px; flex: 1; min-width: 200px;
}

.footer-social h4 {
    font-size: 0.95rem; color: rgba(255,255,255,0.8); margin-bottom: 15px; font-weight: 600; letter-spacing: 0.5px;
}

.social-links {
    display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
}

.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255, 123, 0, 0.15); color: var(--accent-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 123, 0, 0.3);
}

.social-links a:hover {
    background: var(--accent-color); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 16px rgba(255, 123, 0, 0.3);
}

.social-links i { font-size: 1rem; }

.footer-links { margin-bottom: 0px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; width: 100%; padding: 30px 0 20px 0; }
.footer-links a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-color); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 0.85rem; color: rgba(255,255,255,0.5); width: 100%; }

/* ===================== RESPONSIVE ===================== */

/* ===================== FLOATING SOCIAL & LANGUAGE BAR ===================== */
.floating-bar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 1.5rem;
    color: #fff;
}

.floating-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #20BA5A;
}

.tripadvisor-btn {
    background: #00A878;
}

.tripadvisor-btn:hover {
    background: #008C6B;
}

.lang-selector-btn {
    background: var(--accent-color);
}

.lang-selector-btn:hover {
    background: var(--accent-hover);
}

/* Language Selector Dropdown */
.lang-dropdown {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    display: none;
    z-index: 1001;
    overflow: hidden;
}

.lang-dropdown.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-item {
    padding: 12px 20px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-item:last-child {
    border-bottom: none;
}

.lang-item:hover {
    background: var(--bg-light);
    color: var(--accent-color);
    padding-left: 25px;
}

.lang-item.active {
    background: rgba(255, 123, 0, 0.1);
    color: var(--accent-color);
    font-weight: 600;
}

.lang-item i {
    font-size: 1.1rem;
}

@media screen and (max-width: 768px) {
    .floating-bar {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .lang-dropdown {
        bottom: 65px;
        right: -5px;
        min-width: 150px;
    }
}
@media screen and (max-width: 992px) {
    .slideshow-hero {
        height: 65vh;
        min-height: 450px;
        max-height: 650px;
    }
    
    .hero-content h1 { font-size: 3.5rem; }
    .hero-content p { font-size: 1.1rem; }
}

@media screen and (max-width: 768px) {
    .slideshow-hero {
        height: 55vh;
        min-height: 380px;
        max-height: 500px;
    }
    
    .menu-icon { display: block; }
    .nav-links {
        position: absolute; top: 70px; left: 0; width: 100%;
        background: var(--surface-white);
        flex-direction: column; padding: 20px 0; gap: 15px;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* Hidden by default */
        transition: clip-path 0.4s ease;
    }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    
    .hero-content {
        width: 92%;
        padding: 28px 20px;
    }
    
    .hero-content h1 { 
        font-size: 1.9rem;
        margin-bottom: 12px;
    }
    
    .hero-content p { 
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-cta-group { 
        flex-direction: column; 
        gap: 10px;
    }
    
    .section-padding { padding: 60px 5%; }
}

/* ===================== TEAM CARDS ===================== */
.team-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px;
}
.team-card {
    background: var(--surface-white); border-radius: var(--radius-md);
    overflow: hidden; box-shadow: var(--shadow-sm); text-align: center;
    transition: 0.3s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-photo { height: 300px; width: 100%; object-fit: cover; object-position: top; }
.team-info { padding: 25px; }
.team-info h3 { margin-bottom: 5px; }
.team-role { color: var(--accent-color); font-weight: 600; font-size: 0.9rem; margin-bottom: 15px; }

/* ===================== KPAP CALLOUT ===================== */
.kpap-section {
    background: var(--primary-dark); color: #fff;
    text-align: center; padding: 80px 5%;
}
.kpap-section h2 { color: #fff; }

/* ===================== TABS (SAFETY PAGE) ===================== */
.tabs-nav {
    display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap;
}
.tab-button {
    background: var(--bg-light); border: 2px solid transparent; color: var(--text-main);
    padding: 12px 30px; border-radius: 30px; font-weight: 600; cursor: pointer; transition: 0.3s;
}
.tab-button.active, .tab-button:hover {
    background: rgba(255, 123, 0, 0.1); color: var(--accent-color); border-color: var(--accent-color);
}
.tab-content { display: none; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== CONTACT & FAQ ===================== */
.contact-grid {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px;
}
.contact-form {
    background: var(--surface-white); padding: 40px;
    border-radius: var(--radius-md); box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-control {
    width: 100%; padding: 15px; border: 1px solid var(--border-color);
    border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 1rem;
    background: var(--bg-light); transition: 0.3s;
}
.form-control:focus { border-color: var(--accent-color); outline: none; background: #fff; }
.contact-details { padding: 20px 0; }
.detail-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 30px; }
.detail-item i { font-size: 1.5rem; color: var(--accent-color); margin-top: 5px; }
.detail-item h4 { margin-bottom: 5px; }

/* Accordion */
.faq-container { max-width: 800px; margin: 0 auto; }
.accordion-item {
    background: var(--surface-white); border: 1px solid var(--border-color);
    border-radius: 8px; margin-bottom: 15px; overflow: hidden;
}
.accordion-header {
    width: 100%; text-align: left; padding: 20px; background: none; border: none;
    font-size: 1.1rem; font-weight: 600; color: var(--primary-dark);
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    transition: 0.3s;
}
.accordion-header:hover { background: var(--bg-light); }
.accordion-header.active { color: var(--accent-color); }
.accordion-header i { transition: transform 0.3s; }
.accordion-header.active i { transform: rotate(180deg); }
.accordion-content {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 20px; color: var(--text-main);
}

@media screen and (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }}

/* ===================== THANK YOU PAGE ===================== */
.thank-you-wrapper {
    min-height: 80vh; /* Ensures the footer stays at the bottom */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    background: var(--surface-white);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 650px;
    width: 100%;
}

.success-icon {
    font-size: 5rem;
    color: #28a745; /* Vibrant success green */
    margin-bottom: 20px;
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.thank-you-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
