/* --- CSS VARIABLES --- */
:root {
    --primary-dark: #1b1b28; 
    --accent-orange: #f4a261; 
    --text-dark: #2d3142;
    --text-light: #ffffff;
    --text-muted: #949aab;
    --bg-light: #f8f9fc;
    --chat-bg: #f1f4f9;
    --glass-bg: rgba(27, 27, 40, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--primary-dark);
    color: var(--text-dark);
    overflow: hidden; 
}

/* --- NAVIGATION BAR & LANGUAGE DROPDOWN --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.solid-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 16px 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px;
    border: 1px solid var(--accent-orange);
}

.logo span {
    color: var(--accent-orange);
    font-family: 'Playfair Display', serif;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-orange);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-links li a:hover, .nav-links li a.active-link {
    color: var(--accent-orange);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1300;
}

.sound-toggle-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sound-toggle-btn:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-1px);
}

.sound-toggle-btn.is-on {
    background: linear-gradient(135deg, #2ec4b6, #1c6b61);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 8px 18px rgba(46, 196, 182, 0.25);
}

.background-selector-wrap {
    position: absolute;
    right: 32px;
    top: 110px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.background-selector-wrap label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.background-selector-wrap select {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.76rem;
    outline: none;
}

.login-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1300;
}

.nav-login-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f4a261, #e76f51);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(244, 162, 97, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
}

.nav-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(244, 162, 97, 0.35);
}

.login-panel {
    position: fixed;
    top: 72px;
    right: 120px;
    width: 240px;
    background: rgba(17, 24, 39, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    padding: 14px 14px 12px;
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.login-dropdown.open .login-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.login-panel h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.login-panel .login-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.login-panel .login-row label {
    color: rgba(255,255,255,0.75);
    font-size: 0.75rem;
    margin-bottom: 6px;
}

.login-panel .login-row input {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    padding: 9px 10px;
    border-radius: 10px;
    outline: none;
    font-size: 0.8rem;
}

.login-panel .login-row input:focus {
    border-color: rgba(244, 162, 97, 0.9);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.12);
}

.login-panel .login-submit {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.8rem;
    margin-top: 2px;
}

.lang-selector-wrapper {
    display: flex;
    align-items: center;
    margin-left: -8px;
}

.lang-select {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid var(--accent-orange);
    padding: 6px 12px;
    border-radius: 20px;
    outline: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s;
}

.lang-select option {
    background: var(--primary-dark);
    color: #fff;
}

/* --- WINDOW VIEWS --- */
.window-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
    overflow-y: auto; 
    background-color: var(--bg-light);
    z-index: 1;
}

.window-view.active-view {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.home-section {
    position: relative;
    width: 100%;
    background-color: var(--bg-light);
    scroll-margin-top: 78px;
}

.home-section .content-container {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

#home {
    background-color: var(--primary-dark);
    overflow-x: hidden;
}

#home.active-view {
    position: relative;
    height: auto;
    min-height: 100vh;
    overflow-y: visible;
}

/* --- HOME HERO SECTION --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(4, 12, 24, 0.16) 0%, rgba(4, 12, 24, 0.08) 40%, rgba(4, 12, 24, 0.86) 100%);
    z-index: -1;
}

.slideshow-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
}

.slide {
    position: absolute;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 7s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1);
}

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

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.75) 100%);
    z-index: -1;
}

.home-content {
    margin-top: 50px;
    max-width: 900px;
}

.home-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.home-content h1 span {
    color: var(--accent-orange);
}

.home-content p {
    color: var(--text-light);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.btn-primary {
    background-color: var(--accent-orange);
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.4);
}

.btn-primary:hover { 
    background-color: #e09255; 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(244, 162, 97, 0.6);
}

.indicators {
    position: absolute; bottom: 40px; display: flex; gap: 12px; align-items: center;
}
.dot {
    width: 10px; height: 10px; border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}
.dot.active-dot { 
    width: 35px; 
    border-radius: 6px; 
    background-color: var(--accent-orange); 
    box-shadow: 0 0 12px rgba(244, 162, 97, 0.6);
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 70px 10% 30px 10%;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 50px;
}
.footer-brand h2 { font-family: 'Playfair Display', serif; font-size: 32px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px;
    border: 1px solid var(--accent-orange);
}
.footer-brand h2 span { color: var(--accent-orange); }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 25px; max-width: 80%; }
.footer-column h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--text-light); }
.contact-info li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.contact-info li i { color: var(--accent-orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 30px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* --- PAGE STYLES --- */
.page-header {
    
    background: linear-gradient(rgba(27, 27, 40, 0.85), rgba(27, 27, 40, 0.85)), url('https://images.unsplash.com/photo-1582216654823-38891000b9a6?q=80&w=1920&auto=format&fit=crop') center/cover;
    background-color: var(--primary-dark);
    height: 45vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    padding-top: 80px;
}
.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--accent-orange);
    margin-bottom: 10px;
}
.page-header p { font-size: 1.1rem; max-width: 600px; color: var(--text-muted); }

