
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #263445;
    background: #f7f9fc;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.main-header {
    background: #002325;
    color: white;
    padding: 5px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}


.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a:hover {
    color: #f2bd69;
}

.nav-button,
.btn-primary {
    background: #e9a94e;
    color: #102b46 !important;
    padding: 11px 22px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.hero {
    min-height: 470px;
    background:
        linear-gradient(
            rgba(8, 30, 50, .68),
            rgba(8, 30, 50, .68)
        ),
        url('../images/lodge-banner.jpg')
        center/cover no-repeat;

    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content {
    width: 100%;
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.search-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 15px;
    max-width: 1000px;
    margin: auto;
    text-align: left;
}

.form-group label {
    display: block;
    color: #263445;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #dce2e9;
    border-radius: 5px;
    font-size: 14px;
    background: white;
}

.section {
    padding: 65px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-size: 30px;
    color: #102b46;
}

.section-title p {
    color: #718096;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.room-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,.07);
}

.room-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.room-info {
    padding: 20px;
}

.room-info h3 {
    color: #102b46;
    margin-bottom: 8px;
}

.room-price {
    font-size: 21px;
    font-weight: bold;
    color: #c58a32;
    margin: 15px 0;
}

.btn-secondary {
    background: #102b46;
    color: white;
    padding: 10px 18px;
    border-radius: 5px;
    display: inline-block;
}

.main-footer {
    background: #002325;
    color: white;
    padding: 45px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 35px;
    padding-bottom: 30px;
}

.footer-content h3,
.footer-content h4 {
    margin-bottom: 15px;
}

.footer-content a {
    display: block;
    margin-bottom: 8px;
    color: #d3deea;
}

.copyright {
    border-top: 1px solid #34506a;
    padding: 15px;
    text-align: center;
    font-size: 13px;
}

.alert {
    padding: 12px 18px;
    margin: 15px 0;
    border-radius: 5px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

@media(max-width: 900px) {
    .search-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .room-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .header-content {
        flex-direction: column;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        font-size: 13px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .room-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 0;
    }
}




/* Room search */

.room-search {
    margin-bottom: 35px;
    grid-template-columns: repeat(4, 1fr) auto;
}

.availability-summary {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.availability-summary h3 {
    color: #102b46;
    margin-bottom: 8px;
}

.available-text {
    color: #15803d;
    font-weight: bold;
    margin-top: 12px;
}

.no-rooms {
    grid-column: 1 / -1;
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
}


/* Room details */

.room-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
    align-items: start;
}

.room-detail-content h1 {
    color: #102b46;
    margin-bottom: 15px;
}

.room-main-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 10px;
    margin: 25px 0;
}

.room-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.room-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 7px;
}

.room-detail-content h2 {
    margin: 25px 0 15px;
    color: #102b46;
}

.facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.facility-item {
    background: white;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #e0e6ed;
}

.room-specifications {
    background: white;
    padding: 20px;
    margin-top: 25px;
    border-radius: 8px;
}

.booking-sidebar {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    position: sticky;
    top: 20px;
}

.booking-sidebar h2 {
    color: #102b46;
    margin-bottom: 15px;
}

.booking-sidebar .form-group {
    margin-top: 18px;
}

.book-button {
    width: 100%;
    margin-top: 20px;
}


/* Login and registration */

.auth-card {
    max-width: 480px;
    margin: 20px auto;
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,.08);
}

.auth-card h2 {
    text-align: center;
    color: #102b46;
    margin-bottom: 8px;
}

.auth-card > p {
    text-align: center;
    color: #718096;
    margin-bottom: 25px;
}

.auth-card .form-group {
    margin-bottom: 18px;
}

.auth-link {
    margin-top: 25px;
    text-align: center;
}

.auth-link a {
    color: #c58a32;
    font-weight: bold;
}


/* Responsive */

@media(max-width: 768px) {

    .room-detail-layout {
        grid-template-columns: 1fr;
    }

    .booking-sidebar {
        position: static;
    }

    .room-search {
        grid-template-columns: 1fr;
    }

    .room-main-image {
        height: 280px;
    }

    .room-gallery img {
        height: 90px;
    }

    .auth-card {
        padding: 25px 18px;
    }

}






/* Booking date summary */

.booking-date-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: white;
    padding: 22px;
    border-radius: 10px;
    margin-bottom: 30px;
    gap: 15px;
}

.booking-date-summary strong {
    color: #102b46;
}

.booking-date-summary p {
    color: #718096;
}


/* Booking categories */

.booking-section-title {
    color: #102b46;
    margin: 30px 0 20px;
}

.booking-category-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.booking-category-card {
    background: white;
    border-radius: 10px;
    padding: 18px;
    display: grid;
    grid-template-columns: 150px 1fr 180px;
    gap: 20px;
    align-items: center;
    box-shadow: 0 3px 12px rgba(0,0,0,.05);
}

