/* Booking Page Styles - Mobile Responsive */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3c72;
    --secondary-color: #2a5298;
    --accent-color: #ffd700;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo h1 {
    color: #fff;
    font-size: 1.5rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.btn-book {
    background: var(--accent-color);
    color: var(--primary-color) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Booking Hero */
.booking-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 3rem 0;
    text-align: center;
    color: #fff;
}

.booking-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.booking-hero p {
    font-size: 1.2rem;
}

/* Booking Section */
.booking-section {
    padding: 4rem 0;
    background: var(--light-bg);
    min-height: calc(100vh - 200px);
}

.booking-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.booking-container {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.booking-header {
    margin-bottom: 2rem;
}

.booking-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.booking-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 500px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step.active .step-number {
    background: var(--primary-color);
    color: #fff;
}

.step-text {
    font-size: 0.9rem;
    color: #666;
}

.step.active .step-text {
    color: var(--primary-color);
    font-weight: 600;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.booking-reference-display {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #c3e6cb;
}

.reference-code {
    display: inline-block;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.reference-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.nights-display {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Room Selection */
.room-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.room-option {
    display: flex;
    cursor: pointer;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.room-option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.room-option input[type="radio"] {
    margin-right: 1rem;
    accent-color: var(--primary-color);
    min-width: 20px;
}

.room-option-content {
    flex: 1;
}

.room-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.room-option h4 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge-popular {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-luxury {
    background: var(--primary-color);
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.room-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.per-night {
    font-size: 0.9rem;
    font-weight: 400;
}

.room-option p {
    margin-bottom: 0.8rem;
    color: #666;
}

.room-features {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.room-features span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: #666;
}

.room-features i {
    color: var(--accent-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.service-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.service-option:hover {
    background: #e9ecef;
    border-color: var(--primary-color);
}

.service-option input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: var(--primary-color);
    min-width: 18px;
}

.service-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-content i {
    color: var(--accent-color);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.submit-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30,60,114,0.3);
}

.cancel-btn {
    background: var(--border-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cancel-btn:hover {
    background: #ccc;
}

/* Booking Sidebar */
.booking-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.booking-summary,
.info-box,
.contact-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.booking-summary h3,
.info-box h4,
.contact-box h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-of-type {
    border-bottom: none;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    font-size: 1.2rem;
}

.summary-total span {
    color: var(--primary-color);
    font-weight: 600;
}

.summary-total strong {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.summary-note {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

.info-box ul,
.contact-box ul {
    list-style: none;
}

.info-box li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.info-box i {
    color: var(--success-color);
    margin-top: 0.2rem;
}

.contact-box p {
    margin-bottom: 1rem;
    color: #666;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.contact-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #0d1b2a;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

/* Tablets and below (1024px) */
@media (max-width: 1024px) {
    .booking-layout {
        grid-template-columns: 1fr;
    }
    
    .booking-sidebar {
        order: -1;
    }
    
    .booking-hero h2 {
        font-size: 2rem;
    }
}

/* Mobile devices (768px) */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        display: none;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 0.8rem;
        border-radius: 5px;
    }
    
    .nav-links a:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .btn-book {
        display: block;
        text-align: center;
    }
    
    .booking-hero h2 {
        font-size: 1.8rem;
    }
    
    .booking-hero p {
        font-size: 1rem;
    }
    
    .booking-section {
        padding: 2rem 0;
    }
    
    .booking-container {
        padding: 1.5rem;
    }
    
    .booking-header h2 {
        font-size: 1.5rem;
    }
    
    .booking-steps {
        max-width: 100%;
    }
    
    .step-text {
        font-size: 0.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
    }
    
    .room-option {
        padding: 1rem;
    }
    
    .room-option-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .room-price {
        font-size: 1.3rem;
    }
    
    .room-features {
        gap: 0.5rem;
    }
    
    .room-features span {
        font-size: 0.85rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .cancel-btn {
        text-align: center;
        justify-content: center;
    }
    
    .booking-summary,
    .info-box,
    .contact-box {
        padding: 1.2rem;
    }
}

/* Small mobile devices (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .booking-hero {
        padding: 2rem 0;
    }
    
    .booking-hero h2 {
        font-size: 1.5rem;
    }
    
    .booking-hero p {
        font-size: 0.9rem;
    }
    
    .booking-layout {
        padding: 0 10px;
    }
    
    .booking-container {
        padding: 1rem;
    }
    
    .booking-header h2 {
        font-size: 1.3rem;
    }
    
    .booking-steps {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step {
        flex-direction: row;
        gap: 0.5rem;
        width: 100%;
    }
    
    .step-line {
        display: none;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .alert {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .form-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .form-section h3 {
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .room-option {
        padding: 0.8rem;
        flex-direction: column;
    }
    
    .room-option input[type="radio"] {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .room-option h4 {
        font-size: 1rem;
    }
    
    .room-price {
        font-size: 1.2rem;
    }
    
    .room-features {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-option {
        padding: 0.8rem;
    }
    
    .service-content {
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.9rem;
        font-size: 1rem;
    }
    
    .cancel-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .booking-summary h3,
    .info-box h4,
    .contact-box h4 {
        font-size: 1rem;
    }
    
    .summary-item {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }
    
    .summary-total {
        font-size: 1rem;
    }
    
    .summary-total strong {
        font-size: 1.3rem;
    }
    
    .info-box li {
        font-size: 0.9rem;
    }
    
    .contact-btn {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
}

/* Extra small devices (360px) */
@media (max-width: 360px) {
    .logo h1 {
        font-size: 0.9rem;
    }
    
    .booking-hero h2 {
        font-size: 1.3rem;
    }
    
    .booking-container {
        padding: 0.8rem;
    }
    
    .room-option-header {
        gap: 0.3rem;
    }
    
    .badge-popular,
    .badge-luxury {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}