.content-container { max-width: 1200px; margin: 0 auto; padding: 80px 20px; }
.section-tag { color: var(--accent-orange); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; display: block; margin-bottom: 10px; text-align: center; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: var(--primary-dark); margin-bottom: 50px; text-align: center; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text p { font-size: 1.1rem; line-height: 1.8; color: #4a4f5c; margin-bottom: 20px; }
.about-img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); transition: transform 0.4s ease; }
.about-img:hover { transform: scale(1.02); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.travel-card { 
    background: #fff; 
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.04); 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.04);
}
.travel-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(27, 27, 40, 0.12);
    border-color: rgba(244, 162, 97, 0.3);
}
.card-img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.travel-card:hover .card-img { transform: scale(1.05); }
.card-content { padding: 25px; }
.card-content h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 10px; transition: color 0.3s; }
.travel-card:hover .card-content h3 { color: var(--accent-orange); }
.card-content p { color: #5a6072; font-size: 0.95rem; line-height: 1.6; }

/* --- REVIEW SUBMISSION FORM STYLES --- */
.review-form-box {
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    border: 1px solid #eef1f6;
}
.review-form-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.review-form-box h3 i { color: var(--accent-orange); }
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.form-row input, .form-row select, .form-row textarea {
    flex: 1;
    min-width: 240px;
    padding: 12px 16px;
    border: 1px solid #dcdfe6;
    border-radius: 10px;
    outline: none;
    font-size: 0.95rem;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: border-color 0.3s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    border-color: var(--accent-orange);
    background: #fff;
}
.image-upload-row {
    background: var(--bg-light);
    border: 2px dashed #cbd2e0;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.image-upload-row label {
    font-size: 0.95rem;
    color: #5a6072;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.image-upload-row label i { color: var(--accent-orange); }

/* --- WEATHER & MAP STYLES --- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 50px; }
.widget-card { background: #fff; padding: 25px; border-radius: 16px; box-shadow: 0 10px 25px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.04); }
.widget-card h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--primary-dark); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.widget-card h3 i { color: var(--accent-orange); }
.weather-info { display: flex; justify-content: space-around; align-items: center; text-align: center; }
.weather-temp { font-size: 2.5rem; font-weight: 700; color: var(--primary-dark); }
.map-container { width: 100%; height: 300px; border-radius: 12px; overflow: hidden; border: 1px solid #e1e4ed; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* --- ITINERARY PLANNER STYLES --- */
.planner-box { background: #fff; padding: 30px; border-radius: 16px; box-shadow: 0 10px 25px rgba(0,0,0,0.04); margin-bottom: 60px; border: 1px solid rgba(0,0,0,0.04); }
.planner-controls { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; }
.planner-select { flex: 1; min-width: 200px; padding: 12px 16px; border: 1px solid #dcdfe6; border-radius: 10px; outline: none; background: var(--bg-light); font-size: 1rem; color: var(--text-dark); }
.itinerary-output { background: var(--bg-light); padding: 20px; border-radius: 12px; border-left: 5px solid var(--accent-orange); }
.itinerary-output h4 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--primary-dark); margin-bottom: 10px; }
.itinerary-output ul { list-style-position: inside; color: #4a4f5c; line-height: 1.8; }

/* --- FAQ ACCORDION STYLES --- */
.faq-container { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); overflow: hidden; border: 1px solid #e8ebf2; }
.faq-question { padding: 18px 22px; font-weight: 600; color: var(--primary-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: #5a6072; line-height: 1.6; }
.faq-item.active .faq-answer { padding: 0 22px 20px 22px; max-height: 220px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-question i { transition: transform 0.3s ease; color: var(--accent-orange); }

/* --- KUYA BANTAY CHATBOT WIDGET --- */
:root {
    --chat-teal: #2a9d8f;
    --chat-teal-dark: #1c6b61;
    --chat-teal-light: #e6f5f3;
}

.chat-widget { position: fixed; bottom: 30px; right: 30px; z-index: 2000; animation: float-chatbot 3s ease-in-out infinite; }

.chat-btn {
    background: linear-gradient(135deg, #2ec4b6 0%, #1c6b61 100%);
    color: #fff; 
    width: 72px; height: 72px;
    border-radius: 20px; 
    display: flex; justify-content: center; align-items: center;
    font-size: 28px;
    cursor: pointer; 
    box-shadow: 0 10px 28px rgba(17, 94, 89, 0.4); 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 3px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: visible;
}

.chat-btn:hover { 
    transform: translateY(-4px) rotate(-3deg) scale(1.04); 
    box-shadow: 0 0 30px rgba(46, 196, 182, 0.7);
}

.robot-head {
    position: relative;
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.06));
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.28);
}

.robot-antenna {
    position: absolute;
    width: 4px;
    height: 12px;
    background: rgba(255,255,255,0.75);
    border-radius: 999px;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
}

.robot-antenna::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #dffdf8;
    border-radius: 50%;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(255,255,255,0.7);
    animation: robot-blink 2.5s infinite ease-in-out;
}

.robot-eye {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #dffdf8;
    border-radius: 50%;
    top: 18px;
    box-shadow: 0 0 10px rgba(255,255,255,0.7);
    animation: robot-blink 2.5s infinite ease-in-out;
}

.robot-eye.left { left: 13px; }
.robot-eye.right { right: 13px; animation-delay: 0.4s; }

.robot-mouth {
    position: absolute;
    left: 50%;
    bottom: 12px;
    width: 22px;
    height: 10px;
    transform: translateX(-50%);
    border-bottom: 3px solid rgba(255,255,255,0.85);
    border-radius: 0 0 12px 12px;
}

.chat-btn::after {
    content: '';
    position: absolute;
    top: -8px; right: 12px;
    width: 12px; height: 12px;
    background-color: #2ecc71;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.95);
    animation: pulse-light 2s infinite;
}

@keyframes float-chatbot {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes robot-blink {
    0%, 45%, 100% { opacity: 1; transform: scaleY(1); }
    48% { opacity: 0.35; transform: scaleY(0.4); }
    52% { opacity: 1; transform: scaleY(1); }
}

@keyframes pulse-light {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.chat-window {
    position: absolute; bottom: 85px; right: 0; width: 360px; height: 500px;
    background-color: rgba(255, 255, 255, 0.96); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden;
    transform: translateY(20px) scale(0.95); 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.chat-window.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.chat-header {
    background: linear-gradient(120deg, var(--chat-teal-dark) 0%, var(--chat-teal) 100%);
    color: #fff; padding: 16px 20px;
    font-weight: 600; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 3px solid #fff;
}
.chat-title-group { display: flex; align-items: center; gap: 12px; }
.chat-header-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background-color: rgba(255,255,255,0.18);
    display: flex; justify-content: center; align-items: center;
    font-size: 1.1rem; color: #fff; flex-shrink: 0;
    border: 1.5px solid rgba(255,255,255,0.5);
}
.chat-title-text { display: flex; flex-direction: column; line-height: 1.25; }
.chat-title-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; }
.chat-title-subtitle { font-size: 0.72rem; font-weight: 400; opacity: 0.85; }
.close-btn { cursor: pointer; font-size: 1.4rem; color: rgba(255,255,255,0.8); transition: color 0.2s; }
.close-btn:hover { color: #fff; }

.chat-body {
    flex: 1; background-color: var(--chat-teal-light); padding: 16px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 14px; color: var(--text-dark);
}

.bot-msg-wrapper { display: flex; align-items: flex-end; gap: 10px; align-self: flex-start; max-width: 88%; }
.bot-msg-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background-color: var(--chat-teal); color: #fff;
    display: flex; justify-content: center; align-items: center;
    font-size: 14px; flex-shrink: 0; border: 1px solid var(--chat-teal-dark);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.chat-message { padding: 12px 16px; border-radius: 16px; font-size: 0.92rem; line-height: 1.45; }
.msg-bot { background-color: #fff; border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid #d5ece9; color: #2d3142; }
.msg-user { background-color: var(--chat-teal); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; box-shadow: 0 3px 10px rgba(42, 157, 143, 0.3); max-width: 85%; }

.chat-footer { padding: 14px 16px; background-color: #fff; display: flex; gap: 10px; border-top: 1px solid #edf0f5; align-items: center; }
.chat-footer input { 
    flex: 1; 
    padding: 11px 16px; 
    border: 1px solid #dcdfe6; 
    border-radius: 24px; 
    outline: none; 
    background: var(--bg-light); 
    font-size: 0.92rem; 
    color: var(--text-dark);
    transition: border-color 0.3s;
}
.chat-footer input::placeholder { color: var(--text-muted); }
.chat-footer input:focus { border-color: var(--chat-teal); background: #fff; }
.chat-footer button {
    background-color: var(--chat-teal); color: #fff; border: none; width: 42px; height: 42px;
    border-radius: 50%; cursor: pointer; font-size: 0.9rem; transition: all 0.3s;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 3px 8px rgba(42, 157, 143, 0.3);
}
.chat-footer button:hover { background-color: var(--chat-teal-dark); transform: scale(1.05); }

@media(max-width: 768px) {
    .about-grid, .info-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; } 
    .home-content h1 { font-size: 2.8rem; }
}
/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background-color: rgba(11, 12, 16, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    padding: 20px 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    animation: cookieSlideUp 0.4s ease;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-consent-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 260px;
}

.cookie-icon {
    color: #f97316;
    font-size: 1.5rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.cookie-consent-content p {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie-accept, .btn-cookie-decline {
    padding: 10px 24px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.btn-cookie-accept {
    background-color: #f97316;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.35);
}

.btn-cookie-accept:hover {
    background-color: #ea6a0d;
    transform: translateY(-1px);
}

.btn-cookie-decline {
    background: transparent;
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-cookie-decline:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 600px) {
    .cookie-consent-banner { flex-direction: column; align-items: stretch; padding: 18px 20px; }
    .cookie-consent-actions { justify-content: stretch; }
    .btn-cookie-accept, .btn-cookie-decline { flex: 1; text-align: center; }
}

.slide.active-slide {
    transform: scale(1.06);
}

/* --- "More" dropdown (desktop nav) --- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav-dropdown-caret { font-size: 10px; transition: transform 0.25s ease; }
.nav-dropdown.open .nav-dropdown-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
    list-style: none;
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background-color: rgba(20, 21, 31, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    min-width: 170px;
    padding: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 500;
}
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li { width: 100%; }
.nav-dropdown-menu li a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
.nav-dropdown-menu li a::after { display: none; }
.nav-dropdown-menu li a:hover, .nav-dropdown-menu li a.active-link {
    background-color: rgba(244, 162, 97, 0.12);
    color: var(--accent-orange);
}
/* Home-page sections and footer only exist on the Home view. Without this they sit in
   normal flow under the Guide / Cookie views and show up when the page scrolls. */
#home:not(.active-view) ~ .home-section,
#home:not(.active-view) ~ footer { display: none; }