/* Main Design */
:root {
    --premium-black: #111111;
    --luxury-gold: #c5a059;
    --soft-gray: #f8f8f8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #1a1a1a;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
nav {
    background-color: #000000 !important;
    padding: 1.2rem 2rem;
    border-bottom: 3px solid #333333;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.navbar-brand {
    color: #ffffff !important;
    letter-spacing: 2px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-links-group {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ccc !important;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.register-btn {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0;
    background: none;
    border: none;
}

.register-btn:hover {
    color: #ccc !important;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-main-links {
    display: flex;
    gap: 25px;
    margin-left: 40px;
}

/* Sections & Layout */
section {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0;
    width: 100%;
}

.flash-message {
    border: 1px solid #000;
    padding: 20px;
    background: #fff;
    margin: 0 20px 20px;
    border-radius: 0;
    box-shadow: 5px 5px 0px #000;
}

/* UI Elements */
button, .btn, .action-btn {
    background-color: #000000;
    color: #ffffff !important;
    padding: 10px 20px;
    border: 1px solid #000000;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

button:hover, .btn:hover, .action-btn:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

input, select, textarea {
    padding: 12px;
    border: 1px solid #d0d0d0;
    width: 100%;
    margin-bottom: 1rem;
    background-color: #ffffff;
}

footer {
    text-align: center;
    padding: 4rem 2rem;
    background: #000000;
    color: #666666;
    width: 100%;
    margin-top: auto; 
}

footer a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 600;
}

footer a:hover {
    color: #a0a0a0;
}

/* Homepage Hero Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-bottom: 2px solid #000;
}
.slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) brightness(0.5);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
    pointer-events: none;
}
.hero-box {
    background: transparent; 
    padding: 50px 70px;
    border: none;
    text-align: center;
    pointer-events: auto;
    max-width: 90%;
}

.hero-box h1 {
    font-size: 3.5rem; 
    letter-spacing: 10px; 
    text-transform: uppercase; 
    margin: 0; 
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero-box p {
    letter-spacing: 4px; 
    color: #ffffff;
    text-transform: uppercase; 
    margin: 15px 0 30px;
    opacity: 0.9;
    font-weight: 600;
}

/* Home Section Styles */
.lux-section {
    padding: 80px 0;
    overflow: hidden;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.header-tag {
    color: #888;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 10px;
}

.header-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--premium-black);
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 5%;
}

.dest-card {
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    position: relative;
    cursor: pointer;
    transition: all 0.5s ease;
}

.dest-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s ease;
}

.dest-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: #fff;
}

.dest-card:hover img { transform: scale(1.1); }
.dest-card:hover { transform: translateY(-8px); }

.dest-name { font-size: 1.6rem; font-weight: 800; margin: 0; }
.dest-meta { font-size: 0.75rem; opacity: 0.8; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 10%;
}

.service-box {
    text-align: center;
    padding: 35px;
    background: var(--soft-gray);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.service-icon {
    width: 50px; height: 50px;
    background: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.service-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 12px; }

.testi-section {
    background: #000;
    padding: 100px 0;
    color: #fff;
}

.testi-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testi-quote {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 30px;
    opacity: 0.9;
}

.testi-author {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    font-weight: 800;
}

/* Booking */
.search-section {
    margin-bottom: 50px;
}
.search-container {
    display: flex;
    background: #fff;
    border-radius: 100px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    padding: 8px 12px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
    height: 80px;
}
.search-group {
    display: flex;
    align-items: center;
    padding: 0 25px;
    flex: 1;
    border-right: 1px solid #eee;
    height: 60%;
}
.search-group:last-of-type {
    border-right: none;
}
.search-group input, .search-group select {
    border: none;
    outline: none;
    padding: 5px 10px;
    width: 100%;
    font-size: 0.95rem;
    color: #333;
    background: transparent;
    font-weight: 500;
}
.search-group input::placeholder {
    color: #999;
}
.search-btn {
    background: #000;
    color: #fff;
    border: none;
    height: 60px;
    padding: 0 40px;
    border-radius: 100px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    flex-shrink: 0;
}
.search-btn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.currency-selector-box {
    background: #fff;
    padding: 15px 25px;
    border-radius: 100px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.currency-selector-box select {
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    color: #000;
    background: transparent;
    appearance: none;
}
.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.hotel-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.card-img-container {
    height: 200px;
    position: relative;
}
.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
    z-index: 10;
    padding: 0;
}
.favorite-btn:hover {
    transform: scale(1.1);
}
.card-content {
    padding: 20px;
}
.hotel-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 5px;
}
.hotel-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #555;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.price-summary {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
}
.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
}
.price-label {
    color: #888;
}
.price-value {
    font-weight: 700;
}
.view-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #000;
    color: #000;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 8px;
    margin-top: 15px;
    transition: all 0.2s;
}
.view-btn:hover {
    background: #000;
    color: #fff;
}

