@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --secondary-color: #F57C00;
    --accent-color: #E65100;
    --success-color: #43e97b;
    --warning-color: #fa7e5d;
    --danger-color: #f85032;
    
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.home-page {
    background: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 1rem;
}

.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.form-container.hidden {
    display: none;
}

.form-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.role-options {
    display: flex;
    gap: 1.25rem;
}

.role-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    color: #666;
}

.role-label input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
}

.role-label span {
    user-select: none;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2E7D32;
}

.btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.form-container p {
    text-align: center;
    margin-top: 1rem;
    color: #666;
    font-size: 0.875rem;
}

.form-container a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.form-container a:hover {
    color: #1B5E20;
}

/* Message Notification Styles */
.message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 1.5625rem;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.875rem;
    z-index: 1000;
    animation: slideDown 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.message.success {
    background-color: #43e97b;
    color: white;
}

.message.error {
    background-color: #f85032;
    color: white;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
    padding: 0.75rem 0.9375rem;
    border-radius: 5px;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* ============================================
   MODERN HOME PAGE STYLES
   ============================================ */

body.home-page {
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    background: var(--bg-white);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.brand-icon {
    font-size: 2rem;
}

.brand-text {
    font-size: 1.25rem;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex: 1;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* User Dropdown */
.user-info {
    margin-left: auto;
}

.user-dropdown {
    position: relative;
}

.user-greeting {
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: var(--bg-light);
    transition: var(--transition);
    color: var(--text-primary);
    font-weight: 500;
    display: inline-block;
}

.user-greeting:hover {
    background: #f0f0f0;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    margin-top: 0.5rem;
    overflow: hidden;
    z-index: 100;
}

.user-dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
}

.dropdown-link {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.logout-link {
    color: var(--danger-color);
    border-top: 1px solid var(--border-color);
}

.btn-nav-login {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-nav-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 6rem 2rem;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left-content {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-badge-wrapper {
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

/* Search Bar */
.search-bar-container {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
    gap: 0.75rem;
    max-width: 500px;
}

.search-icon {
    color: var(--text-light);
    font-size: 1rem;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.4);
}

/* CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Stats */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-text {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Hero Right Visual */
.hero-right-visual {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
    height: 500px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    font-size: 0.95rem;
    color: var(--text-primary);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   FILTER SECTION
   ============================================ */
.filter-section {
    background: var(--bg-white);
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 70px;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-container h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.filter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.813rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
}

.filter-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    transition: var(--transition);
}

.filter-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    transition: var(--transition);
}

#priceValue {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.filter-select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.filter-reset-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-reset-btn:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: transparent;
}

/* ============================================
   HOSTELS SECTION
   ============================================ */
.hostels-section {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.hostels-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 3.5rem;
    color: var(--text-primary);
}

.hostels-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.hostel-item {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    animation: fadeIn 0.6s ease-out;
    flex-direction: column;
}

.hostel-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.hostel-large-left {
    grid-column: 1;
    grid-row: span 2;
    flex-direction: row;
}

.hostel-large-left .hostel-image-container {
    width: 40%;
    min-width: 40%;
    height: auto;
    min-height: 400px;
}

.hostel-medium-left {
    grid-column: 1;
    flex-direction: row;
}

.hostel-medium-left .hostel-image-container {
    width: 40%;
    min-width: 40%;
    height: auto;
    min-height: 320px;
}

.hostel-small-right {
    grid-column: 2;
    flex-direction: column;
    height: fit-content;
}

.hostel-small-right .hostel-image-container {
    width: 100%;
    height: 180px;
}

.hostel-image-container {
    position: relative;
    overflow: hidden;
}

.hostel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.hostel-item:hover .hostel-image {
    transform: scale(1.05);
}

.hostel-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
}

.hostel-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hostel-info-compact {
    padding: 1.25rem;
}

.hostel-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.hostel-small-right .hostel-name {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.hostel-meta {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.hostel-meta .price {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.hostel-meta .rating {
    font-weight: 700;
    color: #f39c12;
    font-size: 1rem;
}

.review-count {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.875rem;
}

.hostel-location {
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hostel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.amenity {
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.hostel-reviews {
    margin-top: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.review {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.review:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.review-author {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.813rem;
    margin-bottom: 0.375rem;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.813rem;
    line-height: 1.5;
}

.hostel-book-btn,
.hostel-book-btn-small {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white !important;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: auto;
}

.hostel-book-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    align-self: flex-start;
}

.hostel-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.hostel-book-btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.813rem;
}

.hostel-book-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.hostel-meta-compact {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.hostel-meta-compact .price {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
}

.hostel-meta-compact .rating {
    font-weight: 600;
    color: #f39c12;
    font-size: 0.875rem;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.125rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    z-index: 3;
    position: relative;
}

.btn-primary, .btn-secondary {
    padding: 14px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #2E7D32;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2E7D32;
}

.user-sidebar a:hover,
.user-sidebar a.active {
    background: rgba(46, 125, 50, 0.1);
    color: #2E7D32;
    border-left: 4px solid #2E7D32;
}

.btn-nav-login {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%) !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 6px !important;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid-asymmetrical {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 12px;
    background: var(--bg-light);
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card-large {
    padding: 3.125rem 2.5rem !important;
    min-height: 300px;
}

.feature-card-small {
    padding: 1.875rem 1.5625rem !important;
    min-height: 200px;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
    background: var(--bg-white);
}

.feature-icon {
    font-size: 3rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.375rem;
    color: var(--text-primary);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Hostels Section */
.hostels {
    padding: 80px 20px;
    background: #f8f9fa;
}

.hostels-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hostels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.hostel-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.hostel-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.hostel-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.hostel-content {
    padding: 25px;
}

.hostel-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.hostel-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.hostel-price {
    background: #2E7D32;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.hostel-rating {
    color: #f39c12;
    font-weight: 600;
    margin-bottom: 10px;
}

.hostel-details {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.hostel-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hostel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 20px;
    background: white;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    align-items: center;
}

.why-content {
    padding: 40px;
}

.why-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.why-list {
    list-style: none;
}

.why-list li {
    padding: 12px 0;
    color: #555;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.why-list li:before {
    content: "✓";
    color: #2E7D32;
    font-weight: 700;
    font-size: 18px;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: white;
    padding: 60px 20px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h4 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.95;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 4rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 0.25rem;
}

.footer-section p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 2rem;
    color: #999;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-right-visual {
        order: -1;
    }

    .features-grid-asymmetrical {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-large {
        grid-column: span 1 !important;
    }

    .hostels-list {
        grid-template-columns: 1fr;
    }

    .hostel-large-left,
    .hostel-medium-left {
        flex-direction: column !important;
    }

    .hostel-large-left .hostel-image-container,
    .hostel-medium-left .hostel-image-container,
    .hostel-small-right .hostel-image-container {
        width: 100% !important;
        min-width: 100% !important;
        height: 250px;
    }

    .filter-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar-nav {
        gap: 1rem;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        gap: 1rem;
    }

    .navbar-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .navbar-nav.active {
        display: flex;
    }

    .navbar-nav li {
        width: 100%;
        padding: 0.75rem 2rem;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-nav li:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    .search-bar {
        flex-direction: column;
        max-width: 100%;
    }

    .search-input,
    .search-btn {
        width: 100%;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-image-container {
        height: 350px;
    }

    .floating-badge {
        bottom: 20px;
        right: -10px;
        padding: 0.75rem 1rem;
    }

    .hostels-section {
        padding: 3rem 1.5rem;
    }

    .hostels-list {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .hostel-info {
        padding: 1.5rem;
    }

    .hostel-name {
        font-size: 1.25rem;
    }

    .hostel-meta {
        gap: 0.75rem;
    }

    .hostel-amenities {
        gap: 0.5rem;
    }

    .amenity {
        font-size: 0.7rem;
    }

    .filter-section {
        padding: 1.5rem;
        top: 65px;
    }

    .filter-container h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .filter-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-reset-btn {
        width: 100%;
    }

    .features {
        padding: 3rem 1.5rem;
    }

    .features-grid-asymmetrical {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem !important;
    }

    .feature-card-large,
    .feature-card-small {
        padding: 1.5rem !important;
        min-height: auto;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.125rem;
    }

    .feature-card p {
        font-size: 0.875rem;
    }

    .footer {
        padding: 3rem 1.5rem 1rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1.125rem;
    }

    .brand-icon {
        font-size: 1.5rem;
    }

    .hero {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.4rem 0.75rem;
    }

    .search-bar {
        padding: 0.5rem 1rem;
    }

    .search-input {
        font-size: 0.95rem;
    }

    .search-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-text {
        font-size: 0.75rem;
    }

    .hero-image-container {
        height: 250px;
    }

    .floating-badge {
        bottom: 10px;
        right: -15px;
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
    }

    .badge-text {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hostels-section {
        padding: 2rem 1rem;
    }

    .hostel-item {
        border-radius: 8px;
    }

    .hostel-info {
        padding: 1rem;
    }

    .hostel-name {
        font-size: 1rem;
    }

    .hostel-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .hostel-book-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
    }

    .hostel-book-btn-small {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }

    .filter-section {
        padding: 1rem;
        top: 60px;
    }

    .filter-options {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .filter-group label {
        font-size: 0.75rem;
    }

    .features {
        padding: 2rem 1rem;
    }

    .features-grid-asymmetrical {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem !important;
        border-radius: 8px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin: 0;
    }

    .feature-card p {
        font-size: 0.8rem;
    }

    .footer {
        padding: 2rem 1rem 0.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section h4 {
        font-size: 0.95rem;
    }

    .footer-section a,
    .footer-section p {
        font-size: 0.85rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
        padding-top: 1rem;
    }
}

