/* assets/css/public-style.css - Modern Hotel Website Styling */

:root {
    /* Rich, sophisticated primary palette */
    --primary-color: #1a3a52;        /* Deep ocean blue - sophisticated and calming */
    --secondary-color: #d4af37;      /* Luxury gold - elegance and premium feel */
    --accent-color: #ff6b6b;         /* Warm coral - inviting and energetic */
    --gold-color: #ffd700;           /* Bright gold - luxury accents */
    --success-color: #4ecdc4;        /* Teal - fresh and modern */
    --dark-color: #0f1419;           /* Rich black - premium depth */
    --light-color: #faf7f5;          /* Warm off-white - softer than pure white */
    --white: #ffffff;
    
    /* Refined gray palette with warm undertones */
    --gray-100: #fdfcfb;
    --gray-200: #f7f5f3;
    --gray-300: #e8e5e1;
    --gray-400: #d4cfc8;
    --gray-500: #b8b2a9;
    --gray-600: #8e8980;
    --gray-700: #5c5953;
    --gray-800: #3a3733;
    --gray-900: #1f1e1b;
    
    /* Premium gradients with depth and movement */
    --gradient-primary: linear-gradient(135deg, #1a3a52 0%, #2c5f7c 50%, #4b8ca8 100%);
    --gradient-secondary: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #ffed8e 100%);
    --gradient-success: linear-gradient(135deg, #4ecdc4 0%, #44a8a0 50%, #95e1d3 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4e4c1 50%, #fff8dc 100%);
    
    /* Softer, more elegant shadows */
    --shadow-sm: 0 2px 8px rgba(26, 58, 82, 0.08);
    --shadow: 0 4px 16px rgba(26, 58, 82, 0.12);
    --shadow-lg: 0 12px 32px rgba(26, 58, 82, 0.15);
    --shadow-xl: 0 24px 48px rgba(26, 58, 82, 0.18);
    
    /* Smooth, modern border radius */
    --border-radius: 16px;
    --border-radius-lg: 24px;
    
    /* Additional luxury accents you might want to use */
    --champagne: #f7e7ce;            /* Soft champagne for highlights */
    --rose-gold: #e8b4b8;            /* Subtle rose gold for special elements */
    --midnight-blue: #003366;        /* Deep blue for premium sections */
    --pearl: #fbfcf8;                /* Pearl white for backgrounds */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-color);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-success {
    background: var(--gradient-success);
    color: var(--white);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--dark-color);
}

.btn-outline-primary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--dark-color) !important;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.brand-text {
    font-size: 1.25rem;
}

.nav-link {
    color: var(--gray-700) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    margin: 0 4px;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color) !important;
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.nav-link i {
    margin-right: 6px;
}

.btn-login, .btn-register {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    border-radius: 25px !important;
    padding: 8px 20px !important;
    margin-left: 8px;
}

.btn-login:hover, .btn-register:hover {
    transform: translateY(-2px);
    color: var(--white) !important;
}

.customer-menu {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    border-radius: 25px !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3') center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    width: 100%;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;  /* Explicitly white */
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);  /* Enhanced shadow for better readability */
    letter-spacing: -0.02em;  /* Tighter letter spacing for elegance */
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);  /* Nearly white with slight transparency */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);  /* Added shadow for better contrast */
    font-weight: 300;  /* Lighter weight for elegance */
    letter-spacing: 0.02em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;  /* Added explicit margin for better spacing */
}

/* Mobile responsiveness for hero text */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    background: var(--white);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Room Cards */
.room-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.room-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.room-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.room-price {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.8);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.room-info {
    padding: 1.5rem;
}

.room-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.amenity-tag {
    background: var(--gray-200);
    color: var(--gray-700);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Quick Booking Widget */
.quick-booking-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.quick-booking-toggle {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-booking-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.quick-booking-form {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    min-width: 300px;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.quick-booking-form.show {
    opacity: 1;
    transform: translateY(0);
}

.quick-booking-form h6 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    margin-top: 2rem;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--secondary-color);
    background: var(--white);
    padding: 0 10px;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

/* Forms */
.form-control {
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid var(--gray-600);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-400);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-booking-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .quick-booking-form {
        min-width: 280px;
        right: -20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-brand .brand-text {
        display: none;
    }
    
    .nav-link span {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .quick-booking-toggle span {
        display: none;
    }
    
    .quick-booking-form {
        min-width: 250px;
    }
    
    .room-card {
        margin-bottom: 2rem;
    }
}

/* Loading and transition effects */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.page-transition.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Utility classes */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.bg-gradient-success {
    background: var(--gradient-success);
}

.text-primary-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.rounded-custom {
    border-radius: var(--border-radius-lg);
}