:root {
    --primary: #a10030;
    --primary-dark: #7a0024;
    --primary-light: #c4003d;
    --secondary: #1a1a2e;
    --accent: #c9a84c;
    --text-dark: #1a1a2e;
    --text-light: #6c757d;
    --text-muted: #999;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: var(--text-dark);
    background: var(--bg-light);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; }
.section-padding { padding: 80px 0; }
.section-title { margin-bottom: 50px; }
.section-title h2 { font-size: 2.2rem; font-weight: 700; position: relative; display: inline-block; }
.section-title h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--primary); border-radius: 2px; }
.section-title p { color: var(--text-light); margin-top: 15px; font-size: 1.05rem; }

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--secondary);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--primary);
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--accent); }
.top-bar .social-links a { margin-left: 12px; font-size: 0.9rem; }

/* ==================== HEADER ==================== */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.main-header.scrolled { box-shadow: var(--shadow-lg); }
.main-header .navbar-brand { font-weight: 800; font-size: 1.6rem; color: var(--primary) !important; }
.main-header .navbar-brand span { color: var(--secondary); }
.main-header .nav-link { font-weight: 500; padding: 20px 14px !important; color: var(--text-dark) !important; position: relative; font-size: 0.92rem; }
.main-header .nav-link:hover, .main-header .nav-link.active { color: var(--primary) !important; }
.main-header .nav-link::after { content: ''; position: absolute; bottom: 12px; left: 14px; right: 14px; height: 2px; background: var(--primary); transform: scaleX(0); transition: var(--transition); }
.main-header .nav-link:hover::after, .main-header .nav-link.active::after { transform: scaleX(1); }

/* Mega Menu */
.mega-menu { position: static !important; }
.mega-menu .dropdown-menu {
    width: 100%;
    padding: 30px;
    border: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: 0;
}
.mega-menu .dropdown-menu h6 { color: var(--primary); font-weight: 700; margin-bottom: 15px; font-size: 0.95rem; }
.mega-menu .dropdown-menu a { padding: 6px 0; font-size: 0.9rem; color: var(--text-light); display: block; }
.mega-menu .dropdown-menu a:hover { color: var(--primary); padding-left: 5px; }

