/* ============================================================
   Vilayet Connect - Ana Stil Dosyası
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

html {
    font-size: 16.5px;
}
:root {
    --primary: #2a3a5c;
    --primary-dark: #1e2d4a;
    --primary-light: #3a4f7a;
    --accent: #dc2626;
    --accent-light: #ef4444;
    --background: #f5f7fa;
    --card: #ffffff;
    --foreground: #1a2640;
    --muted: #64748b;
    --border: #e2e8f0;
    --secondary: #f1f5f9;
    --radius: 0.375rem;
    --shadow-card: 0 2px 12px rgba(42, 58, 92, 0.08);
    --shadow-nav: 0 2px 20px rgba(42, 58, 92, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* ============================================================
   Top Bar
   ============================================================ */
.topbar {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    font-size: 0.8rem;
    padding: 0.5rem 0;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.topbar a { color: white; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1rem; }

/* ============================================================
   Header / Navbar
   ============================================================ */
.header {
    background: var(--primary);
    box-shadow: var(--shadow-nav);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}
.header-logo img { height: 3.5rem; width: auto; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: opacity 0.2s;
    border-radius: var(--radius);
}
.nav-link:hover { opacity: 0.8; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    min-width: 250px;
    padding: 0.25rem 0;
    z-index: 50;
}
.nav-item:hover .dropdown-menu { display: block; }
.dropdown-link {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--foreground);
    transition: all 0.2s;
}
.dropdown-link:hover { background: var(--secondary); color: var(--accent); }

/* Mobile menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 201;
    position: relative;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 200;
    overflow-y: auto;
    padding: 5rem 1.5rem 2rem;
    flex-direction: column;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-menu a {
    display: block;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-weight: 600;
}
.mobile-menu a:first-child { border-top: 1px solid rgba(255,255,255,0.12); }
.mobile-menu a:hover { color: white; }
.mobile-menu .sub-link {
    padding-left: 1.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .nav { display: none; }
    .mobile-toggle { display: block; }
}

/* ============================================================
   Hero Slider
   ============================================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: var(--primary-dark);
}

/* Masaüstü için sabit oran */
@media (min-width: 769px) {
    .hero-slider {
        aspect-ratio: 1920 / 720;
        max-height: 800px;
    }
}

@media (min-width: 1400px) {
    .hero-slider {
        max-height: 720px;
    }
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
}
.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-content .container {
    padding: 1rem;
}
.hero-content h2 {
    font-size: 2.5rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 600px;
}
.hero-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 1.5rem;
}
.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}
.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}
.hero-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.hero-dot.active { width: 2rem; background: var(--accent); }

/* Mobilde daha küçük ve altta */
@media (max-width: 768px) {
    .hero-dots {
        bottom: 0.75rem;
        gap: 0.5rem;
    }
    .hero-dot {
        width: 0.35rem;
        height: 0.35rem;
    }
    .hero-dot.active { 
        width: 1.25rem;
    }
}
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.hero-arrow:hover { background: rgba(0,0,0,0.5); }
.hero-arrow.prev { left: 1rem; }
.hero-arrow.next { right: 1rem; }

@media (max-width: 768px) {
    .hero-slider { 
        aspect-ratio: 16 / 9;
        max-height: 350px;
        min-height: 280px;
    }
    .hero-content h2 { font-size: 1.5rem; }
    .hero-content p { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .hero-slider { 
        aspect-ratio: 16 / 9;
        max-height: 300px;
        min-height: 250px;
    }
    .hero-content h2 { font-size: 1.3rem; }
    .hero-content p { font-size: 0.85rem; }
    .hero-badge { font-size: 0.7rem; padding: 0.2rem 0.5rem; }
    .hero-arrow {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    .hero-arrow.prev { left: 0.5rem; }
    .hero-arrow.next { right: 0.5rem; }
}

/* ============================================================
   Section Titles & Layout
   ============================================================ */
.section { padding: 4rem 0; }
.section-alt { background: var(--secondary); }

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 0.25rem;
    background: var(--accent);
    border-radius: 9999px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.section-header .section-title { margin-bottom: 0; }

.see-all {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}
.see-all:hover { text-decoration: underline; }

/* ============================================================
   Cards
   ============================================================ */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}
.card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.card:hover .card-img img { transform: scale(1.05); }
.card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    gap: 0.5rem;
}
.badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-accent { background: var(--accent); color: white; }
.badge-success { background: #16a34a; color: white; }
.badge-new { background: #dc2626; color: white; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

.card-body { padding: 1.25rem; }
.card-date { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.375rem; }
.card-title {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card:hover .card-title { color: var(--accent); }
.card-text { font-size: 0.875rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-readmore { font-size: 0.8rem; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 0.25rem; margin-top: 0.75rem; }

.card-placeholder {
    height: 140px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(100,116,139,0.2);
    font-family: 'Merriweather', serif;
}

/* Grid */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
    .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { opacity: 0.9; }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--foreground); }
.btn-outline:hover { background: var(--secondary); }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* ============================================================
   Page Banner (Breadcrumb area)
   ============================================================ */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 2.5rem 0;
}
.page-banner h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
}
.breadcrumb a { color: white; }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================================================
   Announcements + Stats Side-by-Side Layout
   ============================================================ */