/* Admin Panel Styles */
.admin-main-container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #ffffff;
}

table th {
    background-color: #f0f0f0;
    color: #000000;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

table td {
    padding: 15px;
    border: 1px solid #e0e0e0;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .profile-container { padding: 1.5rem !important; }
    .booking-table thead { display: none; }
    .booking-table, .booking-table tbody, .booking-table tr, .booking-table td {
        display: block;
        width: 100%;
    }
    .booking-table tr {
        border-bottom: 2px solid #eee;
        padding: 15px 10px;
    }
    .booking-table td {
        padding: 5px 0 !important;
        border: none !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .booking-table td::before {
        content: attr(data-label);
        font-size: 0.7rem;
        text-transform: uppercase;
        color: #888;
        font-weight: 700;
    }

    .admin-box {
        padding: 15px !important;
    }
    .admin-table, .admin-table tbody, .admin-table tr, .admin-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    .admin-table td {
        padding: 5px 0 !important;
    }
    .admin-table td:first-child {
        margin-top: 15px;
        font-size: 0.7rem !important;
    }
}

/* Modals & Overlays */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #000;
    width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

@media (max-width: 600px) {
    .modal-content {
        width: 90% !important;
        margin: 20% auto !important;
    }
}

/* Utility Classes */
.btn-outline {
    display: block;
    width: 100%;
    padding: 12px;
    font-weight: 700;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #f5f5f5;
}

/* Print Handling */
@media print {
    body * { visibility: hidden; }
    #printableReceipt, #printableReceipt * { visibility: visible; }
    #printableReceipt {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: none !important; 
    }
    .no-print { display: none !important; }
}

/* Responsiveness */
@media (max-width: 992px) {
    .dest-grid, .service-grid { grid-template-columns: 1fr; }
    .hero-box h1 { font-size: 2.2rem; letter-spacing: 4px; }
    .slider-container { height: 350px; }
}

@media (min-width: 768px) {
    .border-md-end { border-right: 1px solid #eee !important; }
}

/* Google Button & Separator */
.btn-google {
    background-color: #ffffff !important;
    color: #1f1f1f !important;
    border: 1px solid #dadce0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    border-radius: 8px;
}
.btn-google:hover {
    background-color: #f8f9fa !important;
    box-shadow: 0 1px 3px rgba(60,64,67,.3);
    color: #000 !important;
    transform: translateY(-1px);
}
.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #999;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 25px 0;
}
.auth-separator::before, .auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}
.auth-separator::before { margin-right: 15px; }
.auth-separator::after { margin-left: 15px; }