.booking-category-card img {
    width: 150px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.booking-category-info h3 {
    color: #102b46;
    margin-bottom: 8px;
}

.booking-category-info strong {
    color: #bd812c;
}

.quantity-selector label {
    display: block;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 8px;
}


/* Customer details */

.booking-customer-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.customer-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}


/* Payment options */

.payment-option {
    display: flex;
    gap: 15px;
    align-items: center;
    border: 1px solid #dce2e9;
    padding: 18px;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
}

.payment-option input {
    width: 18px;
    height: 18px;
}

.payment-option span {
    display: flex;
    flex-direction: column;
}

.payment-option small {
    color: #718096;
}


/* Booking total */

.booking-total {
    background: #102b46;
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.booking-total h2 {
    color: #f2bd69;
    margin: 5px 0;
}

.booking-total button:disabled {
    opacity: .5;
    cursor: not-allowed;
}


/* Confirmation */

.confirmation-card {
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    text-align: center;
}

.confirmation-card h1 {
    color: #102b46;
    margin: 15px 0;
}

.confirmation-icon {
    width: 65px;
    height: 65px;
    margin: auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 35px;
    font-weight: bold;
}

.success-icon {
    background: #dcfce7;
    color: #15803d;
}

.pending-icon {
    background: #fef3c7;
    color: #b45309;
}

.booking-reference {
    background: #f1f5f9;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
}

.booking-reference h2 {
    color: #bd812c;
    margin-top: 8px;
}

.confirmation-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
    text-align: left;
}

.confirmation-details strong {
    color: #102b46;
}

.confirmation-details p {
    color: #718096;
}

.booking-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
}

.booking-table th,
.booking-table td {
    padding: 13px;
    border-bottom: 1px solid #e5eaf0;
    text-align: left;
}

.booking-table th {
    background: #f1f5f9;
    color: #102b46;
}

.confirmation-total {
    max-width: 420px;
    margin: 25px 0 25px auto;
    text-align: left;
}

.confirmation-total div {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e5eaf0;
}

.grand-total {
    color: #bd812c;
    font-size: 20px;
}

.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.status-label {
    font-weight: bold;
    color: #102b46;
}

.booking-history-table {
    overflow-x: auto;
}


/* Mobile */

@media(max-width: 768px) {

    .booking-date-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-category-card {
        grid-template-columns: 100px 1fr;
    }

    .booking-category-card img {
        width: 100px;
        height: 100px;
    }

    .quantity-selector {
        grid-column: 1 / -1;
    }

    .customer-form-grid {
        grid-template-columns: 1fr;
    }

    .booking-total {
        flex-direction: column;
        align-items: stretch;
    }

    .confirmation-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .confirmation-card {
        padding: 20px 12px;
    }

    .booking-table {
        min-width: 650px;
    }

}




/* Welcome Hero Section */

.hero {
    position: relative;
    min-height: 550px;

    background:
        linear-gradient(
            rgba(10, 25, 45, 0.60),
            rgba(10, 25, 45, 0.70)
        ),
        url('../images/lodge-background.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;

    padding: 80px 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero h1 {
    color: #ffffff;
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.hero p {
    color: #f1f5f9;
    font-size: 19px;
    text-align: center;
    margin-bottom: 35px;
}

/* Room Search Box */

.search-box {
    background: rgba(255, 255, 255, 0.96);
    padding: 25px;
    border-radius: 12px;

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 18px;

    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
}

.search-box label {
    color: #243447;
    font-weight: 600;
}

.search-box .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #dce2e8;
    border-radius: 7px;
}

.search-box .btn-primary {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 7px;
    background: #0d6efd;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.search-box .btn-primary:hover {
    background: #084db5;
}

/* Responsive */

@media(max-width: 900px) {
    .search-box {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 576px) {
    .hero {
        min-height: auto;
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .search-box {
        grid-template-columns: 1fr;
        padding: 18px;
    }
}



.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 25px;

    font-size: 14px;
}

.copyright-left {
    text-align: left;
	font-style: italic;
}

.copyright-right {
    text-align: right;
	font-style: italic;
}

.copyright-right a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.copyright-right a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .copyright {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }

    .copyright-left,
    .copyright-right {
        text-align: center;
    }
}


.room-photo-gallery {
    width: 100%;
    margin-bottom: 30px;
}

.main-room-photo {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f5f9;
}

.main-room-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.no-room-photo {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.room-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.room-thumbnail {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}

.room-thumbnail:hover,
.room-thumbnail.selected {
    border-color: #0f766e;
}

@media (max-width: 600px) {
    .main-room-photo {
        height: 260px;
    }

    .room-thumbnail {
        width: 80px;
        height: 65px;
    }
}


.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 100px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

@media (max-width: 600px) {
    .logo img {
        height: 48px;
        max-width: 190px;
    }
}