/*
 * Custom CSS for Hotel Reservation System
 */

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

a {
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0a58ca;
}

.btn {
    border-radius: 0;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0a58ca;
    border-color: #0a58ca;
}

.section-title {
    margin-bottom: 3rem;
}

.price-tag {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0d6efd;
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero-slide {
    height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-attachment: fixed; /* Parallax effect */
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Lighter overlay */
}

.hero-content {
    position: relative;
    padding: 8rem 0;
    animation: fadeIn 1.5s ease-in-out;
}

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

/* Search Form */
.search-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.search-form-wrapper {
    border-radius: 5px;
}

/* Room Categories */
.room-categories-section .card {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.room-categories-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.room-categories-section .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Featured Rooms */
.featured-rooms-section .card {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-rooms-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.featured-rooms-section .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Services Section */
.service-item {
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    color: #0d6efd;
}

/* Testimonials */
.testimonial-item {
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Newsletter */
.newsletter-section {
    background-color: #0d6efd;
}

.newsletter-form .form-control {
    border-radius: 0;
    height: 50px;
}

.newsletter-form .btn {
    height: 50px;
}

/* Footer */
footer {
    background-color: #212529;
}

footer a:hover {
    color: #0d6efd !important;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #0d6efd;
}

/* Room Detail Page */
.room-detail-slider {
    margin-bottom: 2rem;
}

.room-detail-slider img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.room-features {
    margin-bottom: 2rem;
}

.room-features i {
    color: #0d6efd;
    margin-right: 0.5rem;
}

.booking-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 5px;
}

/* Reservation Page */
.reservation-summary {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 5px;
}

/* Login & Register Pages */
.auth-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Profile Page */
.profile-card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

/* Admin Dashboard */
.dashboard-stats .card {
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dashboard-stats .card:hover {
    transform: translateY(-5px);
}

.dashboard-stats .card-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    font-size: 24px;
    margin-bottom: 1rem;
}

.dashboard-table {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

/* Responsive Styles */
@media (max-width: 767.98px) {
    .hero-section, .hero-slide {
        height: 500px;
        background-attachment: scroll; /* Disable parallax on mobile */
    }

    .hero-content {
        padding: 4rem 1rem;
        margin: 0 1rem;
    }

    .search-section {
        margin-top: 0;
    }

    .search-form-wrapper {
        padding: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section, .hero-slide {
        height: 400px;
    }

    .hero-content {
        padding: 3rem 1rem;
        margin: 0 0.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}
