/* ETS Hotel Custom Styles */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --muted-color: #95a5a6;
    --white-color: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #2c3e50, #34495e);
    --gradient-secondary: linear-gradient(135deg, #e74c3c, #c0392b);
    --gradient-accent: linear-gradient(135deg, #f39c12, #e67e22);
}
.bg-primary {
    --bs-bg-opacity: 1;
    /* background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important; */
    background: linear-gradient(75deg, rgb(46 64 83), rgb(49 69 89)) !important;
}
/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
	color: #fff;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: rgba(255,255,255,0.8) !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.9), rgba(52, 73, 94, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    color: var(--white-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://source.unsplash.com/1600x900/?hotel,luxury') center/cover;
    opacity: 0.3;
    z-index: -1;
}

.search-form {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95) !important;
}

.form-control-lg {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    transition: var(--transition);
}

.form-control-lg:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 12px 30px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background: var(--gradient-accent);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 12px 30px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Destination Cards */
.destination-card {
    transition: var(--transition);
    cursor: pointer;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

/* Hotel Cards */
.hotel-card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

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

.hotel-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.hotel-price {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.hotel-rating {
    color: var(--accent-color);
}

/* About Page Styles */
.story-content {
    padding-right: 2rem;
}

.hero-image img {
    transition: var(--transition);
}

.hero-image:hover img {
    transform: scale(1.02);
}

.stat-item {
    padding: 1rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.feature-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--white-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.stats-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://picsum.photos/1200/400?random=pattern') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.stat-box {
    position: relative;
    z-index: 1;
}

.step-item {
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 50%;
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--box-shadow);
}

.team-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    padding: 2rem 1rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.avatar-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--white-color);
    box-shadow: var(--box-shadow);
}

.value-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .story-content {
        padding-right: 0;
        text-align: center;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
    
    .step-item {
        padding: 1rem 0.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .team-card {
        margin-bottom: 1rem;
    }
    
    .value-card {
        margin-bottom: 1rem;
    }
}

.destination-stats .badge {
    font-size: 0.75rem;
}

/* Hotel Cards */
.hotel-card {
    transition: var(--transition);
    overflow: hidden;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.hotel-image {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.hotel-image-placeholder {
    height: 200px;
    background: #f8f9fa;
}

.hotel-rating {
    font-size: 0.9rem;
}

.hotel-price {
    font-size: 1.1rem;
}

.hotel-features .badge {
    font-size: 0.7rem;
}

/* Offer Cards */
.offer-card {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.offer-badge {
    z-index: 10;
    font-weight: bold;
    font-size: 0.8rem;
}

.offer-image {
    height: 150px;
    object-fit: cover;
}

/* Search Results */
.search-filters {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 20px;
}

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.price-range-slider {
    margin: 15px 0;
}

.star-rating {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.star-rating .star {
    color: #ddd;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.star-rating .star.active,
.star-rating .star:hover {
    color: #ffc107;
}

/* Hotel Details */
.hotel-gallery {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0,0,0,0.7);
    padding: 10px;
    border-radius: var(--border-radius);
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: white;
    transform: scale(1.1);
}

.hotel-info-section {
    margin-bottom: 30px;
}

.info-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.facility-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.facility-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
}

/* Booking Form */
.booking-form {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 20px;
}

.price-summary {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.price-row.total {
    font-weight: bold;
    font-size: 1.2rem;
    border-top: 2px solid var(--dark-color);
    padding-top: 10px;
    margin-top: 15px;
}

/* Reviews */
.review-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating .star {
    color: #ffc107;
}

.review-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-text {
    margin-bottom: 15px;
    line-height: 1.6;
}

.review-helpful {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #6c757d;
    font-size: 0.9rem;
}

/* User Dashboard */
.dashboard-sidebar {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 20px;
}

.dashboard-nav {
    list-style: none;
    padding: 0;
}

.dashboard-nav li {
    margin-bottom: 5px;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: var(--primary-color);
    color: white;
}

.dashboard-nav i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dashboard-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.booking-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.booking-status.pending {
    background: #fff3cd;
    color: #856404;
}

.booking-status.confirmed {
    background: #d4edda;
    color: #155724;
}

.booking-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.booking-status.checked_out {
    background: #d1ecf1;
    color: #0c5460;
}

/* Admin Panel */
.admin-sidebar {
    background: #2c3e50;
    min-height: 100vh;
    color: white;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    border-radius: 0;
    transition: var(--transition);
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: var(--primary-color);
    color: white;
}

.admin-main {
    background: #f8f9fa;
    min-height: 100vh;
}

.admin-header {
    background: white;
    box-shadow: var(--box-shadow);
    padding: 15px 0;
}

.stats-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.stats-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.stats-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-color);
}

.stats-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Forms */
.form-floating label {
    color: #6c757d;
}

.form-floating .form-control:focus ~ label {
    color: var(--primary-color);
}

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

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

.btn-success {
    background: #32465b;
    border-color: #32465a;
}

.btn-success:hover {
    background: #32465b;
    border-color: #32465b;
}
.text-muted {
    --bs-text-opacity: 1;
    color: rgb(255 255 255) !important;
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .search-form {
        padding: 20px;
    }
    
    .search-filters {
        position: static;
        margin-bottom: 30px;
    }
    
    .booking-form {
        position: static;
        margin-top: 30px;
    }
    
    .dashboard-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .hotel-gallery {
        height: 250px;
    }
    
    .gallery-thumbnails {
        bottom: 10px;
        padding: 5px;
    }
    
    .thumbnail {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .destination-card,
    .hotel-card,
    .offer-card {
        margin-bottom: 20px;
    }
    
    .stats-card {
        margin-bottom: 20px;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) 1;
}

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: var(--box-shadow);
}

/* Print Styles */
@media print {
    .navbar,
    .hero-section,
    .booking-form,
    .dashboard-sidebar,
    .admin-sidebar {
        display: none !important;
    }
    
    .container {
        max-width: 100%;
    }
    
    .card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
}
