:root {
    --primary: #1a1a1a;
    --accent: #c5a059;
    --bg: #f4f4f4;
    --white: #ffffff;
    --text: #444;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, sans-serif; }

body { background-color: var(--bg); color: var(--text); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar { background: var(--white); height: 70px; display: flex; align-items: center; border-bottom: 1px solid #ddd; }
.navbar .container { display: flex; justify-content: space-between; width: 100%; align-items: center; }
.logo { font-weight: 800; font-size: 1.2rem; letter-spacing: 1px; color: var(--primary); }
.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--primary); font-size: 0.9rem; font-weight: 500; }

/* Hero */
.hero { height: 450px; position: relative; display: flex; align-items: center; justify-content: center; color: var(--white); text-align: center; }
.slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.slide { width: 100%; height: 100%; background-size: cover; background-position: center; filter: brightness(0.6); }
.hero-content h1 { font-size: 3rem; margin-bottom: 15px; }

/* Search Bar */
.search-section { margin-top: -60px; position: relative; z-index: 100; }
.search-bar { 
    background: var(--white); padding: 25px; 
    display: grid; grid-template-columns: 1fr 1fr 1fr auto; 
    gap: 15px; border-radius: 12px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
}

.field { display: flex; flex-direction: column; position: relative; }
.field label { font-size: 0.7rem; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; color: #888; }
.field select, .field input, .summary-box { 
    padding: 12px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 0.95rem; background: #fff; cursor: pointer;
}

.btn-search { 
    background: var(--accent); color: white; border: none; 
    padding: 0 40px; border-radius: 6px; font-weight: 700; 
    cursor: pointer; transition: 0.2s; align-self: flex-start; height: 48px;
    margin-top: 15px;
}
.btn-search:hover { background: #b08d4a; }

.btn-disabled {
    background: #ccc !important;
    color: #888 !important;
    cursor: not-allowed !important;
}

.btn-disabled:hover {
    background: #ccc !important;
}

/* Datepicker */
.datepicker-input-wrapper {
    width: 100%;
    position: relative;
}

#hotel-date-input {
    width: 100%;
}

.datepicker__month-day--selected,
.datepicker__month-day--first-day-selected,
.datepicker__month-day--last-day-selected {
    background-color: var(--accent) !important;
}

.datepicker__month-day--hovering {
    background-color: rgba(197, 160, 89, 0.2) !important;
}

/* Guest Picker Dropdown */
.guest-field { position: relative; }
.guest-picker {
    position: absolute; top: calc(100% + 10px); left: 0; width: 340px;
    background: white; border: 1px solid #e2e8f0; padding: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-radius: 8px;
}

.room-row { border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; margin-bottom: 15px; }
.room-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.room-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.control-group { display: flex; flex-direction: column; }
.children-ages { display: grid; grid-template-columns: repeat(1, 2fr); gap: 8px; margin-top: 10px; }
.child-age-item label { font-size: 0.6rem !important; display: block; }
.child-age-item select { width: 100%; }

.btn-add-room { background: none; border: 1px dashed var(--accent); color: var(--accent); width: 100%; padding: 8px; cursor: pointer; border-radius: 4px; font-weight: 600; }
.btn-remove { background: #fee2e2; color: #ef4444; border: none; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; }

.picker-footer { margin-top: 15px; padding-top: 15px; border-top: 1px solid #eee; text-align: right; }
.btn-done { background: var(--primary); color: white; border: none; padding: 8px 20px; border-radius: 4px; cursor: pointer; }

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 20px;
    text-align: center;
}

.feature-card h3 { color: var(--primary); margin-bottom: 15px; }
.feature-card p { color: #666; line-height: 1.6; font-size: 0.95rem; }

/* Errors */
.error { color: #ef4444; font-size: 0.75rem; margin-top: 4px; }

@media (max-width: 900px) {
    .search-bar { grid-template-columns: 1fr; }
    .guest-picker { width: 100%; position: fixed; bottom: 0; left: 0; top: auto; border-radius: 20px 20px 0 0; }
}