﻿/* ==========================================================================
    GLOBAL BRANDING & DESIGN SYSTEM (UPDATED)
    ==========================================================================
    This file centralizes branding variables and core UI tokens.
    It ensures consistency across Public, Admin, and Customer portals.
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors (Dynamic placeholders, overridden by Layout styles) */
    --hotel-primary: #E23428;
    --hotel-secondary: #135846;
    --hotel-accent: #f5a623;
    /* Neutral Palette */
    --hotel-bg: #f8f9fa;
    --hotel-card-bg: #ffffff;
    --hotel-text-main: #1a1a1a;
    --hotel-text-muted: #6c757d;
    --hotel-border: #e9ecef;
    /* Feedback Colors */
    --hotel-success: #2e7d32;
    --hotel-danger: #c62828;
    --hotel-info: #0288d1;
    --hotel-warning: #ed6c02;
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
}

/* Global Reset & Base Styles */
body {
    font-family: var(--font-main);
    color: var(--hotel-text-main);
    background-color: var(--hotel-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Premium Component Classes */
.hotel-card {
    background: var(--hotel-card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--hotel-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

    .hotel-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }

.hotel-btn-primary {
    background-color: var(--hotel-primary);
    color: white;
    border-radius: var(--radius-sm);
    padding: 10px 24px;
    font-weight: 600;
    border: none;
    transition: var(--transition-fast);
}

    .hotel-btn-primary:hover {
        background-color: var(--hotel-secondary);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

/* ─── LANDING PAGE UI BUTTON OVERRIDES ─── */

/* Header Book Now Button */
.bd-book-btn {
    background-color: var(--hotel-primary) !important;
}

    .bd-book-btn:hover {
        background-color: var(--hotel-secondary) !important;
    }

/* Base Bootstrap Primary Button Class mapping */
.btn-primary {
    background-color: var(--hotel-primary) !important;
    border-color: var(--hotel-primary) !important;
}

    .btn-primary:hover {
        background-color: var(--hotel-secondary) !important;
        border-color: var(--hotel-secondary) !important;
    }

/* Active Nav Links */
.bd-nav-link:hover,
.bd-nav-link.active {
    color: var(--hotel-secondary) !important;
}

    .bd-nav-link.active::after {
        background: var(--hotel-primary) !important;
    }

/* Public Layout Footer */
footer {
    background-color: var(--hotel-primary) !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #999;
    }
