/* ============================================================
 * GHD Hotel — Clean Light Theme
 * ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    /* Clean Light Colors */
    --gdh-primary: #e67e22;
    /* Orange - warm & inviting */
    --gdh-primary-hover: #d35400;
    --gdh-primary-light: #f39c12;
    --gdh-secondary: #27ae60;
    /* Green */
    
    /* Clean Light Palette */
    --gdh-bg: #f8f9fa;
    --gdh-bg-white: #ffffff;
    --gdh-bg-light: #fefefe;
    --gdh-border: #e9ecef;
    --gdh-border-dark: #dee2e6;
    
    --gdh-text: #2c3e50;
    --gdh-text-dark: #1a252f;
    --gdh-text-muted: #7f8c8d;
    --gdh-text-light: #95a5a6;
    
    /* Shadows */
    --gdh-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --gdh-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --gdh-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    /* Radius */
    --gdh-radius: 10px;
    --gdh-radius-sm: 6px;
    --gdh-radius-lg: 16px;
    
    /* Transitions */
    --gdh-transition: all 0.3s ease;
    
    /* Font */
    --gdh-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Base ──────────────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--gdh-font);
    background-color: var(--gdh-bg);
    color: var(--gdh-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gdh-text-dark);
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--gdh-primary);
    text-decoration: none;
    transition: var(--gdh-transition);
}

a:hover {
    color: var(--gdh-primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Navbar ────────────────────────────────────────────────── */
.navbar-custom {
    background: var(--gdh-bg-white) !important;
    box-shadow: var(--gdh-shadow-sm);
    padding: 12px 0;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gdh-primary) !important;
}

.navbar-custom .nav-link {
    color: var(--gdh-text) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--gdh-radius-sm);
    transition: var(--gdh-transition);
}

.navbar-custom .nav-link:hover {
    color: var(--gdh-primary) !important;
    background: #fff5e6;
}

