/* ============================================== */
/* CORE DESIGN SYSTEM & VARIABLES */
/* ============================================== */
:root {
    --terracotta-primary: #c2410c;
    --terracotta-dark: #9a3412;
    --terracotta-light: #ea580c;
    --sage-primary: #15803d;
    --sage-bright: #16a34a;
    --sage-light: #dcfce7;
    
    --bg-color: #fafaf9;
    --primary-color: #ffffff;
    --primary-light: #f5f5f4;
    --border-color: #e7e5e4;
    
    --text-color: #44403c;
    --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(194, 65, 12, 0.08);
    --shadow-md: 0 15px 40px -12px rgba(194, 65, 12, 0.12);
    --shadow-lg: 0 25px 60px -15px rgba(194, 65, 12, 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;
}

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

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

/* Badges */
.badge {
    background-color: var(--sage-light);
    color: var(--sage-primary);
    border: 1px solid rgba(22, 128, 61, 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(--terracotta-primary);
    color: #ffffff;
    border-color: var(--terracotta-primary);
    box-shadow: 0 4px 14px rgba(194, 65, 12, 0.15);
}

.btn-accent:hover {
    background-color: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 65, 12, 0.25);
}

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

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

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

.section-title .sub-title {
    color: var(--terracotta-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 */
/* ============================================== */
.guesthouse-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(--terracotta-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.logo i {
    font-size: 1.45rem;
    color: var(--sage-primary);
}

.accent-logo {
    color: var(--sage-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(--terracotta-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--terracotta-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(--terracotta-primary);
    border-bottom: 2px solid var(--sage-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 */
/* ============================================== */
.hero-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;
}

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

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

.visual-wrapper {
    position: relative;
    max-width: 420px;
}

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

.direct-booking-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--terracotta-primary);
    color: #ffffff;
    padding: 20px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 30px rgba(194, 65, 12, 0.25);
    display: flex;
    align-items: center;
    gap: 14px;
    border-left: 5px solid var(--sage-bright);
}

.direct-booking-badge i {
    font-size: 2rem;
    color: var(--gold-bright);
}

.direct-booking-badge .badge-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    display: block;
}

.direct-booking-badge .badge-text {
    font-size: 0.85rem;
    font-weight: 700;
}


/* ============================================== */
/* HIGHLIGHTS SECTION */
/* ============================================== */
.highlights-section {
    background-color: var(--primary-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 0;
}

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

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-box {
    background-color: rgba(194, 65, 12, 0.08);
    color: var(--terracotta-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.highlight-item h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.highlight-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}


/* ============================================== */
/* ROOMS SECTION */
/* ============================================== */
.rooms-section {
    background-color: var(--bg-color);
}

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

.room-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;
    position: relative;
}

.room-card.popular {
    border-color: var(--terracotta-primary);
    box-shadow: var(--shadow-md);
}

.room-card .popular-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--terracotta-primary);
    color: #ffffff;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 30px;
    z-index: 10;
}

.room-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary-dark);
    color: #ffffff;
    padding: 6px 16px;
    font-family: var(--font-eng);
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 8px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-badge .unit {
    font-size: 0.75rem;
    font-family: var(--font-thai);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
}

.room-content {
    padding: 35px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

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

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

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

.room-amenities i {
    color: var(--sage-primary);
}


/* ============================================== */
/* BOOKING ENGINE & MARKETPLACE */
/* ============================================== */
.booking-section {
    background-color: var(--primary-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: stretch;
}

.booking-inputs-panel {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.booking-inputs-panel h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.input-form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.input-form-group select, .input-form-group input {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.input-form-group select:focus, .input-form-group input:focus {
    border-color: var(--terracotta-primary);
    box-shadow: 0 0 8px rgba(194, 65, 12, 0.15);
}

/* Marketplace Checkbox Tiles */
.marketplace-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 8px;
}

.marketplace-card-label {
    position: relative;
    cursor: pointer;
    display: block;
}

.marketplace-card-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.addon-tile-content {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.addon-icon {
    font-size: 1.6rem;
    color: var(--terracotta-primary);
    background-color: rgba(194, 65, 12, 0.08);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.addon-details {
    display: flex;
    flex-direction: column;
}

.addon-details strong {
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.addon-details span {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* Checked Tile highlights */
.marketplace-card-label input:checked + .addon-tile-content {
    border-color: var(--terracotta-primary);
    background-color: rgba(194, 65, 12, 0.04);
    box-shadow: var(--shadow);
}

.marketplace-card-label input:checked + .addon-tile-content .addon-icon {
    background-color: var(--terracotta-primary);
    color: #ffffff;
}

/* Booking summary card */
.booking-summary-panel {
    display: flex;
    flex-direction: column;
}

.summary-card {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 115px;
    height: fit-content;
    border-top: 4px solid var(--terracotta-primary);
}

.summary-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.summary-sub {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 24px;
}

.summary-lines {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.summary-line .line-lbl {
    color: var(--text-light);
}

.summary-line .line-val {
    font-family: var(--font-eng);
    font-weight: 700;
    color: var(--primary-dark);
}

.summary-hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 4px 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-lbl {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.total-val {
    font-family: var(--font-eng);
    font-size: 1.8rem;
    font-weight: 850;
    color: var(--terracotta-primary);
}


/* ============================================== */
/* REVIEWS & TESTIMONIALS */
/* ============================================== */
.testimonials-section {
    background-color: var(--bg-color);
}

.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 h5 {
    font-size: 1rem;
    color: var(--primary-dark);
}

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


/* ============================================== */
/* CONTACT FORM REGISTRATION */
/* ============================================== */
.contact-section {
    background-color: var(--primary-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(--terracotta-primary);
    box-shadow: 0 0 8px rgba(194, 65, 12, 0.15);
    background-color: #ffffff;
}

.form-group textarea {
    resize: none;
}


/* ============================================== */
/* E-VOUCHER PRINTABLE INVOICE SHEET */
/* ============================================== */
.voucher-preview-section {
    background-color: var(--primary-light);
    border-top: 1px solid var(--border-color);
}

.voucher-wrapper-preview {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.voucher-card {
    background-color: #ffffff;
    color: #292524;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.voucher-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.brand-address h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.brand-address .sub {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
    margin-top: 2px;
}

.doc-meta {
    text-align: right;
}

.doc-meta .text-accent {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--terracotta-primary);
    letter-spacing: 0.5px;
}

.doc-meta span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.status-badge {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid rgba(6, 95, 70, 0.2);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
}

.voucher-hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 24px 0;
}

/* Guest grid */
.guest-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.detail-block small {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.detail-block h4 {
    font-size: 1rem;
    color: var(--primary-dark);
}

.detail-block span {
    font-size: 0.85rem;
    color: var(--text-color);
}

.booking-dates-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    margin-bottom: 30px;
}

.date-col small {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 4px;
}

.date-col h5 {
    font-size: 0.95rem;
    color: var(--primary-dark);
}

/* Voucher table */
.voucher-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.voucher-table th, .voucher-table td {
    padding: 12px 10px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.voucher-table th {
    font-weight: 700;
    color: var(--text-light);
    background-color: var(--bg-color);
}

.voucher-table td {
    color: var(--text-color);
}

.voucher-table .text-right {
    text-align: right;
}

.voucher-table .text-center {
    text-align: center;
}

.voucher-total-box {
    margin-left: auto;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.voucher-total-box .total-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
}

.voucher-total-box .grand-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.voucher-total-box .grand-total-line .total-val {
    font-family: var(--font-eng);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--terracotta-primary);
}

/* Footer Stamp & QR */
.voucher-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.signature-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stamp-box {
    border: 2px dashed var(--border-color);
    border-radius: 6px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-light);
    width: fit-content;
}

.stamp-box.approved {
    border-color: #86efac;
    color: #15803d;
}

.signature-box small {
    font-size: 0.7rem;
    color: var(--text-light);
}

.qr-code-box small {
    font-size: 0.7rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 4px;
}

.qr-mock {
    font-size: 2.2rem;
    color: var(--text-color);
}

.voucher-actions {
    display: flex;
    gap: 16px;
}

.voucher-actions .btn {
    flex: 1;
}

/* Printable PDF sheets settings */
@media print {
    body * {
        visibility: hidden;
    }
    #printArea, #printArea * {
        visibility: visible;
    }
    #printArea {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
}


/* ============================================== */
/* FOOTER STYLING */
/* ============================================== */
.guesthouse-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(--terracotta-primary);
    border-color: var(--terracotta-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(28, 25, 23, 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(--terracotta-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 {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .rooms-grid, .testimonials-grid, .booking-wrapper {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
    }
}

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

    .navbar {
        height: 75px;
    }

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

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

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

    .form-wrapper, .booking-inputs-panel, .summary-card {
        padding: 24px;
    }

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