.booking-hero { padding: 40px 0; }
.booking-hero-content { text-align: left; margin-bottom: 40px; max-width: 1000px; margin-left: auto; margin-right: auto; }
.booking-hero-title { font-size: 3rem; font-weight: 900; margin-bottom: 10px; letter-spacing: -1px; color: #000; }
.booking-hero-subtitle { color: #666; font-size: 1.2rem; font-weight: 500; }

.b-search-container {
    display: flex;
    background: #fff;
    border-radius: 100px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    padding: 8px 12px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
    height: 80px;
    margin-bottom: 50px;
}
.b-search-group {
    display: flex;
    align-items: center;
    padding: 0 25px;
    flex: 1;
    border-right: 1px solid #eee;
    height: 60%;
}
.b-search-group:last-of-type {
    border-right: none;
}
.b-search-group input, .b-search-group select {
    border: none;
    outline: none;
    padding: 0 0 0 12px;
    width: 100%;
    font-size: 0.95rem;
    color: #333;
    background: transparent;
    font-weight: 500;
    margin: 0;
    align-self: center;
}
.b-search-group svg {
    flex-shrink: 0;
    margin-top: -1px;
}
.b-search-group input::placeholder {
    color: #999;
}
.b-search-btn {
    background: #000;
    color: #fff;
    border: none;
    height: 60px;
    padding: 0 40px;
    border-radius: 100px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    flex-shrink: 0;
}
.b-search-btn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
    .b-search-container {
        flex-direction: column;
        height: auto;
        border-radius: 20px;
        padding: 20px;
        gap: 15px;
    }
    .b-search-group {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 10px 0;
        height: auto;
    }
    .b-search-group:last-of-type {
        border-bottom: none;
    }
    .b-search-btn {
        width: 100%;
        height: 50px;
    }
}


.admin-card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
    border-top: 4px solid #000;
}
.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #000;
}
.icon-box {
    height: 60px;
    width: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.admin-dashboard-hero { text-align: center; padding: 60px 15px; background: linear-gradient(to bottom, #f8f9fa, #fff); }
.admin-dashboard-title { font-size: 3rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; }
.admin-dashboard-subtitle { font-size: 0.9rem; color: #666; text-transform: uppercase; letter-spacing: 3px; font-weight: 600; }
.admin-dashboard-cards { padding: 20px 20px 60px; max-width: 1100px; margin: 0 auto; }


.edit-booking-container { max-width: 600px; margin: 40px auto; padding: 0 20px; }
.edit-booking-header { border-bottom: 2px solid #000; padding-bottom: 15px; margin-bottom: 30px; }
.edit-booking-title { letter-spacing: -1px; margin-bottom: 5px; }
.edit-booking-subtitle { color: #666; font-size: 0.9rem; }
.edit-booking-form { background: #fff; padding: 30px; border: 1px solid #ddd; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.edit-booking-label { display: block; font-weight: 700; font-size: 0.8rem; margin-bottom: 5px; text-transform: uppercase; }
.edit-booking-input { width: 100%; padding: 10px; border: 1px solid #ccc; }
.edit-booking-input-disabled { background: #eee; }
.edit-booking-note { background: #e8f5e9; padding: 15px; border-radius: 4px; margin-bottom: 20px; }
.edit-booking-note-text { font-size: 0.8rem; color: #2e7d32; margin: 0; }
.edit-booking-actions { display: flex; gap: 10px; }
.edit-booking-submit { flex: 1; background: #000; color: #fff !important; padding: 15px; font-weight: bold; border: none; cursor: pointer; }
.edit-booking-cancel { flex: 0 0 100px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: #000 !important; border: 1px solid #ccc; font-weight: bold; font-size: 0.8rem; }
.termination-section { margin-top: 50px; border-top: 1px solid #000; padding-top: 30px; }
.termination-title { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #000; margin-bottom: 10px; }
.termination-text { font-size: 0.75rem; color: #666; margin-bottom: 20px; line-height: 1.5; }
.termination-btn { background: #000; color: #fff !important; border: 1px solid #000; padding: 12px 0; font-weight: 800; font-size: 0.75rem; letter-spacing: 1px; cursor: pointer; width: 100%; text-transform: uppercase; transition: all 0.3s ease; }


.currency-input { width: 100px; }

.admin-message-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}
.admin-message-fab:hover {
    transform: scale(1.1);
    color: #fff;
}
.admin-message-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background: #ff4757;
    border-radius: 50%;
    border: 2px solid #fff;
}
