/* ----------------------------------------------------
   1000 Pintu Design System & Stylesheet (Vanilla CSS)
   PT Seribu Pintu Nusantara - Direktur Teknologi: Joe Witaya
   ---------------------------------------------------- */

:root {
    /* Color Palette */
    --primary: #e11d48;         /* Rose 600 - Main Crimson */
    --primary-hover: #be123c;   /* Rose 700 */
    --primary-light: #fff1f2;   /* Rose 50 */
    --primary-glow: rgba(225, 29, 72, 0.15);
    
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;          /* Slate 50 */
    --bg-card: #ffffff;
    
    --text-main: #0f172a;       /* Slate 900 */
    --text-medium: #334155;     /* Slate 700 */
    --text-muted: #64748b;      /* Slate 500 */
    
    --border: #e2e8f0;          /* Slate 200 */
    --border-focus: #fca5a5;    /* Red 300 */
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    --shadow-primary: 0 10px 15px -3px rgba(225, 29, 72, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* Font Weight */
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 600;
    --weight-bold: 800;
    
    /* Animations */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-fast);
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-bg {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: var(--weight-bold);
    color: var(--text-main);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ----------------------------------
   Header / Navigation Bar
   ---------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; /* Awalnya transparan */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    height: 80px;
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}

.header.shrink {
    height: 64px;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: var(--weight-bold);
    color: var(--text-main); /* Menjadi gelap dari awal karena background terang */
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    transition: var(--transition-fast);
}

.header.shrink .logo-text {
    color: var(--text-main); 
}

.logo-sub {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted); /* Gelap dari awal */
    font-weight: var(--weight-medium);
    margin-top: -3px;
    transition: var(--transition-fast);
}

.header.shrink .logo-sub {
    color: var(--text-muted); 
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: var(--weight-medium);
    color: var(--text-medium); /* Gelap dari awal */
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.header.shrink .nav-link {
    color: var(--text-medium); 
}

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

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

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

/* Action Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: var(--weight-medium);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    gap: 0.5rem;
}

.btn-text {
    color: var(--text-medium); 
    transition: var(--transition-fast);
}

.header.shrink .btn-text {
    color: var(--text-medium);
}

.btn-text:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--text-medium);
    transition: var(--transition-fast);
}

.header.shrink .btn-outline {
    border: 1.5px solid var(--border);
    color: var(--text-medium);
}

.header.shrink .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    color: var(--text-main); 
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.header.shrink .menu-toggle {
    color: var(--text-main);
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    z-index: 999;
}

.mobile-nav-panel {
    position: fixed;
    left: 0;
    right: 0;
    top: 80px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    display: grid;
    gap: 0.35rem;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: var(--transition-fast);
    z-index: 1001;
}

.header.shrink ~ .mobile-nav-panel {
    top: 64px;
}

.mobile-nav-link {
    display: block;
    padding: 0.85rem 0.75rem;
    border-radius: 14px;
    color: var(--text-main);
    border: 1px solid rgba(226, 232, 240, 0.7);
    background: rgba(255, 255, 255, 0.7);
}

.mobile-nav-link:active {
    transform: scale(0.99);
}

.mobile-nav-actions {
    display: grid;
    gap: 0.75rem;
    padding-top: 0.75rem;
}

body.mobile-nav-open .mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.mobile-nav-open .mobile-nav-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ----------------------------------
   Hero Section & Search Widget
   ---------------------------------- */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 8rem;
    background-color: var(--bg-alt);
    overflow-x: hidden;
    overflow-y: visible;
}

/* Banner Background Container */
.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Gradient Overlay to make text readable */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.8) 50%,
        var(--bg-alt) 100%);
    z-index: 2;
}

/* Decorative background elements */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.08) 0%, transparent 70%);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.badge-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: var(--weight-medium);
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease-out;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--weight-bold);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(225, 29, 72, 0.12);
    z-index: -1;
}

.hero-content p.lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Search Box Container */
.search-widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.85rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 1180px; /* Diperlebar dari 1080px */
    margin: 0 auto;
    position: relative;
}

.search-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 1.5rem; /* Padding internal diperbesar agar lapang */
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--transition-fast);
    position: relative;
    cursor: pointer;
    text-align: left;
}

/* Distribusi ruang flex secara proporsional */
#locField {
    flex: 1.8; /* Kota tujuan mendapat ruang paling luas */
}

#dateField {
    flex: 2.2; /* Range tanggal butuh space yang agak lebar */
}

#guestField {
    flex: 1.4; /* Kamar & Tamu mendapat ruang medium-luas */
}

.search-field:hover {
    background-color: var(--bg-alt);
}

.search-field:focus-within {
    border-color: var(--border-focus);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-field label {
    font-size: 0.75rem;
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    pointer-events: none;
}

.search-field label i {
    color: var(--primary);
}

.search-input-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
}

.search-field input, 
.search-field select {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 0;
}

.search-field input::placeholder {
    color: #94a3b8;
    font-weight: var(--weight-regular);
}