.announcements-stats-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.announcements-col {}

.announcement-row {
    display: block;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s;
}
.announcement-row:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    border-color: var(--accent);
}

.stats-col {}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stats-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.2s;
}
.stats-box:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(42,58,92,0.08);
}
.stats-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.1;
    margin-bottom: 0.375rem;
}
.stats-label {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .announcements-stats-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--primary); color: white; padding: 3rem 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.footer p, .footer li { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.footer a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer a:hover { color: white; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.625rem; }
.footer-logo img { height: 4rem; margin-bottom: 1rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.625rem; margin-bottom: 0.75rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.2); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: white; }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Content / Prose
   ============================================================ */
.prose {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--foreground);
    white-space: pre-wrap;
}
.prose p { margin-bottom: 1rem; }

/* ============================================================
   President Section
   ============================================================ */
.president-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
}
.president-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 7rem;
}
.president-card img { width: 100%; height: 300px; object-fit: cover; object-position: top; }
.president-card-info { padding: 1.5rem; text-align: center; border-top: 1px solid var(--border); }
.president-card-info h3 { font-size: 1.25rem; font-weight: 700; }
.president-card-info p { font-size: 0.875rem; color: var(--accent); font-weight: 600; margin-top: 0.25rem; }

@media (max-width: 1024px) {
    .president-section { grid-template-columns: 1fr; }
}

/* ============================================================
   Institutions
   ============================================================ */
.institution-logo {
    background: transparent;
    border: none;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 160px;
    transition: all 0.3s;
}
.institution-logo:hover { 
    transform: translateY(-8px) scale(1.05);
}
.institution-logo img { 
    max-height: 100px; 
    max-width: 140px; 
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(80%) brightness(0.95);
    transition: all 0.3s ease;
}
.institution-logo:hover img {
    filter: grayscale(0%) brightness(1);
}

/* ============================================================
   Forms
   ============================================================ */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.375rem; color: var(--foreground); }
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-family: inherit;
    background: var(--card);
    transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 58, 92, 0.1);
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-switch { display: flex; align-items: center; gap: 0.5rem; }

/* ============================================================
   Admin Layout
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 16rem;
    background: var(--primary);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 50;
}
.admin-sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.admin-sidebar-header img { height: 2rem; }
.admin-sidebar-header span { font-weight: 700; font-family: 'Playfair Display', serif; font-size: 0.875rem; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
}
.admin-nav a:hover { background: rgba(255,255,255,0.1); color: white; }
.admin-nav a.active { background: rgba(255,255,255,0.2); color: white; }
.admin-main { margin-left: 16rem; flex: 1; }
.admin-header {
    height: 3.5rem;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 40;
}
.admin-header h1 { font-size: 1rem; font-weight: 700; }
.admin-header .user-email { margin-left: auto; font-size: 0.85rem; color: var(--muted); }
.admin-content { padding: 1.5rem; }

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}
.stat-card .count { font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-card .label { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }

/* Admin Table */
.admin-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.admin-table th { background: var(--secondary); text-align: left; padding: 0.75rem; font-size: 0.85rem; font-weight: 600; }
.admin-table td { padding: 0.75rem; font-size: 0.875rem; border-top: 1px solid var(--border); }
.admin-table tr:hover td { background: rgba(241,245,249,0.5); }
.admin-table .actions { display: flex; gap: 0.25rem; justify-content: flex-end; }
.admin-table .actions a, .admin-table .actions button {
    padding: 0.375rem;
    border: none;
    background: transparent;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--muted);
    transition: all 0.2s;
}
.admin-table .actions a:hover { color: var(--primary); background: var(--secondary); }
.admin-table .actions button:hover { color: var(--accent); background: var(--secondary); }

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}
.modal {
    background: var(--card);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 32rem;
    max-height: 80vh;
    overflow-y: auto;
    padding: 1.5rem;
    margin: 1rem;
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.modal-header h3 { font-size: 1.1rem; font-weight: 700; }
.modal-close { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: var(--muted); }
.modal-footer { display: flex; gap: 0.5rem; margin-top: 1.5rem; }

@media (max-width: 1024px) {
    .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
}

/* ============================================================
   Cookie Consent
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.cookie-banner p { font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   Alerts
   ============================================================ */
.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ============================================================
   Misc
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.gap-4 { gap: 1rem; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.inline-flex { display: inline-flex; align-items: center; gap: 0.375rem; }

/* ============================================================
   Hotels Slider
   ============================================================ */
.hotels-slider-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
}

.hotels-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1rem;
}

.hotels-slider::-webkit-scrollbar {
    display: none;
}

.hotel-slide {
    flex: 0 0 calc(33.333% - 0.67rem);
    min-width: 300px;
}

.hotels-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: var(--shadow-card);
}

.hotels-slider-arrow:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.hotels-slider-arrow.prev {
    left: -20px;
}

.hotels-slider-arrow.next {
    right: -20px;
}

@media (max-width: 1024px) {
    .hotel-slide {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

@media (max-width: 640px) {
    .hotel-slide {
        flex: 0 0 calc(100% - 1rem);
    }
    
    .hotels-slider-arrow {
        display: none;
    }
}