/* C:/laragon/www/kings-hotel/assets/css/premium.css */

/* Premium Aesthetics Overhaul */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.06);
    --dark-surface: #111827;
    --gold: #d4af37;
}

body {
    font-family: 'Inter', sans-serif;
    color: #374151;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.2px;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.hero-title,
.section-title,
.brand-font {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-surface);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Specialized Cards & Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.1);
}

/* Checkout Enhancements */
.checkout-container {
    padding-top: 40px;
}

.step-number {
    width: 35px;
    height: 35px;
    background: var(--dark-surface);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-right: 15px;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.gateway-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.gateway-radio {
    display: none;
}

.gateway-radio:checked+.gateway-card {
    border-color: var(--gold);
    background: #fffbf0;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.gateway-radio:checked+.gateway-card::after {
    content: '\F633';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--gold);
    font-size: 1.2rem;
}

/* Premium Button */
.btn-premium {
    background: linear-gradient(135deg, var(--dark-surface), #1f2937);
    color: var(--gold);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.2);
}

.btn-premium:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(17, 24, 39, 0.3);
}

/* Form Controls */
.form-control-lg {
    border-radius: 12px;
    padding: 15px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control-lg:focus {
    background: #fff;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

/* Navbar Tuning */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.navbar-brand span {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

/* Hero Tuning */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.hero-title {
    font-size: 4.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .hero-section {
        min-height: 80vh;
        padding: 120px 0 60px;
        /* More top padding for navbar clearance */
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-top: 20px;
    }

    .lead {
        font-size: 1rem;
        padding: 0 15px;
    }

    /* Booking Bar Mobile Tuning */
    .glass-card {
        padding: 1.5rem !important;
    }

    .glass-card .border-end {
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .glass-card .col-md-3:last-child {
        margin-bottom: 0;
    }

    .btn-premium {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Room Images */
.room-preview {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 10px;
    z-index: 1050;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.mobile-bottom-nav .nav-item {
    text-align: center;
    flex: 1;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.4rem;
}

.mobile-bottom-nav .nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--dynamic-primary);
}

.mobile-bottom-nav .nav-item:active {
    transform: scale(0.95);
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 75px;
        /* Clearance for bottom nav */
    }

    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    /* Adjust chatbot position to clear bottom nav */
    #chatbot-trigger {
        bottom: 85px !important;
    }

    #chatbot-widget {
        bottom: 155px !important;
    }
}