/* ============================================
   STRAWBERRY COTTAGE - MAIN STYLESHEET
   ============================================ */

:root {
    --strawberry: #e63946;
    --strawberry-dark: #c1121f;
    --strawberry-light: #ff6b6b;
    --green-soft: #52b788;
    --green-light: #d8f3dc;
    --cream: #fdf8f0;
    --dark: #1d3557;
    --gray: #6c757d;
    --white: #ffffff;
}

/* ---- GLOBAL ---- */
* { box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, sans-serif; color: #333; background: var(--white); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ---- NAVBAR ---- */
.navbar-strawberry {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--strawberry);
    letter-spacing: -0.5px;
}
.navbar-brand-logo span { color: var(--green-soft); }
.nav-link-custom {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-link-custom:hover { background: var(--green-light); color: var(--strawberry) !important; }
.btn-book-nav {
    background: var(--strawberry);
    color: white !important;
    border-radius: 25px;
    padding: 8px 24px !important;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-book-nav:hover { background: var(--strawberry-dark); transform: translateY(-1px); }

/* ---- HERO ---- */
.hero-section {
    background: linear-gradient(135deg, rgba(230,57,70,0.85) 0%, rgba(29,53,87,0.9) 100%),
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1600') center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 1;
}
.hero-stats {
    position: relative;
    z-index: 3;
    padding-bottom: 60px;
}
.hero-badge {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-title .highlight { color: #ffd166; }
.hero-subtitle { font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px; max-width: 500px; }
.btn-hero-primary {
    background: var(--strawberry);
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(230,57,70,0.4);
}
.btn-hero-primary:hover { background: var(--strawberry-dark); transform: translateY(-3px); color: white; }
.btn-hero-outline {
    background: transparent;
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.6);
    transition: all 0.3s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); color: white; }

/* ---- QUICK BOOKING BAR ---- */
.quick-booking {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}
.quick-booking .form-label { font-weight: 600; font-size: 0.85rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }
.quick-booking .form-control, .quick-booking .form-select {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.quick-booking .form-control:focus, .quick-booking .form-select:focus {
    border-color: var(--strawberry);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}
.btn-search {
    background: var(--strawberry);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 700;
    width: 100%;
    transition: all 0.2s;
}
.btn-search:hover { background: var(--strawberry-dark); }

/* ---- SECTION TITLES ---- */
.section-title { font-size: 2.2rem; font-weight: 800; color: var(--dark); }
.section-subtitle { color: var(--gray); font-size: 1.05rem; }
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--strawberry), var(--strawberry-light));
    border-radius: 2px;
    margin: 15px auto;
}

/* ---- ROOM CARDS ---- */
.room-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
}
.room-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.room-card .card-img-top { height: 220px; object-fit: cover; transition: transform 0.4s; }
.room-card:hover .card-img-top { transform: scale(1.05); }
.room-card .card-body { padding: 20px; }
.room-type-badge {
    background: var(--green-light);
    color: var(--green-soft);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.room-price { font-size: 1.4rem; font-weight: 800; color: var(--strawberry); }
.room-price small { font-size: 0.75rem; font-weight: 400; color: var(--gray); }
.facility-tag {
    background: #f8f9fa;
    color: #555;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin: 2px;
}
.btn-book-room {
    background: var(--strawberry);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    width: 100%;
    transition: all 0.2s;
}
.btn-book-room:hover { background: var(--strawberry-dark); color: white; }

/* ---- FEATURES SECTION ---- */
.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--green-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all 0.3s;
}
.feature-card:hover .feature-icon { background: var(--strawberry); color: white; transform: rotate(5deg); }

/* ---- TESTIMONIALS ---- */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border-left: 4px solid var(--strawberry);
}
.stars { color: #ffd166; font-size: 1.1rem; }

/* ---- FOOTER ---- */
.footer-main {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}
.footer-brand { font-size: 1.6rem; font-weight: 800; color: white; }
.footer-brand span { color: var(--strawberry-light); }
.footer-link { color: rgba(255,255,255,0.7); display: block; margin-bottom: 8px; transition: color 0.2s; }
.footer-link:hover { color: var(--strawberry-light); }
.footer-divider { border-color: rgba(255,255,255,0.1); }

/* ---- BOOKING FORM PAGE ---- */
.booking-hero {
    background: linear-gradient(135deg, var(--strawberry) 0%, var(--strawberry-dark) 100%);
    padding: 60px 0 120px;
    color: white;
}
.booking-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    padding: 40px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}
.form-control-custom {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 12px 15px;
    transition: border-color 0.2s;
}
.form-control-custom:focus {
    border-color: var(--strawberry);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}
.btn-submit-booking {
    background: linear-gradient(135deg, var(--strawberry) 0%, var(--strawberry-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-weight: 700;
    font-size: 1.05rem;
    width: 100%;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(230,57,70,0.3);
}
.btn-submit-booking:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(230,57,70,0.4); }
.booking-summary-card {
    background: var(--cream);
    border-radius: 16px;
    padding: 25px;
    border: 2px solid var(--green-light);
}

/* ---- ADMIN DASHBOARD ---- */
.admin-sidebar {
    background: var(--dark);
    min-height: 100vh;
    width: 260px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    padding: 0;
    transition: transform 0.3s;
}
.admin-sidebar-brand {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar-brand h5 { color: white; font-weight: 800; margin: 0; }
.admin-sidebar-brand small { color: var(--strawberry-light); }
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.admin-nav-link:hover, .admin-nav-link.active {
    background: rgba(255,255,255,0.08);
    color: white;
    border-left-color: var(--strawberry);
}
.admin-nav-link i { font-size: 1.1rem; width: 20px; }
.admin-main { margin-left: 260px; min-height: 100vh; background: #f5f6fa; }
.admin-topbar {
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 99;
}
.admin-content { padding: 30px; }
.stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    border-left: 4px solid var(--strawberry);
    transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card.green { border-left-color: var(--green-soft); }
.stat-card.blue { border-left-color: #457b9d; }
.stat-card.orange { border-left-color: #f4a261; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--dark); }
.stat-label { color: var(--gray); font-size: 0.9rem; }
.stat-icon { font-size: 2rem; opacity: 0.15; }

/* Notification Bell */
.notif-bell {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    transition: background 0.2s;
}
.notif-bell:hover { background: #f0f0f0; }
.notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--strawberry);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Booking Table */
.booking-table { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,0.06); }
.booking-table table { margin: 0; }
.booking-table thead th { background: var(--dark); color: white; font-weight: 600; padding: 15px; border: none; }
.booking-table tbody tr { transition: background 0.2s; }
.booking-table tbody tr:hover { background: #fafafa; }
.booking-table tbody tr.new-booking { background: #fff8f8; border-left: 3px solid var(--strawberry); }
.booking-table td { padding: 14px 15px; vertical-align: middle; border-color: #f0f0f0; }
.status-badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d1e7dd; color: #0f5132; }
.status-cancelled { background: #f8d7da; color: #842029; }
.status-completed { background: #cfe2ff; color: #084298; }

/* Toast Notification */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; }
.toast-booking {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-left: 4px solid var(--strawberry);
    padding: 15px 20px;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Admin Login */
.admin-login-page {
    background: linear-gradient(135deg, var(--dark) 0%, #2d6a4f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.login-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 420px;
    width: 100%;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .hero-title { font-size: 2.2rem; }
    .booking-form-card { padding: 25px; margin-top: -40px; }
    .quick-booking { padding: 20px; }
}
