/* Payment modal enhancements */
.bank-card { transition: box-shadow .2s, border-color .2s; }
.bank-card.cursor-pointer { cursor: pointer; }
.bank-card.selected { border-color: #0d6efd !important; box-shadow: 0 0 0 .2rem rgba(13,110,253,.15); }
.bg-success-subtle { background-color: rgba(25,135,84,.1) !important; }
.bg-primary-subtle { background-color: rgba(13,110,253,.1) !important; }
/* Custom CSS for Hotel Lingian - Modern Professional */

:root {
    --primary-color: #0056b3;
    --primary-light: #3a7bd5;
    --primary-dark: #003d82;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --success-soft: rgba(25, 135, 84, 0.1);
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --warning-soft: rgba(255, 193, 7, 0.1);
    --info-color: #0dcaf0;
    --info-soft: rgba(13, 202, 240, 0.1);
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --primary-soft: rgba(0, 86, 179, 0.1);
    --gradient-primary: linear-gradient(135deg, #0056b3 0%, #3a7bd5 100%);
    --font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    scroll-behavior: smooth;
}

/* Custom Utilities */
.bg-gradient-primary-overlay {
    background: var(--gradient-primary);
    opacity: 0.9;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-primary-soft {
    background-color: var(--primary-soft) !important;
}

.bg-success-soft {
    background-color: var(--success-soft) !important;
}

.bg-warning-soft {
    background-color: var(--warning-soft) !important;
}

.bg-info-soft {
    background-color: var(--info-soft) !important;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Navigation - Modern Clean Design */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 86, 179, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--primary-dark) !important;
    transform: scale(1.02);
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    color: var(--dark-color) !important;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: var(--primary-soft);
    transform: translateY(-1px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section - Modern Layout */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Account for fixed navbar */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920&h=1080&fit=crop&crop=center') center/cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.8) 0%, rgba(58, 123, 213, 0.7) 100%);
    z-index: 1;
}

.hero-badge .badge {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    animation: fadeInDown 1s ease-out;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    animation: fadeInUp 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-content .row {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-card {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease-out 0.5s both;
}

/* Quick booking form styling */
.hero-card .form-control,
.hero-card .form-select {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.hero-card .form-control:focus,
.hero-card .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

/* Animation keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    z-index: 2;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    font-size: 1.5rem;
}

/* Features Section */
.feature-card {
    transition: all 0.3s ease;
    border-radius: 1rem !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.icon-circle {
    transition: all 0.3s ease;
}

.feature-card:hover .icon-circle {
    transform: scale(1.1);
}

/* Booking Form - Modern Design */
.booking-container {
    position: relative;
}

.booking-progress {
    margin-bottom: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step.active {
    color: var(--primary-color);
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-icon {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-section {
    position: relative;
}

.section-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-soft);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-floating > label {
    font-weight: 500;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.price-summary .card {
    border-radius: 1rem;
}

/* Room Cards - Premium Design */
.room-card {
    transition: all 0.3s ease;
    border-radius: 1rem !important;
    overflow: hidden;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg) !important;
}

.room-badge {
    z-index: 3;
}

.room-badge .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

.feature-item {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.feature-item i {
    width: 16px;
    text-align: center;
}

.rating .fas,
.rating .far {
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-card {
        margin-top: 2rem;
    }
    
    .booking-progress .step-text {
        font-size: 0.75rem;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .hero-content .row {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero-card .card-body {
        padding: 1.5rem !important;
    }
    
    .room-card .card-body {
        padding: 1.5rem !important;
    }
    
    .booking-container .card-body {
        padding: 2rem !important;
    }
    
    .hero-section {
        padding-top: 120px;
    }
}

/* Additional improvements */
.navbar-nav .nav-link.btn {
    margin-left: 1rem;
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

.room-card img {
    transition: transform 0.3s ease;
}

.room-card:hover img {
    transform: scale(1.05);
}

.feature-card:hover {
    border-color: var(--primary-color) !important;
}

.hero-content .display-3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.text-warning {
    color: #ffc107 !important;
}

/* Hero Section - Continued */
.hero-content h1 {
    animation: fadeInUp 1s ease-out both;
}

.hero-content p {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Rest of existing styles... */
.btn {
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

/* Contact Section and Other Styles */
.contact-section {
    background-color: var(--light-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
}

/* Card Styles */
.card {
    border: none;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.room-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.room-card:hover img {
    transform: scale(1.05);
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

/* Form Styles */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

/* Button Styles */
.btn {
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004494 0%, #003875 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
}

/* Price Display */
.text-primary {
    color: var(--primary-color) !important;
}

/* Contact Info */
.contact-info i {
    font-size: 1.2rem;
    width: 20px;
}

/* Social Links */
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px 12px 0 0;
}

.modal-footer {
    border-top: 1px solid rgba(0,0,0,0.1);
    border-radius: 0 0 12px 12px;
}

/* Validation Styles */
.is-invalid {
    border-color: var(--danger-color) !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--danger-color);
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-info .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info i {
        margin-bottom: 0.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Padding */
section {
    scroll-margin-top: 80px;
}

/* Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004494;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Price Highlight */
.price-highlight {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Success Message */
.alert-success {
    background: linear-gradient(135deg, #d1e7dd 0%, #badbcc 100%);
    border: 1px solid var(--success-color);
    border-radius: 8px;
}

/* Error Message */
.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f1aeb5 100%);
    border: 1px solid var(--danger-color);
    border-radius: 8px;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    #contactForm,
    .social-links {
        display: none !important;
    }
    
    .hero-section {
        height: auto;
        background: white !important;
        color: black !important;
    }
    
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}
