:root {
    --navy: #003366;
    --teal: #008080;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--navy) !important;
}

.btn-primary {
    background-color: var(--navy);
    border-color: var(--navy);
}

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

.btn-outline-primary {
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline-primary:hover {
    background-color: var(--navy);
    border-color: var(--navy);
}

.btn-teal {
    background-color: var(--teal);
    border-color: var(--teal);
    color: white;
}

.btn-teal:hover {
    background-color: #006666;
    border-color: #006666;
    color: white;
}

.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    color: white;
    padding: 100px 0;
}

.search-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.hotel-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.hotel-card img {
    height: 200px;
    object-fit: cover;
}

.price-tag {
    background-color: var(--teal);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.rating {
    color: #ffc107;
}

.footer {
    background-color: var(--navy);
    color: white;
    padding: 50px 0 20px 0;
}

.footer h5 {
    color: var(--teal);
    margin-bottom: 20px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--teal);
}

.newsletter-section {
    background-color: var(--teal);
    padding: 40px 0;
}

.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 0.2rem rgba(0, 128, 128, 0.25);
}

.section-title {
    color: var(--navy);
    font-weight: bold;
    margin-bottom: 40px;
}

.feature-icon {
    color: var(--teal);
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Hotel Hero Section */
.hotel-hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    /*padding-top: 30px;*/
    /*padding-bottom: 30px;*/
}

.hotel-hero-section h1 {
    font-size: 2rem;
    font-weight: bold;
}

.hotel-hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    position: relative;
}

.hotel-hero-overlay {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.8) 0%, rgba(0, 128, 128, 0.8) 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Hotel Info Cards */
.hotel-description-card,
.hotel-facilities-card,
.hotel-check-info-card,
.hotel-contact-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.hotel-contact-card {
    position: sticky;
    top: 20px;
}

/* Facility Items */
.facility-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.facility-item:last-child {
    border-bottom: none;
}

.facility-item i {
    font-size: 1.2rem;
    width: 25px;
}

/* Check Info Items */
.check-info-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.check-info-item i {
    font-size: 1.5rem;
    margin-top: 2px;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.contact-item i {
    font-size: 1.1rem;
    width: 25px;
}

/* Room Type Cards */
.room-type-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.room-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.room-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.room-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.room-type-card:hover .room-image {
    transform: scale(1.05);
}

.room-price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 128, 128, 0.95);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.price-amount {
    display: block;
    font-weight: bold;
    font-size: 1.1rem;
}

.price-period {
    font-size: 0.8rem;
    opacity: 0.9;
}

.room-content {
    padding: 20px;
}

.room-title {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.room-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.spec-item i {
    width: 20px;
}

/* Room Facilities */
.facilities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.facility-tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid #dee2e6;
}

/* Room Actions */
.room-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-book-now {
    flex: 2;
}

.btn-view-details {
    flex: 1;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .hotel-hero-image {
        min-height: 40vh;
    }
    
    .hotel-hero-content h1 {
        font-size: 2rem;
    }
    
    .room-actions {
        flex-direction: column;
    }
    
    .hotel-contact-card {
        position: static;
        margin-top: 20px;
    }
}

/* Modal Styling */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #f0f0f0;
    background: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

.facilities-list .badge {
    font-size: 0.8rem;
    padding: 6px 10px;
}

.price-info h5 {
    font-weight: bold;
}

.search-form {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none !important;
    color: white;
}

.search-form h3 {
    color: white !important;
}

.search-form .form-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.search-form .form-control,
.search-form .form-select {
    background: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    color: #333 !important;
}

.search-form .form-control::placeholder {
    color: #666 !important;
}

.hotel-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.hotel-image {
    position: relative;
    overflow: hidden;
}

.hotel-image img {
    transition: transform 0.3s ease;
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.05);
}

.price-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 20px;
}

.facility-badge {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.rating-badge {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    color: white;
    font-weight: bold;
}

.availability-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    font-weight: bold;
}

.results-header {
    margin-top: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 30px;
}

.sort-button {
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.no-results {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 60px 20px;
}

.search-button {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.card-actions {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hotel-card:hover .card-actions {
    opacity: 1;
}

@media (max-width: 768px) {
    .search-form .row {
        gap: 15px;
    }
    
    .search-form .col-md-2 {
        width: 100%;
    }
}