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

:root {
    /* IHG-Inspired Color Scheme */
    --primary-color: #1a1d4d;
    --secondary-color: #c8102e;
    --accent-color: #8b0d26;
    --navy-dark: #0f1133;
    --navy-light: #2d3166;
    --dark-bg: #f5f5f5;
    --dark-card: #ffffff;
    --dark-card-hover: #fafafa;
    --header-bg: #1a1d4d;
    --white: #ffffff;
    --text-color: #333333;
    --text-muted: #666666;
    --border-color: #dddddd;
    --success-color: #10b981;
    --error-color: #c8102e;
    --info-color: #1a1d4d;
    --warning-color: #f59e0b;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--dark-bg);
    background-image: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--header-bg);
    border-bottom: none;
    color: var(--white);
    text-align: left;
    padding: 20px 0;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

header h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: white;
}

.tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-top: 4px;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Suite Showcase */
.suite-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0 60px;
    background: var(--dark-card);
    padding: 40px;
    border-radius: 0;
    box-shadow: var(--shadow-card);
    border: none;
}

.suite-image .image-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid var(--secondary-color);
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: var(--shadow-gold);
}

.suite-details h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.75rem;
    letter-spacing: 0;
    font-weight: 600;
}

.description {
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.8;
}

.amenities {
    list-style: none;
    margin-bottom: 30px;
}

.amenities li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
    color: var(--text-color);
    transition: color 0.3s;
}

.amenities li:hover {
    color: var(--primary-color);
}

.amenities li:last-child {
    border-bottom: none;
}

.price {
    background: var(--primary-color);
    padding: 24px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    box-shadow: var(--shadow);
}

.price-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

/* Booking Section */
.booking-section {
    background: var(--dark-card);
    padding: 40px;
    border-radius: 0;
    box-shadow: var(--shadow-card);
    margin-bottom: 40px;
    border: none;
}

.booking-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.75rem;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    font-size: 0.95rem;
    transition: all 0.2s;
    font-family: inherit;
    background-color: white;
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 29, 77, 0.1);
    background-color: white;
}

.form-group input[readonly] {
    background-color: var(--dark-bg);
    cursor: pointer;
    color: var(--text-color);
    font-weight: 500;
}

/* Payment Method Radio Buttons */
.payment-options {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.payment-option {
    flex: 1;
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    font-weight: 500;
    margin-bottom: 0;
}

.payment-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background: rgba(26, 29, 77, 0.05);
    color: var(--primary-color);
}

.payment-option label:hover {
    border-color: var(--primary-color);
}

/* Booking Summary */
.booking-summary {
    background: var(--dark-bg);
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--text-color);
}

.summary-row.total {
    border-top: 2px solid var(--border-color);
    margin-top: 12px;
    padding-top: 16px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

/* Buttons */
.btn-book {
    width: 100%;
    padding: 16px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: none;
}

.btn-book:hover {
    transform: none;
    box-shadow: none;
    background: var(--accent-color);
}

.btn-book:active {
    transform: translateY(0);
}

/* Confirmation Section */
.confirmation-section {
    background: var(--dark-card);
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.confirmation-card {
    max-width: 700px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--secondary-color) 100%);
    color: #0a0a0a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease-out;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.confirmation-section h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.confirmation-message {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.confirmation-details {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.confirmation-details h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-muted);
}

.detail-value {
    color: var(--text-color);
}

.detail-row.total {
    margin-top: 15px;
    padding-top: 20px;
    border-top: 2px solid var(--secondary-color);
    font-size: 1.2rem;
}

.detail-row.total .detail-label,
.detail-row.total .detail-value {
    font-weight: 700;
    color: var(--secondary-color);
}

.btn-new-booking {
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--secondary-color) 50%, var(--gold-dark) 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-new-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gold-light) 50%, var(--secondary-color) 100%);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: var(--white);
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-width: 400px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease-out;
    border: 1px solid;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    background: linear-gradient(135deg, #166534 0%, #15803d 100%);
    border-color: var(--success-color);
}

.notification-error {
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
    border-color: var(--error-color);
}

.notification-info {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-color: var(--info-color);
}

/* Loading state for button */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Room Preview */
.room-preview {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    align-items: center;
    box-shadow: var(--shadow);
}

.room-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.room-preview-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.room-preview-details p {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.5;
}

.room-preview-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.room-preview-price .per-night {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Availability Calendar */
.calendar-section {
    margin: 20px 0;
    position: relative;
}

.calendar-toggle {
    width: 100%;
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.2s;
    font-family: inherit;
}

.calendar-toggle:hover {
    border-color: var(--primary-color);
    background: rgba(26, 29, 77, 0.02);
}

.calendar-toggle .toggle-icon {
    transition: transform 0.2s;
    color: var(--secondary-color);
}

.calendar-toggle.open .toggle-icon {
    transform: rotate(180deg);
}

.availability-calendar {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-md);
    margin-top: 8px;
    position: absolute;
    z-index: 100;
    width: 100%;
    max-width: 420px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.calendar-header h4 {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.calendar-nav {
    display: flex;
    gap: 10px;
}

.calendar-nav button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.calendar-nav button:hover {
    background: var(--navy-dark);
    transform: none;
}

.calendar-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

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

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 6px 0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    color: var(--text-color);
    background: white;
    position: relative;
    min-height: 36px;
}

.calendar-day:hover:not(.disabled):not(.booked) {
    border-color: var(--primary-color);
    background: rgba(26, 29, 77, 0.05);
    transform: none;
}

.calendar-day.empty {
    border: none;
    cursor: default;
}

.calendar-day.disabled {
    color: var(--text-muted);
    background: var(--dark-bg);
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-day.booked {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #ef4444;
    color: #991b1b;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day.selected-checkin,
.calendar-day.selected-checkout {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border-color: var(--primary-color);
}

.calendar-day.in-range {
    background: rgba(26, 29, 77, 0.1);
    border-color: var(--primary-color);
}

.calendar-legend {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-color);
}

.legend-box {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid var(--border-color);
}

.legend-box.available {
    background: white;
}

.legend-box.booked {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #ef4444;
}

.legend-box.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Utility Classes */
.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    .suite-showcase {
        grid-template-columns: 1fr;
    }

    .suite-image .image-placeholder {
        height: 300px;
        font-size: 6rem;
    }

    .room-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

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

    .suite-showcase,
    .booking-section,
    .confirmation-section {
        padding: 25px;
    }

    .price {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .confirmation-section {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 40px 20px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .suite-details h2,
    .booking-section h2 {
        font-size: 1.5rem;
    }

    .suite-image .image-placeholder {
        height: 250px;
        font-size: 4rem;
    }

    .confirmation-section h2 {
        font-size: 1.8rem;
    }
}