.btn-book-now {
    background: var(--gdh-primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: var(--gdh-radius-sm);
    font-weight: 600;
}

.btn-book-now:hover {
    background: var(--gdh-primary-hover);
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #fff5e6 0%, #fff 50%, #fef9f0 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gdh-text-dark);
    margin-bottom: 15px;
}

.hero-title span {
    color: var(--gdh-primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gdh-text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

/* ── Search Bar ────────────────────────────────────────────── */
.search-box {
    background: var(--gdh-bg-white);
    border-radius: var(--gdh-radius-lg);
    box-shadow: var(--gdh-shadow);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-box .form-control,
.search-box .form-select {
    border: 1px solid var(--gdh-border);
    border-radius: var(--gdh-radius-sm);
    padding: 12px 15px;
    font-size: 0.95rem;
    background: var(--gdh-bg-light);
}

.search-box .form-control:focus,
.search-box .form-select:focus {
    border-color: var(--gdh-primary);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.search-box .btn-search {
    background: var(--gdh-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: var(--gdh-radius-sm);
    font-weight: 600;
    transition: var(--gdh-transition);
}

.search-box .btn-search:hover {
    background: var(--gdh-primary-hover);
    transform: translateY(-2px);
}

/* ── Section Styles ────────────────────────────────────────── */
.section-padding {
    padding: 70px 0;
}

.section-header {
    text-center: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--gdh-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ── Room Cards ────────────────────────────────────────────── */
.room-card {
    background: var(--gdh-bg-white);
    border: 1px solid var(--gdh-border);
    border-radius: var(--gdh-radius-lg);
    overflow: hidden;
    transition: var(--gdh-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    box-shadow: var(--gdh-shadow-lg);
    transform: translateY(-8px);
    border-color: var(--gdh-primary-light);
}

.room-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.room-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-card-img img {
    transform: scale(1.1);
}

.room-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--gdh-text-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--gdh-shadow-sm);
}

.room-card-price {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--gdh-primary);
    color: white;
    padding: 6px 14px;
    border-radius: var(--gdh-radius-sm);
    font-size: 1.1rem;
    font-weight: 700;
}

.room-card-price small {
    font-weight: 400;
    opacity: 0.9;
}

.room-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.room-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gdh-text-dark);
    margin-bottom: 8px;
}

.room-card-desc {
    color: var(--gdh-text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex: 1;
}

/* Amenities Tags */
.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.amenity-tag {
    background: #f8f9fa;
    color: var(--gdh-text);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.amenity-tag i {
    color: var(--gdh-secondary);
    font-size: 0.7rem;
}

.amenity-tag.more {
    background: #fff5e6;
    color: var(--gdh-primary);
    cursor: pointer;
    transition: var(--gdh-transition);
}

.amenity-tag.more:hover {
    background: var(--gdh-primary);
    color: white;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    border-radius: var(--gdh-radius-sm);
    font-weight: 600;
    padding: 10px 20px;
    transition: var(--gdh-transition);
}

.btn-primary {
    background: var(--gdh-primary);
    border-color: var(--gdh-primary);
}

.btn-primary:hover {
    background: var(--gdh-primary-hover);
    border-color: var(--gdh-primary-hover);
    color: white;
}

.btn-outline-primary {
    color: var(--gdh-primary);
    border-color: var(--gdh-primary);
}

.btn-outline-primary:hover {
    background: var(--gdh-primary);
    border-color: var(--gdh-primary);
    color: white;
}

/* ── Page Header ───────────────────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, #fff5e6 0%, #fff 100%);
    padding: 100px 0 40px;
    text-align: center;
}

.page-header h1 {
    color: var(--gdh-text-dark);
    font-size: 2.2rem;
}

.breadcrumb {
    justify-content: center;
    margin-top: 15px;
}

.breadcrumb-item a {
    color: var(--gdh-text-muted);
}

.breadcrumb-item.active {
    color: var(--gdh-primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--gdh-text-light);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer-main {
    background: #1a252f;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer-main h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-main a {
    color: #bdc3c7;
    transition: var(--gdh-transition);
}

.footer-main a:hover {
    color: var(--gdh-primary-light);
}

.footer-bottom {
    border-top: 1px solid #2c3e50;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    color: #7f8c8d;
    margin: 0;
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-control,
.form-select {
    border: 1px solid var(--gdh-border);
    border-radius: var(--gdh-radius-sm);
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: var(--gdh-transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gdh-primary);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--gdh-text-dark);
    margin-bottom: 8px;
}

.input-group-text {
    background: #f8f9fa;
    border: 1px solid var(--gdh-border);
    color: var(--gdh-primary);
}

/* ── Room Detail ───────────────────────────────────────────── */
.room-gallery .carousel-inner {
    border-radius: var(--gdh-radius-lg);
    overflow: hidden;
}

.room-gallery .carousel-item img {
    height: 450px;
    object-fit: cover;
    width: 100%;
}

.room-gallery .carousel-indicators {
    position: absolute;
    bottom: 15px;
    margin: 0;
}

.room-gallery .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    opacity: 0.7;
}

.room-gallery .carousel-indicators button.active {
    background: white;
    opacity: 1;
}

/* Booking Widget */
.booking-widget {
    background: var(--gdh-bg-white);
    border-radius: var(--gdh-radius-lg);
    padding: 25px;
    box-shadow: var(--gdh-shadow);
    position: sticky;
    top: 20px;
}

.booking-widget .price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gdh-primary);
}

.booking-widget .price-unit {
    color: var(--gdh-text-muted);
}

.booking-widget hr {
    border-color: var(--gdh-border);
    margin: 20px 0;
}

/* ── Feature Boxes ─────────────────────────────────────────── */
.feature-box {
    background: var(--gdh-bg-white);
    border: 1px solid var(--gdh-border);
    border-radius: var(--gdh-radius);
    padding: 25px;
    text-align: center;
    transition: var(--gdh-transition);
    height: 100%;
}

.feature-box:hover {
    border-color: var(--gdh-primary-light);
    transform: translateY(-5px);
    box-shadow: var(--gdh-shadow);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--gdh-primary);
    margin-bottom: 15px;
}

.feature-box h6 {
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-box small {
    color: var(--gdh-text-muted);
}

/* ── About Section ─────────────────────────────────────────── */
.about-img {
    border-radius: var(--gdh-radius-lg);
    box-shadow: var(--gdh-shadow-lg);
    object-fit: cover;
    height: 400px;
    width: 100%;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.about-feature i {
    width: 50px;
    height: 50px;
    background: #fff5e6;
    color: var(--gdh-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.about-feature h6 {
    font-weight: 600;
    margin-bottom: 5px;
}

.about-feature p {
    color: var(--gdh-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ── Confirmation Page ─────────────────────────────────────── */
.confirmation-icon {
    width: 100px;
    height: 100px;
    background: #e8f8f5;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gdh-secondary);
    margin-bottom: 20px;
}

.ref-badge {
    background: #f8f9fa;
    border: 2px dashed var(--gdh-border-dark);
    border-radius: var(--gdh-radius);
    padding: 20px 30px;
    display: inline-block;
    margin-top: 20px;
}

.ref-badge span {
    display: block;
    font-size: 0.8rem;
    color: var(--gdh-text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.ref-badge strong {
    font-size: 1.5rem;
    color: var(--gdh-primary);
}

/* ── Login/Register Pages ─────────────────────────────────── */
.auth-card {
    background: var(--gdh-bg-white);
    border-radius: var(--gdh-radius-lg);
    box-shadow: var(--gdh-shadow);
    max-width: 450px;
    margin: 0 auto;
}

.auth-icon {
    width: 70px;
    height: 70px;
    background: #fff5e6;
    color: var(--gdh-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

/* ── Admin Panel ───────────────────────────────────────────── */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: #1a252f;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1040;
    overflow-y: auto;
}

.admin-sidebar .sidebar-brand {
    padding: 20px;
    border-bottom: 1px solid #2c3e50;
    margin-bottom: 10px;
}

.admin-sidebar .sidebar-brand a {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.admin-sidebar .sidebar-nav {
    padding: 10px;
}

.admin-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #bdc3c7;
    padding: 12px 15px;
    border-radius: var(--gdh-radius-sm);
    transition: var(--gdh-transition);
    margin-bottom: 5px;
    text-decoration: none;
}

.admin-sidebar .sidebar-link:hover {
    background: #2c3e50;
    color: white;
}

.admin-sidebar .sidebar-link.active {
    background: var(--gdh-primary);
    color: white;
}

.admin-sidebar .sidebar-link.text-danger:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #ff6b6b !important;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    background: #f8f9fa;
    min-height: 100vh;
}

.admin-topbar {
    background: white;
    border-bottom: 1px solid var(--gdh-border);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.admin-content {
    padding: 25px;
}

.admin-card {
    background: white;
    border: 1px solid var(--gdh-border);
    border-radius: var(--gdh-radius);
    overflow: hidden;
    margin-bottom: 25px;
}

.admin-card-header {
    background: white;
    border-bottom: 1px solid var(--gdh-border);
    padding: 15px 20px;
}

.admin-card-body {
    padding: 20px;
}

.stat-card {
    background: white;
    border: 1px solid var(--gdh-border);
    border-radius: var(--gdh-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.stat-card .stat-info {
    flex: 1;
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gdh-text-dark);
    line-height: 1.2;
}

.stat-card .stat-title {
    color: var(--gdh-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Stat Colors */
.bg-primary-soft { background: linear-gradient(135deg, var(--gdh-primary) 0%, var(--gdh-primary-hover) 100%); }
.bg-success-soft { background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%); }
.bg-info-soft { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); }
.bg-warning-soft { background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%); }

/* ── Tables ───────────────────────────────────────────────── */
.table {
    color: var(--gdh-text);
}

.table thead th {
    background: #f8f9fa;
    color: var(--gdh-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 15px;
    border-bottom: 1px solid var(--gdh-border);
}

.table tbody td {
    padding: 15px;
    border-bottom: 1px solid var(--gdh-border);
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background: #f8f9fa;
}

/* ── Badges ───────────────────────────────────────────────── */
.badge {
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
}

/* ── Modal ────────────────────────────────────────────────── */
.modal-header {
    background: var(--gdh-primary);
    color: white;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 25px;
}

.amenity-modal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--gdh-border);
}

.amenity-modal-item:last-child {
    border-bottom: none;
}

.amenity-modal-item i {
    width: 35px;
    height: 35px;
    background: #fff5e6;
    color: var(--gdh-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Gallery Modal ────────────────────────────────────────── */
.gallery-modal .carousel-item img {
    height: 500px;
    object-fit: cover;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 80px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box > div {
        width: 100%;
    }
    
    .search-box .btn-search {
        width: 100%;
    }
    
    .room-gallery .carousel-item img {
        height: 300px;
    }
    
    .about-img {
        height: 300px;
        margin-bottom: 30px;
    }
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.5s ease-out;
}

/* ── Utilities ─────────────────────────────────────────────── */
.text-primary { color: var(--gdh-primary) !important; }
.text-muted { color: var(--gdh-text-muted) !important; }

.bg-light { background-color: #f8f9fa !important; }
.bg-white { background-color: white !important; }

.shadow-sm { box-shadow: var(--gdh-shadow-sm) !important; }
.shadow { box-shadow: var(--gdh-shadow) !important; }
.shadow-lg { box-shadow: var(--gdh-shadow-lg) !important; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gdh-primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gdh-primary);
}
.admin-body { background-color: #f8f9fa !important; color: #2c3e50 !important; }
.admin-body { background-color: #f8f9fa !important; color: #2c3e50 !important; }
.admin-main { flex: 1; margin-left: 260px; background-color: #f8f9fa !important; min-height: 100vh; }

/* ── Click-to-Call & WhatsApp CTA Buttons ─────────────────── */
.cta-call-btn {
    background: var(--gdh-primary) !important;
    color: white !important;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
    transition: var(--gdh-transition);
    border: none;
}

.cta-call-btn:hover {
    background: var(--gdh-primary-hover) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

.cta-whatsapp-btn {
    background: #25D366 !important;
    color: white !important;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--gdh-transition);
    border: none;
}

.cta-whatsapp-btn:hover {
    background: #1da851 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ── Floating WhatsApp Widget ─────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white !important;
    padding: 14px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    text-decoration: none !important;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float i {
    font-size: 1.6rem;
    line-height: 1;
}

.whatsapp-float-label {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
}

/* WhatsApp widget responsive */
@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        padding: 12px 16px;
    }
    .whatsapp-float-label {
        display: none;
    }
    .cta-call-btn,
    .cta-whatsapp-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
}

