/* NS Hotel & Suites - Custom Styles */

:root {
    --primary-color: #1a365d;
    --secondary-color: #d4af37;
    --accent-color: #2d5a8c;
    --light-bg: #f5f5f5;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-weight: bold;
}

.navbar-brand:hover {
    color: var(--secondary-color) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(26, 54, 93, 0.7), rgba(26, 54, 93, 0.7)), 
                url('/images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Search Form */
.search-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: -50px auto 50px;
    max-width: 900px;
}

.search-form .form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.search-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.search-form .btn-search {
    padding: 10px 40px;
    font-weight: strong;
    width: 100%;
}

/* Room Cards */
.room-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.room-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

.room-card .card-body {
    padding: 20px;
}

.room-card .room-name {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.room-card .room-price {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.room-card .room-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.room-card .amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.amenity-badge {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.amenity-badge i {
    color: var(--secondary-color);
}

/* Promotion Cards */
.promotion-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.promotion-card:hover {
    transform: scale(1.05);
}

.promotion-card .card-img-top {
    height: 300px;
    object-fit: cover;
    position: relative;
}

.promotion-card .discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.promotion-card .card-body {
    padding: 20px;
}

.promotion-card .card-title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Testimonial Cards */
.testimonial-card {
    border: none;
    border-radius: 8px;
    padding: 30px;
    background-color: var(--light-bg);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--secondary-color);
    object-fit: cover;
}

.testimonial-card .rating {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-card .guest-name {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.testimonial-card .testimonial-text {
    color: #666;
    margin-bottom: 10px;
}

/* Section Headings */
.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Booking Form */
.booking-form {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.booking-form .form-label {
    font-weight: 600;
    color: var(--primary-color);
}

.booking-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Room Details */
.room-gallery {
    margin-bottom: 30px;
}

.room-gallery .gallery-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.room-gallery .gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.room-gallery .thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.room-gallery .thumbnail:hover,
.room-gallery .thumbnail.active {
    border-color: var(--secondary-color);
}

.amenity-icon {
    display: inline-block;
    text-align: center;
    margin-bottom: 20px;
}

.amenity-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.amenity-icon p {
    color: #666;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
}

footer h5 {
    color: var(--secondary-color);
    font-weight: bold;
}

footer a {
    color: #ddd;
}

footer a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn-custom {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-custom-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-custom-primary:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-custom-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    font-weight: bold;
}

.btn-custom-secondary:hover {
    background-color: #f9c856;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Alerts & Messages */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .search-form {
        margin: -30px 15px 30px;
    }

    .room-gallery .gallery-main {
        height: 250px;
    }
}

/* Loading Spinner */
.spinner-border-custom {
    color: var(--primary-color);
}

/* Form Validation */
.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
}

.valid-feedback {
    color: #28a745;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 30px;
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--secondary-color);
}

/* Stars Rating */
.star {
    color: var(--secondary-color);
    margin-right: 3px;
}

.star.empty {
    color: #ddd;
}