.search-divider {
    width: 1px;
    background-color: var(--border);
    margin: 0.75rem 0;
    align-self: stretch;
}

/* Button Search */
.btn-search {
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    padding: 0 2.5rem;
    font-size: 1.05rem;
    font-weight: var(--weight-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.btn-search:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-primary);
}

/* Dropdown / Autocomplete Suggesion */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 1030;
    display: none;
    padding: 0.5rem;
    max-height: 280px;
    overflow-y: auto;
    animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-menu.active {
    display: block;
}

.dropdown-group-label {
    font-size: 0.7rem;
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    padding: 0.4rem 0.75rem;
}

.dropdown-group-divider {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0.5rem;
    opacity: 0.8;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.dropdown-item-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-item-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-item:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.dropdown-item i {
    color: var(--text-muted);
}

.dropdown-item:hover i {
    color: var(--primary);
}

/* Guest Selector Popover Custom */
.guest-picker-popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 1030;
    display: none;
    padding: 1.5rem;
    animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.guest-picker-popover.active {
    display: block;
}

.guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.guest-row:last-child {
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
}

.guest-info h4 {
    font-size: 0.95rem;
    font-weight: var(--weight-medium);
    color: var(--text-main);
}

.guest-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.guest-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-counter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-weight: bold;
}

.btn-counter:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-counter:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.counter-value {
    font-size: 1rem;
    font-weight: 600;
    width: 20px;
    text-align: center;
}

/* ----------------------------------
   Popular Destinations
   ---------------------------------- */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.dest-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
}

.dest-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.dest-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.dest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.dest-card:hover .dest-image img {
    transform: scale(1.1);
}

.dest-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}

.dest-info {
    color: white;
}

.dest-name {
    font-size: 1.15rem;
    font-weight: var(--weight-medium);
    margin-bottom: 0.15rem;
    letter-spacing: -0.01em;
}

.dest-count {
    font-size: 0.75rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ----------------------------------
   Active Promo Banner Section
   ---------------------------------- */
.promo-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.promo-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.promo-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-focus);
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary);
}

.promo-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promo-content h3 {
    font-size: 1.2rem;
    font-weight: var(--weight-medium);
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.promo-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.promo-code {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--primary);
}

/* ----------------------------------
   Value Propositions (Why Us)
   ---------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition-normal);
    position: relative;
}

.feature-box:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-box-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.feature-box:hover .feature-box-icon {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.feature-box h3 {
    font-size: 1.25rem;
    font-weight: var(--weight-medium);
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ----------------------------------
   Banner CTA Kemitraan (PT Seribu Pintu Nusantara)
   ---------------------------------- */
.cta-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-lg);
    padding: 5rem 4rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-banner::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
}

.cta-banner-content h2 {
    font-size: 2.5rem;
    font-weight: var(--weight-bold);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-banner-content p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--text-main);
}