/* ==================== HERO BANNER ==================== */
.hero-section {
    min-height: 600px;
    background: linear-gradient(135deg, var(--secondary), #16213e);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1464366400600-7168b8af9bc3?w=1600&q=80') center/cover no-repeat;
    opacity: 0.12;
}
.hero-section .hero-content { position: relative; z-index: 2; }
.hero-section h1 { font-size: 3.2rem; font-weight: 800; color: var(--white); margin-bottom: 15px; }
.hero-section h1 span { color: var(--accent); }
.hero-section p { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 30px; }

/* Hero Search */
.hero-search {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-lg);
    margin-top: 30px;
    position: relative; 
    z-index: 2;
}
.hero-search .form-control, .hero-search .form-select {
    border: 1px solid #e5e5e5;
    border-radius: var(--radius-sm);
    padding: 12px 15px;
    font-size: 0.9rem;
    height: auto;
}
.hero-search .form-control:focus, .hero-search .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(161,0,48,0.15);
}
.hero-search .btn-search {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    width: 100%;
    transition: var(--transition);
}
.hero-search .btn-search:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ==================== CATEGORY CARDS ==================== */
.category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.category-card .icon-box {
    width: 70px; height: 70px;
    background: rgba(161,0,48,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}
.category-card:hover .icon-box { background: var(--primary); color: var(--white); }
.category-card h5 { font-size: 1rem; font-weight: 600; margin-bottom: 5px; }
.category-card span { font-size: 0.85rem; color: var(--text-light); }

/* ==================== VENUE CARDS ==================== */
.venue-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}
.venue-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.venue-card .card-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}
.venue-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.venue-card:hover .card-img img { transform: scale(1.08); }
.venue-card .card-img .badge-tag {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
.venue-card .card-img .wishlist-btn {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    color: var(--text-light);
}
.venue-card .card-img .wishlist-btn.active { color: var(--primary); background: rgba(161,0,48,0.1); }
.venue-card .card-body { padding: 20px; }
.venue-card .card-body .venue-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 5px; display: block; }
.venue-card .card-body .venue-name:hover { color: var(--primary); }
.venue-card .card-body .venue-location { font-size: 0.85rem; color: var(--text-light); margin-bottom: 10px; }
.venue-card .card-body .venue-location i { color: var(--primary); }
.venue-card .card-body .venue-rating { margin-bottom: 12px; }
.venue-card .card-body .venue-rating .stars { color: #fbb022; font-size: 0.85rem; }
.venue-card .card-body .venue-rating span { font-size: 0.85rem; color: var(--text-light); margin-left: 5px; }
.venue-card .card-body .venue-price { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.venue-card .card-body .venue-price small { font-size: 0.8rem; font-weight: 400; color: var(--text-light); }
.venue-card .card-body .venue-amenities { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid #eee; }
.venue-card .card-body .venue-amenities span { font-size: 0.75rem; color: var(--text-light); background: var(--bg-light); padding: 3px 8px; border-radius: 4px; }

/* ==================== BUTTONS ==================== */
.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary-custom:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(161,0,48,0.3); }
.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 8px 25px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-custom:hover { background: var(--primary); color: var(--white); }

/* ==================== FOOTER ==================== */
.main-footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.85);
    padding: 70px 0 0;
}
.main-footer h5 { color: var(--white); font-weight: 700; margin-bottom: 20px; font-size: 1.1rem; position: relative; padding-bottom: 10px; }
.main-footer h5::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); }
.main-footer a { color: rgba(255,255,255,0.7); font-size: 0.9rem; display: block; padding: 4px 0; }
.main-footer a:hover { color: var(--accent); padding-left: 5px; }
.main-footer .footer-brand { font-size: 1.8rem; font-weight: 800; color: var(--white) !important; margin-bottom: 10px; }
.main-footer .footer-brand span { color: var(--primary); }
.main-footer .social-links a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    margin-right: 8px;
    font-size: 1rem;
    color: var(--white) !important;
    transition: var(--transition);
}
.main-footer .social-links a:hover { background: var(--primary); transform: translateY(-3px); }
.main-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--secondary), #16213e);
    padding: 40px 0;
    position: relative;
}
.breadcrumb-section h1 { color: var(--white); font-weight: 700; font-size: 2rem; }
.breadcrumb-section .breadcrumb { background: transparent; margin: 10px 0 0; }
.breadcrumb-section .breadcrumb-item, .breadcrumb-section .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.breadcrumb-section .breadcrumb-item.active { color: var(--accent); }
.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ==================== PAGINATION ==================== */
.pagination-custom .page-link {
    color: var(--text-dark);
    border: 1px solid #e5e5e5;
    margin: 0 3px;
    border-radius: var(--radius-sm) !important;
    padding: 8px 16px;
    font-weight: 500;
}
.pagination-custom .page-link:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination-custom .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* ==================== DETAILS PAGE ==================== */
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; border-radius: var(--radius); overflow: hidden; }
.gallery-grid img { width: 100%; height: 300px; object-fit: cover; cursor: pointer; transition: var(--transition); }
.gallery-grid img:hover { opacity: 0.9; }
.gallery-grid .main-img { height: 610px; }
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.amenities-grid .amenity-item { background: var(--bg-light); padding: 12px; border-radius: var(--radius-sm); text-align: center; font-size: 0.85rem; }
.amenities-grid .amenity-item i { color: var(--primary); font-size: 1.2rem; margin-bottom: 5px; display: block; }
.amenities-grid .amenity-item .available { color: #28a745; }
.amenities-grid .amenity-item .unavailable { color: #dc3545; }

/* ==================== SIDEBAR ==================== */
.sidebar-card { background: var(--white); border-radius: var(--radius); padding: 25px; box-shadow: var(--shadow); margin-bottom: 25px; }
.sidebar-card h5 { font-weight: 700; margin-bottom: 15px; }
.price-range-values { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-light); }

/* ==================== RATING STARS ==================== */
.rating-stars { color: #fbb022; font-size: 0.9rem; }
.rating-stars .empty { color: #ddd; }

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}
.testimonial-card::before { content: '"'; position: absolute; top: 15px; right: 25px; font-size: 4rem; color: rgba(161,0,48,0.08); font-family: Georgia, serif; }
.testimonial-card .rating { color: #fbb022; margin-bottom: 12px; }
.testimonial-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; }
.testimonial-card .author { display: flex; align-items: center; margin-top: 15px; }
.testimonial-card .author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; margin-right: 12px; }
.testimonial-card .author h6 { font-weight: 600; margin-bottom: 2px; }
.testimonial-card .author span { font-size: 0.8rem; color: var(--text-light); }

/* ==================== BLOG CARDS ==================== */
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card .blog-img { height: 220px; overflow: hidden; }
.blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-img img { transform: scale(1.08); }
.blog-card .blog-body { padding: 20px; }
.blog-card .blog-body .blog-cat { font-size: 0.8rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.blog-card .blog-body h5 { font-weight: 600; margin: 10px 0; }
.blog-card .blog-body p { font-size: 0.9rem; color: var(--text-light); }

/* ==================== CITY CARDS ==================== */
.city-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: var(--transition);
}
.city-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.city-card img { width: 100%; height: 100%; object-fit: cover; }
.city-card .overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 25px;
    color: var(--white);
}
.city-card .overlay h5 { font-weight: 700; }
.city-card .overlay span { font-size: 0.85rem; opacity: 0.8; }

