/* ============================================== */
/* CORE DESIGN SYSTEM & VARIABLES */
/* ============================================== */
:root {
    --emerald-primary: #064e3b;
    --emerald-dark: #022c22;
    --emerald-light: #0f766e;
    --gold-primary: #d97706;
    --gold-bright: #f59e0b;
    --gold-light: #fef3c7;
    
    --bg-color: #fafaf9;
    --primary-color: #ffffff;
    --primary-light: #f5f5f4;
    --border-color: #e7e5e4;
    
    --text-color: #292524;
    --text-light: #78716c;
    --primary-dark: #1c1917;
    
    --font-thai: 'Prompt', 'Inter', sans-serif;
    --font-eng: 'Inter', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --shadow: 0 10px 30px -10px rgba(6, 78, 59, 0.08);
    --shadow-md: 0 15px 40px -12px rgba(6, 78, 59, 0.12);
    --shadow-lg: 0 25px 60px -15px rgba(6, 78, 59, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-thai);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button, input, select, textarea {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.25;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badges */
.badge {
    background-color: var(--gold-light);
    color: var(--gold-primary);
    border: 1px solid rgba(217, 119, 6, 0.2);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 24px;
}

/* Button Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn-full-width {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
}

.btn-accent {
    background-color: var(--emerald-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(6, 78, 59, 0.2);
}

.btn-accent:hover {
    background-color: var(--emerald-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 78, 59, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--emerald-primary);
    color: var(--emerald-primary);
}

.btn-outline:hover {
    background-color: var(--emerald-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Section Title */
.section-title {
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-title .sub-title {
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.section-title p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 12px;
}


/* ============================================== */
/* NAVBAR HEADER STYLING */
/* ============================================== */
.guide-header {
    background-color: rgba(250, 250, 249, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 85px;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: var(--font-eng);
    color: var(--emerald-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.logo i {
    font-size: 1.45rem;
}

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

.nav-links {
    display: flex;
    gap: 16px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
}

.nav-link:hover {
    color: var(--emerald-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-primary);
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Lang Switcher */
.lang-switch {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: var(--font-eng);
}

.active-lang {
    color: var(--emerald-primary);
    border-bottom: 2px solid var(--gold-primary);
    padding-bottom: 2px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}


/* ============================================== */
/* MOBILE MENU DRAWER */
/* ============================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--primary-color);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(-320px);
}

.close-menu {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.mobile-lang-switch {
    align-self: flex-start;
    margin-bottom: 12px;
    font-size: 1rem;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}


/* ============================================== */
/* HERO SECTION & BIO */
/* ============================================== */
.about-section {
    padding-top: 160px;
    background-color: var(--primary-color);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 850;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.profile-tags {
    margin-bottom: 35px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.tag-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tag-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-right: 8px;
}

.tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.tag-lang {
    background-color: var(--primary-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.tag-special {
    background-color: rgba(6, 78, 59, 0.08);
    color: var(--emerald-primary);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Portrait Visuals */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
    max-width: 420px;
    border-radius: var(--border-radius-lg);
    overflow: visible;
}

.visual-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 6px solid #ffffff;
}

.experience-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--emerald-primary);
    color: #ffffff;
    padding: 20px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 30px rgba(6, 78, 59, 0.25);
    display: flex;
    align-items: center;
    gap: 14px;
    border-left: 5px solid var(--gold-primary);
}

.experience-card .exp-num {
    font-size: 2.3rem;
    font-weight: 800;
    font-family: var(--font-eng);
    line-height: 1;
}

.experience-card .exp-text {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}


/* ============================================== */
/* STATS SECTION */
/* ============================================== */
.stats-section {
    background-color: var(--emerald-dark);
    color: #ffffff;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.stat-item i {
    font-size: 2.2rem;
    color: var(--gold-bright);
}

.stat-item h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-eng);
}

.stat-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}


/* ============================================== */
/* ITINERARIES CATALOG STYLING */
/* ============================================== */
.itineraries-section {
    background-color: var(--bg-color);
}

.itineraries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.itinerary-card {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.itinerary-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(6, 78, 59, 0.2);
}

.itinerary-card .card-tag {
    background-color: var(--gold-light);
    color: var(--gold-primary);
    padding: 6px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
    border-radius: 0 0 12px 0;
}

.itinerary-card .card-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.itinerary-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.itinerary-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.itinerary-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.itinerary-specs span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.itinerary-specs i {
    color: var(--emerald-primary);
}

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

.price-box {
    display: flex;
    flex-direction: column;
}

.price-box .price-lbl {
    font-size: 0.75rem;
    color: var(--text-light);
}

.price-box .price-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--emerald-primary);
    font-family: var(--font-eng);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-box .price-val .unit {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    font-family: var(--font-thai);
}


/* ============================================== */
/* AVAILABILITY CALENDAR SYSTEM */
/* ============================================== */
.calendar-section {
    background-color: var(--primary-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.calendar-wrapper {
    max-width: 850px;
    margin: 0 auto;
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
}

.calendar-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.calendar-month-title {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-eng);
    color: var(--emerald-primary);
}

.cal-nav-btn {
    background-color: var(--primary-light);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cal-nav-btn:hover {
    background-color: var(--emerald-primary);
    color: #ffffff;
    border-color: var(--emerald-primary);
}

/* Calendar Grids */
.calendar-grid-container {
    display: flex;
    flex-direction: column;
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
}

.calendar-days-header div {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.calendar-dates-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 16px;
}

/* Calendar Date Circles */
.calendar-day-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 55px;
}

.day-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-eng);
    transition: var(--transition);
    border: 1px solid transparent;
}

/* Cell States */
.day-empty {
    visibility: hidden;
}

.day-available {
    background-color: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
    cursor: pointer;
}

.day-available:hover {
    background-color: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
    transform: scale(1.08);
}

.day-pending {
    background-color: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.25);
    color: #d97706;
    cursor: pointer;
}

.day-pending:hover {
    background-color: #f59e0b;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
    transform: scale(1.08);
}

.day-booked {
    background-color: var(--primary-light);
    border-color: var(--border-color);
    color: var(--text-light);
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Legend styling */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 35px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-available { background-color: #10b981; }
.dot-pending { background-color: #f59e0b; }
.dot-booked { background-color: var(--text-light); }


/* ============================================== */
/* REVIEWS TESTIMONIALS STYLING */
/* ============================================== */
.testimonials-section {
    background-color: var(--primary-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--gold-bright);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-color);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.author-info h5 {
    font-size: 1rem;
    color: var(--primary-dark);
}

.author-info .country {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
    display: block;
}


/* ============================================== */
/* CONTACT INQUIRY REGISTRATION */
/* ============================================== */
.contact-section {
    background-color: var(--bg-color);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

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

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-color);
    padding: 14px 18px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--emerald-primary);
    box-shadow: 0 0 8px rgba(6, 78, 59, 0.15);
    background-color: #ffffff;
}

.form-group textarea {
    resize: none;
}


/* ============================================== */
/* FOOTER STYLING */
/* ============================================== */
.guide-footer {
    background-color: var(--primary-dark);
    padding: 60px 0;
    color: #ffffff;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--gold-bright);
}


/* ============================================== */
/* BACK TO TOP */
/* ============================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow);
}

.back-to-top:hover {
    background-color: var(--emerald-primary);
    border-color: var(--emerald-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ============================================== */
/* PREMIUM MODAL OVERLAYS */
/* ============================================== */
.modal-overlay-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(2, 44, 34, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    max-width: 550px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay-custom.open .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--emerald-primary);
}

.modal-body {
    padding: 40px;
}

.modal-sub {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

/* Success image styling inside modal */
.modal-success-img {
    max-width: 150px;
    margin: 0 auto 24px auto;
}

.modal-body.text-center h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.modal-body.text-center p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 10px;
}


/* ============================================== */
/* RESPONSIVE MEDIA QUERIES */
/* ============================================== */
@media (max-width: 1024px) {
    .nav-links, .nav-actions {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-actions, .tag-group {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .itineraries-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .navbar {
        height: 75px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-wrapper, .calendar-wrapper {
        padding: 24px;
    }

    .modal-body {
        padding: 24px;
    }
}