.btn-white:hover {
    background: var(--bg-alt);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ----------------------------------
   App Showcase Section (Flutter App)
   ---------------------------------- */
.app-section {
    position: relative;
    overflow: hidden;
}

.app-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.app-content {
    flex: 1;
    max-width: 550px;
}

.app-content h2 {
    font-size: 2.5rem;
    font-weight: var(--weight-bold);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.app-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.app-badges {
    display: flex;
    gap: 1rem;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #0f172a;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.app-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.app-btn i {
    font-size: 2rem;
}

.app-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-btn-text span:first-child {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

.app-btn-text span:last-child {
    font-size: 0.95rem;
    font-weight: 600;
}

.app-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Simulated Smartphone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    border-radius: 40px;
    background: #000;
    border: 12px solid #000;
    box-shadow: var(--shadow-xl), 0 0 0 4px #1e293b;
    position: relative;
    overflow: hidden;
}

/* Phone notch */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #000;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 999;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
}

/* Simulation content of Flutter app */
.phone-header {
    background: var(--primary);
    color: white;
    padding: 2rem 1rem 1rem;
    text-align: left;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.phone-header h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.phone-header p {
    font-size: 0.7rem;
    opacity: 0.9;
}

.phone-body {
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.phone-search-bar {
    background: white;
    border-radius: 100px;
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.phone-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: left;
}

.phone-horizontal-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.phone-city-bubble {
    padding: 0.35rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.phone-hotel-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.phone-hotel-img {
    height: 100px;
    background-size: cover;
    background-position: center;
}

.phone-hotel-details {
    padding: 0.75rem;
}

.phone-hotel-name {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.phone-hotel-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    color: #eab308;
    margin-bottom: 0.35rem;
}

.phone-hotel-price {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
}

.phone-navbar {
    background: white;
    border-top: 1px solid var(--border);
    padding: 0.5rem;
    display: flex;
    justify-content: space-around;
    font-size: 0.6rem;
    color: var(--text-muted);
}

.phone-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.phone-nav-item.active {
    color: var(--primary);
}

/* Decorative circle behind phone */
.visual-bg-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    background: var(--primary-light);
    border-radius: 50%;
    z-index: -1;
}

/* ----------------------------------
   Footer Area
   ---------------------------------- */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 2rem;
    border-top: 1px solid #1e293b;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: var(--weight-bold);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e293b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    font-weight: var(--weight-medium);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------
   Responsive Breakpoints
   ---------------------------------- */
@media (max-width: 1024px) {
    .search-widget {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    .search-divider {
        display: none;
    }
    .btn-search {
        padding: 1rem;
        width: 100%;
        margin-top: 0.5rem;
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .app-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .app-content {
        margin: 0 auto;
    }
    .app-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }
    .nav-menu {
        display: none; /* Hide standard menu on mobile */
    }
    .nav-actions {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .logo-img {
        height: 34px;
    }
    .logo-text {
        font-size: 1.05rem;
    }
    .logo-sub {
        display: none;
    }
    .hero {
        padding-top: 140px;
        padding-bottom: 5rem;
    }
    .cta-banner {
        padding: 3rem 2rem;
        text-align: center;
    }
    .cta-banner-content {
        margin: 0 auto;
    }
    .cta-actions {
        justify-content: center;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.sp-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 2000;
}

.sp-modal-backdrop.active {
    display: flex;
}

.sp-modal-card {
    width: 100%;
    max-width: 520px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.sp-modal-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sp-modal-card-header h3 {
    font-size: 1.1rem;
}

.sp-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-alt);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sp-modal-card-body {
    padding: 1.25rem;
}

.sp-modal-step {
    display: none;
}

.sp-modal-step.active {
    display: block;
}

.sp-form-row {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.sp-form-row label {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.sp-form-row input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    outline: none;
    font-size: 0.95rem;
    background: #fff;
}

.sp-form-row input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.sp-helper-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.sp-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.search-page-shell {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.search-page {
    display: grid;
    grid-template-areas:
        "top"
        "content";
    gap: 1.25rem;
    align-items: start;
}

.search-page-content {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    grid-template-areas: "filters results";
    gap: 1.25rem;
    align-items: start;
}

.search-top-filters {
    grid-area: top;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.search-top-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    align-items: end;
}

.search-filters {
    grid-area: filters;
    position: sticky;
    top: 88px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    padding: 1rem;
}

.search-filters-title {
    font-size: 1.05rem;
    font-weight: var(--weight-bold);
    margin-bottom: 0.75rem;
}

.search-filter-form {
    display: grid;
    gap: 0.85rem;
}

.search-advanced-checks {
    display: grid;
    gap: 0.35rem;
}

.search-advanced-check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-medium);
    font-size: 0.92rem;
}

.search-advanced-check input {
    width: 16px;
    height: 16px;
}

.search-advanced-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.search-filter-row {
    display: grid;
    gap: 0.4rem;
}

.search-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.search-label {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.search-input {
    width: 100%;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    outline: none;
    background: #fff;
    font-size: 0.95rem;
}

.search-input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.search-results {
    grid-area: results;
    min-width: 0;
}

.search-results-header {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.search-results-title {
    font-size: 1.5rem;
    font-weight: var(--weight-bold);
}

.search-results-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.search-empty {
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    color: var(--text-muted);
    background: var(--bg-card);
}

.hotel-list {
    display: grid;
    gap: 0.85rem;
}

.hotel-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
}

.hotel-card--detail {
    grid-template-columns: 140px 1fr;
}

.hotel-card-image {
    width: 140px;
    height: 110px;
    background: var(--bg-alt);
}

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

.hotel-card-body {
    padding: 1rem 1.1rem;
    min-width: 0;
}

.hotel-card-title {
    font-size: 1.05rem;
    font-weight: var(--weight-bold);
    margin-bottom: 0.25rem;
}

.hotel-card-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-card-actions {
    padding: 1rem 1.1rem;
}

.search-section-title {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    font-weight: var(--weight-bold);
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.room-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    display: grid;
    gap: 0.35rem;
}

.room-card-image {
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-alt);
    margin-bottom: 0.35rem;
}

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

.room-card-title {
    font-size: 1rem;
    font-weight: var(--weight-bold);
}

.room-card-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.room-card-price {
    font-size: 1rem;
    font-weight: var(--weight-bold);
    margin: 0.35rem 0 0.5rem;
}

@media (max-width: 1024px) {
    .search-page-content {
        grid-template-columns: 1fr;
        grid-template-areas:
            "filters"
            "results";
    }
    .search-filters {
        position: static;
        top: auto;
    }
    .search-top-fields {
        grid-template-columns: 1fr 1fr;
    }
    .room-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .search-top-fields {
        grid-template-columns: 1fr;
    }
    .hotel-card {
        grid-template-columns: 120px 1fr auto;
    }
    .hotel-card--detail {
        grid-template-columns: 120px 1fr;
    }
    .hotel-card-image {
        width: 120px;
        height: 100px;
    }
    .hotel-card-actions {
        padding-top: 0;
    }
}