/* ==================== AUTH PAGES ==================== */
.auth-page { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--secondary), #16213e); }
.auth-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); }
.auth-card .auth-logo { text-align: center; margin-bottom: 30px; }
.auth-card .auth-logo h3 { font-weight: 800; color: var(--primary); }
.auth-card .auth-logo h3 span { color: var(--secondary); }
.auth-card .form-control { border-radius: var(--radius-sm); padding: 12px 15px; border: 1px solid #e5e5e5; }
.auth-card .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 0.2rem rgba(161,0,48,0.15); }

/* ==================== DASHBOARD ==================== */
.dashboard-sidebar { background: var(--white); border-radius: var(--radius); padding: 25px; box-shadow: var(--shadow); }
.dashboard-sidebar .user-info { text-align: center; padding-bottom: 20px; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.dashboard-sidebar .user-info img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.dashboard-sidebar .nav-link { color: var(--text-light); padding: 10px 15px; border-radius: var(--radius-sm); margin-bottom: 5px; font-weight: 500; }
.dashboard-sidebar .nav-link:hover, .dashboard-sidebar .nav-link.active { background: rgba(161,0,48,0.08); color: var(--primary); }
.dashboard-stat { background: var(--white); border-radius: var(--radius); padding: 25px; box-shadow: var(--shadow); text-align: center; }
.dashboard-stat .icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 1.3rem; }
.dashboard-stat h3 { font-weight: 700; margin-bottom: 5px; }
.dashboard-stat p { color: var(--text-light); font-size: 0.9rem; }

/* ==================== GRID/LIST VIEW ==================== */
.view-toggle .btn { border: 1px solid #e5e5e5; color: var(--text-light); padding: 6px 12px; }
.view-toggle .btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.view-toggle .btn:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.view-toggle .btn:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .hero-section h1 { font-size: 2.2rem; }
    .mega-menu .dropdown-menu { padding: 15px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid .main-img { height: 300px; }
}
@media (max-width: 767px) {
    .section-padding { padding: 50px 0; }
    .section-title h2 { font-size: 1.6rem; }
    .hero-section { min-height: 500px; }
    .hero-section h1 { font-size: 1.8rem; }
    .hero-search { padding: 15px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid img { height: 200px; }
    .gallery-grid .main-img { height: 250px; }
}

/* ==================== 404 PAGE ==================== */
.page-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.page-404 h1 { font-size: 8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.page-404 h2 { font-weight: 700; margin-bottom: 15px; }
.page-404 p { color: var(--text-light); margin-bottom: 25px; }

/* ==================== CONTACT ==================== */
.contact-info-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); text-align: center; transition: var(--transition); }
.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.contact-info-card .icon { width: 60px; height: 60px; background: rgba(161,0,48,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-size: 1.5rem; color: var(--primary); }
.contact-info-card h6 { font-weight: 600; }
.contact-info-card p { color: var(--text-light); font-size: 0.9rem; }

/* ==================== FAQ ==================== */
.accordion-button:not(.collapsed) { background: rgba(161,0,48,0.08); color: var(--primary); font-weight: 600; }
.accordion-button:focus { box-shadow: none; border-color: rgba(161,0,48,0.2); }
.accordion-item { border: 1px solid #eee; margin-bottom: 10px; border-radius: var(--radius-sm) !important; overflow: hidden; }

/* ==================== MODAL ==================== */
.modal-content { border: none; border-radius: var(--radius); }
.modal-header { border-bottom: 1px solid #eee; }
.modal-footer { border-top: 1px solid #eee; }

/* ==================== NOTIFICATION ==================== */
.notification-item { padding: 15px; border-bottom: 1px solid #eee; transition: var(--transition); cursor: pointer; }
.notification-item:hover { background: var(--bg-light); }
.notification-item.unread { background: rgba(161,0,48,0.04); border-left: 3px solid var(--primary); }
.notification-item h6 { font-size: 0.95rem; margin-bottom: 3px; }
.notification-item p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0; }
.notification-item .time { font-size: 0.8rem; color: var(--text-muted); }

/* ==================== LOGIN/REGISTER ==================== */
.social-login .btn { border: 1px solid #e5e5e5; padding: 10px; border-radius: var(--radius-sm); font-weight: 500; transition: var(--transition); }
.social-login .btn:hover { background: var(--bg-light); }
