/* ===== Tatilcik.com Frontend Styles ===== */
/* Inspired by tatildeyap.com - Navy + Orange theme */

:root {
    --navy: #1e3a5f;
    --navy-dark: #142d4c;
    --navy-light: #2a4a6f;
    --orange: #f59e0b;
    --orange-hover: #d97706;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --green: #10b981;
    --red: #ef4444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--gray-900); background: var(--white); overflow-x: hidden; }
@media (max-width: 768px) {
    html, body { scrollbar-width: none; -ms-overflow-style: none; }
    html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky; top: 0; z-index: 100;
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; max-width: 1200px; margin: 0 auto;
}
.site-logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--navy); }
.site-logo span { color: var(--orange); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: 15px; font-weight: 500; color: var(--gray-700); transition: color 0.2s; }
.site-nav a:hover { color: var(--orange); }
.site-nav a.active { color: var(--orange); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-header { padding: 8px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; }
.btn-header-outline { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-header-outline:hover { background: var(--navy); color: var(--white); }
.btn-header-orange { background: var(--orange); color: var(--white); }
.btn-header-orange:hover { background: var(--orange-hover); }

/* Profile Dropdown */
.header-profile-dropdown { position: relative; }
.header-profile-btn { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.profile-dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; background: var(--white); border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.15); min-width: 200px; z-index: 1000; overflow: hidden; border: 1px solid var(--gray-200); }
.profile-dropdown-menu.show { display: block; animation: dropdownFadeIn .2s ease; }
.profile-dropdown-menu a { display: flex; align-items: center; padding: 12px 18px; font-size: 14px; font-weight: 500; color: var(--gray-700); transition: background .15s; }
.profile-dropdown-menu a:hover { background: var(--gray-50); }
.profile-dropdown-menu a.text-danger { color: var(--red); }
.profile-dropdown-menu a.text-danger:hover { background: #fef2f2; }
@keyframes dropdownFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ===== HERO ===== */
.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section.hero-white {
    background: var(--white);
    color: var(--dark);
    padding: 60px 0 40px;
}
.hero-section.hero-white::before { display: none; }
.hero-section.hero-white h1 {
    color: var(--navy); font-size: 2.4rem;
    position: relative; display: inline-block; margin-bottom: 12px;
}
.hero-section.hero-white h1::after {
    content: ''; display: block; width: 50px; height: 4px;
    background: var(--navy); border-radius: 2px;
    margin: 12px auto 0;
}
.hero-section.hero-white p { color: var(--gray-600); opacity: 1; margin-bottom: 32px; }
.hero-section.hero-white .hero-search {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); border: 1px solid #e5e7eb;
}
.hero-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-section .container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.hero-split { display: flex; align-items: center; gap: 60px; text-align: left; }
.hero-left { flex: 1; }
.hero-right { flex: 1; max-width: 480px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 50px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero-badge-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
    display: inline-block; animation: dotPulse 2s infinite;
}
@keyframes dotPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-section h1 { font-size: 3rem; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.hero-section p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 0; }
.hero-section p strong { opacity: 1; }
.hero-search-wrap { position: relative; }
.hero-search {
    max-width: 100%; margin: 0;
    display: flex; background: var(--white); border-radius: 12px; overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2); position: relative;
}
.hero-search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #9ca3af; font-size: 16px; z-index: 2; }
.hero-search input {
    flex: 1; padding: 18px 24px 18px 46px; border: none; font-size: 16px; outline: none; color: var(--gray-700);
    background: transparent; position: relative; z-index: 1;
}
.hero-search-placeholder {
    position: absolute; left: 46px; top: 50%; transform: translateY(-50%);
    font-size: 16px; color: #9ca3af; pointer-events: none; z-index: 0;
    white-space: nowrap; overflow: hidden;
}
.hero-search button {
    padding: 18px 28px; background: var(--orange); border: none; color: var(--white);
    font-size: 18px; cursor: pointer; transition: background 0.2s;
}
.hero-search button:hover { background: var(--orange-hover); }
.hero-search-results {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
    background: var(--white); border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); max-height: 320px; overflow-y: auto;
    display: none;
}
.hero-search-results.active { display: block; }
.search-result-item {
    display: flex; align-items: center; gap: 12px; padding: 12px 18px;
    text-decoration: none; color: var(--dark); transition: background 0.15s;
    border-bottom: 1px solid #f3f4f6;
}
.search-result-item:hover { background: #f9fafb; }
.search-result-item .result-icon {
    width: 36px; height: 36px; border-radius: 8px; background: #f3f4f6;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.search-result-item .result-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.search-result-item .result-icon i { color: #9ca3af; font-size: 14px; }
.search-result-item .result-info h5 { font-size: 14px; font-weight: 600; margin: 0; }
.search-result-item .result-info small { font-size: 12px; color: #9ca3af; }
.search-no-result { padding: 20px; text-align: center; color: #9ca3af; font-size: 14px; }
.hero-stats {
    display: flex; justify-content: flex-start; gap: 32px; margin-top: 24px;
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat-num { font-size: 28px; font-weight: 800; }
.hero-stats .stat-label { font-size: 13px; opacity: 0.7; }

/* Hero Category Header */
.hero-cat-header { text-align: center; margin-bottom: 24px; }
.hero-cat-header h2 {
    font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 6px;
    display: inline-block; position: relative;
}
.hero-cat-header h2::after {
    content: ''; display: block; width: 50px; height: 4px;
    background: var(--navy); border-radius: 2px; margin: 10px auto 0;
}
.hero-cat-header p { font-size: 15px; color: var(--gray-600); margin: 0; }

/* Hero Category Buttons */
.hero-category-buttons {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px;
}
.hero-cat-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 50px;
    background: var(--white); color: var(--dark); font-size: 14px; font-weight: 600;
    text-decoration: none; border: 1px solid #e5e7eb; transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.hero-cat-btn:hover { background: var(--orange); color: var(--white); border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(245,158,11,0.3); }
.hero-cat-btn:hover .hero-cat-icon { filter: brightness(0) invert(1); }
.hero-cat-icon { width: 20px; height: 20px; object-fit: contain; }
.hero-cat-btn i { font-size: 16px; color: var(--orange); }
.hero-cat-btn:hover i { color: var(--white); }

/* Hero Promotions */
.hero-promotions { padding: 32px 0 0; background: #f9fafb; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo-card {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 24px; background: var(--white); border-radius: 14px;
    border: 1px solid #e5e7eb; text-decoration: none; transition: all 0.25s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.promo-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: #d1d5db; }
.promo-card-content h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin: 0 0 4px; line-height: 1.4; }
.promo-subtitle { font-size: 13px; color: var(--orange); font-weight: 500; }
.promo-card-icon i { font-size: 36px; opacity: 0.85; }
@media (max-width: 768px) {
    .promo-grid { grid-template-columns: 1fr; }
    .hero-category-buttons { gap: 8px; }
    .hero-cat-btn { padding: 8px 16px; font-size: 13px; }
}

/* ===== SHOWCASE / VITRIN ===== */
.showcase-section { padding: 24px 0 40px; }
.showcase-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.showcase-grid.no-slider { grid-template-columns: 1fr; }
.showcase-grid.no-right { grid-template-columns: 1fr; }
.showcase-grid.no-right .showcase-right { display: none; }
.showcase-slider-wrap { position: relative; border-radius: 16px; overflow: hidden; height: 380px; background: #1a1a2e; }
.showcase-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.showcase-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s ease; cursor: pointer; pointer-events: none; z-index: 1; }
.showcase-slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.showcase-slide img { width: 100%; height: 100%; object-fit: cover; }
.showcase-slide-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 32px; background: linear-gradient(transparent, rgba(0,0,0,0.85));
    z-index: 3; pointer-events: none;
}
.showcase-slide-overlay .showcase-btn { pointer-events: auto; }
.showcase-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
    color: #fff; padding: 6px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 600; margin-bottom: 12px;
}
.showcase-badge i { color: #f59e0b; font-size: 11px; }
.showcase-slide-overlay h3 { color: #fff; font-size: 1.6rem; font-weight: 800; margin: 0 0 6px; }
.showcase-slide-overlay p { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0 0 16px; }
.showcase-btn {
    display: inline-block; background: #fff; color: #1a1a2e;
    padding: 10px 24px; border-radius: 24px; font-weight: 700;
    font-size: 14px; text-decoration: none; transition: all .3s;
}
.showcase-btn:hover { background: var(--orange); color: #fff; }
.showcase-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 40px; height: 40px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
    color: #fff; font-size: 16px; cursor: pointer; transition: all .3s;
}
.showcase-nav:hover { background: rgba(255,255,255,0.4); }
.showcase-prev { left: 16px; }
.showcase-next { right: 16px; }
.showcase-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 8px; }
.showcase-dot {
    width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4);
    cursor: pointer; transition: all .3s;
}
.showcase-dot.active { background: #fff; width: 24px; border-radius: 5px; }
.showcase-right { display: flex; flex-direction: column; gap: 20px; }
.showcase-card {
    position: relative; border-radius: 16px; overflow: hidden;
    flex: 1; min-height: 180px; text-decoration: none; display: block;
}
.showcase-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.showcase-card:hover img { transform: scale(1.05); }
.showcase-card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.75));
}
.showcase-card-overlay h4 { color: #fff; font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.showcase-card-btn {
    display: inline-block; background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px); color: #fff; padding: 6px 16px;
    border-radius: 20px; font-size: 12px; font-weight: 600;
    transition: all .3s;
}
.showcase-card:hover .showcase-card-btn { background: var(--orange); }
@media (max-width: 768px) {
    .showcase-section { padding: 16px 0 24px; }
    .showcase-grid { grid-template-columns: 1fr; overflow: hidden; }
    .showcase-slider-wrap { height: 220px; }
    .showcase-right { flex-direction: row; overflow: hidden; gap: 10px; }
    .showcase-card { min-height: 120px; max-height: 140px; }
    .showcase-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
    .showcase-slide-overlay { padding: 16px; }
    .showcase-slide-overlay h3 { font-size: 1.1rem; }
    .showcase-slide-overlay p { font-size: 12px; margin: 0 0 10px; }
    .showcase-btn { padding: 8px 16px; font-size: 12px; }
    .showcase-card-overlay { padding: 12px; }
    .showcase-card-overlay h4 { font-size: 0.85rem; margin: 0 0 4px; }
    .showcase-card-btn { padding: 4px 12px; font-size: 11px; }
    .showcase-nav { width: 32px; height: 32px; font-size: 13px; }
}

/* ===== SECTIONS ===== */
.section { padding: 60px 0; }
.section-light { background: var(--gray-50); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2rem; font-weight: 800; color: var(--gray-900); margin-bottom: 8px; }
.section-title p { color: var(--gray-500); font-size: 16px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== CATEGORY CARDS ===== */
/* ===== CATEGORY SLIDER ===== */
.category-slider-wrap { position: relative; overflow: hidden; }
.category-slider {
    display: flex; gap: 20px; transition: transform 0.4s ease;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    -ms-overflow-style: none; scrollbar-width: none; padding: 4px 0;
}
.category-slider::-webkit-scrollbar { display: none; }
.category-slide {
    flex: 0 0 calc(16.666% - 17px); min-width: 0; scroll-snap-align: start;
    display: block; background: var(--white); border-radius: 12px; padding: 24px 20px;
    text-align: center; transition: all 0.3s; border: 1px solid var(--gray-200);
    cursor: pointer; text-decoration: none;
}
.category-slide:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: var(--orange); }
.category-slide .cat-icon {
    width: 56px; height: 56px; border-radius: 12px; background: #fef3c7;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px; font-size: 24px; color: var(--orange);
}
.category-slide .cat-icon img { width: 40px; height: 40px; object-fit: contain; }
.category-slide h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--gray-900); }
.category-slide .cat-count { font-size: 13px; color: var(--gray-500); }
.cat-slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 40px; height: 40px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.95); box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    color: var(--gray-700); font-size: 14px; cursor: pointer; transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.cat-slider-nav:hover { background: var(--orange); color: #fff; }
.cat-slider-prev { left: 0; }
.cat-slider-next { right: 0; }
@media (max-width: 992px) { .category-slide { flex: 0 0 calc(25% - 15px); } }
@media (max-width: 768px) { .category-slide { flex: 0 0 calc(33.333% - 14px); } }
@media (max-width: 480px) { .category-slide { flex: 0 0 calc(50% - 10px); } }

/* ===== HEADLINE BENTO GRID ===== */
.headline-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}
.headline-bento .headline-card:first-child {
    grid-row: span 2;
}
.headline-card {
    position: relative; border-radius: 16px; overflow: hidden;
    display: block; text-decoration: none;
}
.headline-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s;
}
.headline-card:hover img { transform: scale(1.05); }
.headline-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}
.headline-overlay h3 {
    font-size: 15px; font-weight: 700; margin: 4px 0 0; line-height: 1.3;
}
.headline-bento .headline-card:first-child .headline-overlay h3 {
    font-size: 18px;
}
.headline-date {
    display: inline-block; font-size: 11px; background: rgba(255,255,255,0.2);
    padding: 3px 10px; border-radius: 20px; backdrop-filter: blur(4px);
}
.headline-badge {
    display: inline-block; font-size: 11px; background: rgba(255,255,255,0.25);
    padding: 3px 10px; border-radius: 20px; backdrop-filter: blur(4px); color: #fff;
}
.headline-cat {
    display: inline-block; font-size: 11px; color: rgba(255,255,255,0.8); margin-top: 4px;
}
@media (max-width: 768px) {
    .headline-bento {
        display: flex; overflow-x: auto; gap: 12px;
        scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none;
    }
    .headline-bento::-webkit-scrollbar { display: none; }
    .headline-bento .headline-card {
        flex: 0 0 280px; min-height: 220px; scroll-snap-align: start;
    }
    .headline-bento .headline-card:first-child {
        grid-row: auto;
    }
}

/* ===== HEADLINE 2 BENTO GRID ===== */
.headline2-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}
.headline2-bento .headline2-card:first-child {
    grid-row: span 2;
}
.headline2-card {
    position: relative; border-radius: 16px; overflow: hidden;
    display: block; text-decoration: none;
}
.headline2-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s;
}
.headline2-card:hover img { transform: scale(1.05); }
.headline2-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}
.headline2-overlay h3 {
    font-size: 14px; font-weight: 700; margin: 6px 0 0; line-height: 1.3;
}
.headline2-category {
    display: block; font-size: 11px; color: rgba(255,255,255,0.75);
    margin-top: 4px; font-weight: 400;
}
.headline2-bento .headline2-card:first-child .headline2-overlay h3 {
    font-size: 17px;
}
.headline2-date {
    display: inline-block; font-size: 11px; background: rgba(255,255,255,0.2);
    padding: 4px 12px; border-radius: 20px; backdrop-filter: blur(4px);
    color: #fff;
}
.headline2-info {
    position: absolute; top: 12px; right: 12px;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px;
    transition: background 0.3s;
}
.headline2-card:hover .headline2-info { background: var(--orange); }
.headline2-more-btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 12px 32px; border-radius: 30px;
    border: 1.5px solid var(--gray-300); background: var(--white);
    color: var(--gray-700); font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all 0.3s;
}
.headline2-more-btn span { color: var(--gray-400); font-weight: 400; }
.headline2-more-btn:hover { border-color: var(--orange); color: var(--orange); }
@media (max-width: 768px) {
    .headline2-bento {
        display: flex; overflow-x: auto; gap: 12px;
        scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none;
    }
    .headline2-bento::-webkit-scrollbar { display: none; }
    .headline2-bento .headline2-card {
        flex: 0 0 280px; min-height: 220px; scroll-snap-align: start;
    }
    .headline2-bento .headline2-card:first-child {
        grid-row: auto;
    }
}

/* ===== CATEGORY GRID (listing pages) ===== */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.category-card {
    display: block; background: var(--white); border-radius: 12px; padding: 24px 20px;
    text-align: center; transition: all 0.3s; border: 1px solid var(--gray-200);
    cursor: pointer; text-decoration: none; height: 100%;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: var(--orange); }
.category-card .cat-icon {
    width: 56px; height: 56px; border-radius: 12px; background: #fef3c7;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px; font-size: 24px; color: var(--orange);
}
.category-card .cat-icon img { width: 40px; height: 40px; object-fit: contain; }
.category-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--gray-900); }
.category-card .cat-count { font-size: 13px; color: var(--gray-500); }

/* ===== FIRM CARDS ===== */
.firm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.firm-card {
    background: var(--white); border-radius: 12px; overflow: hidden;
    border: 1px solid var(--gray-200); transition: all 0.3s;
}
.firm-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.firm-card-img {
    height: 180px; background: var(--gray-100);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.firm-card-img img { width: 100%; height: 100%; object-fit: cover; }
.firm-card-img .no-img { font-size: 48px; color: var(--gray-300); }
.firm-card-body { padding: 16px 20px; }
.firm-card-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.firm-card-body h3 a { color: var(--gray-900); }
.firm-card-body h3 a:hover { color: var(--orange); }
.firm-card-meta { font-size: 13px; color: var(--gray-500); display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.firm-card-meta span { display: flex; align-items: center; gap: 4px; }
.firm-card-meta i { font-size: 12px; }
.firm-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-top: 1px solid var(--gray-100); }
.firm-card-rating { color: var(--orange); font-size: 14px; }
.firm-card-badge { font-size: 11px; padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.badge-premium { background: #fef3c7; color: #92400e; }
.badge-verified { background: #d1fae5; color: #065f46; }

/* ===== BLOG SLIDER ===== */
.blog-slider-wrap { position: relative; overflow: hidden; }
.blog-slider {
    display: flex; gap: 24px; transition: transform 0.4s ease;
    scroll-behavior: smooth;
}
.blog-slider-item { flex: 0 0 calc(33.333% - 16px); min-width: 0; }
.blog-slider-item .blog-card { display: block; height: 100%; }
.blog-slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 44px; height: 44px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.95); box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    color: var(--gray-700); font-size: 16px; cursor: pointer; transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.blog-slider-nav:hover { background: var(--orange); color: #fff; box-shadow: 0 4px 16px rgba(245,158,11,0.4); }
.blog-slider-prev { left: 0; }
.blog-slider-next { right: 0; }
@media (max-width: 992px) { .blog-slider-item { flex: 0 0 calc(50% - 12px); } }
@media (max-width: 576px) { .blog-slider-item { flex: 0 0 100%; } }

/* ===== POPULAR CITIES BENTO ===== */
.popular-cities-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 170px;
    gap: 12px;
}
/* 1. ve 4. kart: büyük (2 satır, 4 sütun) */
.popular-cities-bento .popular-city-card:nth-child(1),
.popular-cities-bento .popular-city-card:nth-child(4) {
    grid-column: span 4;
    grid-row: span 2;
}
/* 2,3,5,6. kartlar: küçük (1 satır, 4 sütun) */
.popular-cities-bento .popular-city-card:nth-child(2),
.popular-cities-bento .popular-city-card:nth-child(3),
.popular-cities-bento .popular-city-card:nth-child(5),
.popular-cities-bento .popular-city-card:nth-child(6) {
    grid-column: span 4;
}
/* 7+ kartlar: alt sıra, 4 eşit (3 sütun) */
.popular-cities-bento .popular-city-card:nth-child(n+7) {
    grid-column: span 3;
}
.popular-city-card {
    position: relative; border-radius: 14px; overflow: hidden;
    display: block; text-decoration: none;
    background: var(--gray-100); transition: all 0.3s;
}
.popular-city-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.15); }
.popular-city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.popular-city-card:hover img { transform: scale(1.06); }
.popular-city-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: rgba(255,255,255,0.3); font-size: 48px;
}
.popular-city-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 14px 18px;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
    color: #fff;
}
.popular-city-overlay h4 {
    font-size: 14px; font-weight: 700; margin: 0 0 1px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
/* Büyük kartlarda daha büyük yazı */
.popular-cities-bento .popular-city-card:nth-child(1) .popular-city-overlay h4,
.popular-cities-bento .popular-city-card:nth-child(4) .popular-city-overlay h4 {
    font-size: 17px;
}
.popular-city-parent { font-size: 12px; opacity: 0.85; }
.popular-city-desc { display: block; font-size: 11px; opacity: 0.7; margin-top: 2px; line-height: 1.3; }
.popular-cities-btn {
    display: inline-block; padding: 12px 32px; border-radius: 10px;
    background: var(--navy); color: #fff; font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all 0.3s;
}
.popular-cities-btn:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(30,58,95,0.3); }
@media (max-width: 992px) {
    .popular-cities-bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; }
    .popular-cities-bento .popular-city-card:nth-child(1),
    .popular-cities-bento .popular-city-card:nth-child(4) { grid-column: span 3; grid-row: span 2; }
    .popular-cities-bento .popular-city-card:nth-child(2),
    .popular-cities-bento .popular-city-card:nth-child(3),
    .popular-cities-bento .popular-city-card:nth-child(5),
    .popular-cities-bento .popular-city-card:nth-child(6) { grid-column: span 3; }
    .popular-cities-bento .popular-city-card:nth-child(n+7) { grid-column: span 3; }
}
@media (max-width: 576px) {
    .popular-cities-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
    .popular-cities-bento .popular-city-card:nth-child(1),
    .popular-cities-bento .popular-city-card:nth-child(4) { grid-column: span 2; grid-row: span 2; }
    .popular-cities-bento .popular-city-card:nth-child(2),
    .popular-cities-bento .popular-city-card:nth-child(3),
    .popular-cities-bento .popular-city-card:nth-child(5),
    .popular-cities-bento .popular-city-card:nth-child(6),
    .popular-cities-bento .popular-city-card:nth-child(n+7) { grid-column: span 1; }
}

/* ===== BLOG CARDS ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 24px; }
.blog-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-200); transition: all 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.blog-card-img { height: 200px; background: var(--gray-100); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body h3 a:hover { color: var(--orange); }
.blog-card-body p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.blog-card-date { font-size: 12px; color: var(--gray-500); margin-top: 12px; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7);
    transition: all 0.2s;
}
.footer-social a:hover { background: var(--orange); color: var(--white); }
.footer-mobile-app { display: none; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--orange); }

/* ===== BREADCRUMB ===== */
.breadcrumb-bar { background: var(--gray-50); padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
.breadcrumb-bar .breadcrumb { margin: 0; font-size: 14px; }
.breadcrumb-bar .breadcrumb a { color: var(--gray-500); }
.breadcrumb-bar .breadcrumb a:hover { color: var(--orange); }

/* ===== SIDEBAR FILTERS ===== */
.filter-sidebar { background: var(--white); border-radius: 12px; border: 1px solid var(--gray-200); padding: 24px; }
.filter-sidebar h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.filter-sidebar .filter-group { margin-bottom: 20px; }
.filter-sidebar .filter-group label { font-size: 14px; font-weight: 600; margin-bottom: 8px; display: block; }
.filter-sidebar .form-select, .filter-sidebar .form-control { border-radius: 8px; }
.btn-search-orange { background: var(--orange); color: var(--white); border: none; border-radius: 8px; width: 100%; padding: 12px; font-weight: 600; cursor: pointer; }
.btn-search-orange:hover { background: var(--orange-hover); }
.btn-filter-reset { display: block; text-align: center; margin-top: 10px; font-size: 13px; color: var(--gray-500); text-decoration: underline; }
.btn-filter-reset:hover { color: var(--red); }
.mobile-filter-toggle { display: none; }
.filter-overlay { display: none; }
@media (max-width: 991px) {
    .mobile-filter-toggle {
        display: flex; align-items: center; justify-content: center;
        width: 100%; padding: 12px; margin-bottom: 16px;
        background: var(--white); border: 1.5px solid var(--gray-200);
        border-radius: 10px; font-size: 14px; font-weight: 600;
        color: var(--gray-700); cursor: pointer; transition: all 0.2s;
    }
    .mobile-filter-toggle:hover { border-color: var(--orange); color: var(--orange); }
    .filter-count-badge {
        display: inline-flex; align-items: center; justify-content: center;
        min-width: 20px; height: 20px; border-radius: 10px;
        background: var(--orange); color: #fff; font-size: 11px;
        font-weight: 700; margin-left: 8px;
    }
    .filter-sidebar {
        position: fixed; bottom: 0; left: 0; right: 0; z-index: 1100;
        border-radius: 20px 20px 0 0; border: none;
        box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
        transform: translateY(100%); transition: transform 0.3s ease;
        max-height: 80vh; overflow-y: auto; padding: 24px 20px 32px;
    }
    .filter-sidebar.open { transform: translateY(0); }
    .filter-overlay.open {
        display: block; position: fixed; inset: 0; z-index: 1090;
        background: rgba(0,0,0,0.4);
    }
}

/* ===== DETAIL PAGE ===== */
.firm-detail-header { background: var(--white); border-radius: 12px; border: 1px solid var(--gray-200); padding: 24px; margin-bottom: 24px; }
.firm-detail-header .firm-logo { width: 80px; height: 80px; border-radius: 12px; overflow: hidden; }
.firm-detail-header .firm-logo img { width: 100%; height: 100%; object-fit: cover; }
.firm-info-card { background: var(--white); border-radius: 12px; border: 1px solid var(--gray-200); padding: 24px; margin-bottom: 24px; }
.firm-info-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }

/* Firm Contact Buttons */
.firm-contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.firm-contact-btn {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; font-size: 18px;
    text-decoration: none; transition: all 0.2s; border: 1px solid transparent;
}
.firm-contact-btn i { font-size: 18px; }
.firm-contact-phone { background: #eef2ff; color: #4f46e5; border-color: #c7d2fe; }
.firm-contact-phone:hover { background: #4f46e5; color: #fff; }
.firm-contact-whatsapp { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.firm-contact-whatsapp:hover { background: #059669; color: #fff; }
.firm-contact-email { background: #fef3c7; color: #d97706; border-color: #fde68a; }
.firm-contact-email:hover { background: #d97706; color: #fff; }
.firm-contact-web { background: #f0f9ff; color: #0284c7; border-color: #bae6fd; }
.firm-contact-web:hover { background: #0284c7; color: #fff; }
.firm-contact-map { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.firm-contact-map:hover { background: #dc2626; color: #fff; }
.firm-address-text { margin-top: 14px; padding-top: 14px; border-top: 1px solid #f3f4f6; font-size: 14px; color: #6b7280; }

/* Firm Stats */
.firm-stats-grid { display: flex; gap: 16px; }
.firm-stat-item {
    flex: 1; text-align: center; padding: 16px 12px; border-radius: 12px;
    background: #f9fafb; border: 1px solid #f3f4f6;
}
.firm-stat-item i { font-size: 22px; color: #f59e0b; margin-bottom: 8px; }
.firm-stat-value { font-size: 22px; font-weight: 800; color: #1f2937; }
.firm-stat-label { font-size: 12px; color: #9ca3af; margin-top: 2px; }

/* Photo Slider */
.firm-photo-gallery { position: relative; }
.firm-photo-slider {
    display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -ms-overflow-style: none;
}
.firm-photo-slider::-webkit-scrollbar { display: none; }
.firm-photo-item {
    flex: 0 0 calc(33.333% - 6px); scroll-snap-align: start;
    border-radius: 10px; overflow: hidden; cursor: pointer; position: relative;
}
.firm-photo-item img { width: 100%; height: 160px; object-fit: cover; transition: transform 0.3s; display: block; }
.firm-photo-item:hover img { transform: scale(1.05); }
.photo-slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 34px; height: 34px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.9); box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: #374151; transition: all 0.2s;
}
.photo-slider-btn:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.photo-slider-prev { left: 8px; }
.photo-slider-next { right: 8px; }

/* Photo Popup / Lightbox */
.photo-popup-overlay {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
}
.photo-popup-overlay.active { display: flex; }
.photo-popup-close {
    position: absolute; top: 16px; right: 20px; z-index: 10;
    background: none; border: none; color: #fff; font-size: 36px;
    cursor: pointer; line-height: 1; opacity: 0.7; transition: opacity 0.2s;
}
.photo-popup-close:hover { opacity: 1; }
.photo-popup-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    background: rgba(255,255,255,0.15); border: none; color: #fff;
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    transition: background 0.2s;
}
.photo-popup-nav:hover { background: rgba(255,255,255,0.3); }
.photo-popup-prev { left: 20px; }
.photo-popup-next { right: 20px; }
.photo-popup-img-wrap { text-align: center; max-width: 90vw; max-height: 85vh; }
.photo-popup-img-wrap img { max-width: 100%; max-height: 80vh; border-radius: 8px; object-fit: contain; }
.photo-popup-counter {
    color: rgba(255,255,255,0.7); font-size: 14px; text-align: center;
    margin-top: 12px;
}
@media (max-width: 768px) {
    .firm-photo-item { flex: 0 0 calc(50% - 4px); }
    .firm-photo-item img { height: 130px; }
    .photo-popup-nav { width: 38px; height: 38px; font-size: 16px; }
    .photo-popup-prev { left: 8px; }
    .photo-popup-next { right: 8px; }
}
@media (max-width: 480px) {
    .firm-contact-buttons { gap: 8px; }
    .firm-contact-btn { width: 40px; height: 40px; font-size: 16px; }
}

/* ===== FORMS (frontend) ===== */
.form-page { max-width: 600px; margin: 40px auto; }
.form-page .form-card { background: var(--white); border-radius: 12px; border: 1px solid var(--gray-200); padding: 32px; }
.form-page h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.form-page .subtitle { color: var(--gray-500); margin-bottom: 24px; }
.btn-orange-full { width: 100%; padding: 14px; background: var(--orange); border: none; border-radius: 8px; color: var(--white); font-size: 16px; font-weight: 600; cursor: pointer; }
.btn-orange-full:hover { background: var(--orange-hover); }

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: var(--white);
    border-top: none;
    box-shadow: 0 -2px 24px rgba(0,0,0,0.1);
    padding: 8px 0 env(safe-area-inset-bottom, 8px);
    border-radius: 20px 20px 0 0;
}
.mobile-bottom-nav .nav-items {
    display: flex; align-items: flex-end; justify-content: space-around;
    max-width: 500px; margin: 0 auto; position: relative;
}
.mobile-bottom-nav .nav-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 3px; padding: 6px 0; flex: 1;
    color: var(--gray-400); font-size: 10px; font-weight: 600;
    transition: color 0.2s; text-decoration: none;
}
.mobile-bottom-nav .nav-item i { font-size: 20px; }
.mobile-bottom-nav .nav-item.active { color: var(--orange); }
.mobile-bottom-nav .nav-item:hover { color: var(--orange); }
.mobile-bottom-nav .nav-item-center {
    position: relative; top: -18px;
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
    color: var(--white) !important;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(245,158,11,0.4);
    font-size: 24px !important; flex: none;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: pulse-center 2s ease-in-out infinite;
}
@keyframes pulse-center {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(245,158,11,0.4); }
    50% { transform: scale(1.1); box-shadow: 0 6px 28px rgba(245,158,11,0.6); }
}
.mobile-bottom-nav .nav-item-center:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(245,158,11,0.5);
    animation: none;
}
.mobile-bottom-nav .nav-item-center span { display: none; }
.mobile-bottom-nav .nav-item-center i { font-size: 24px; }

/* ===== HAMBURGER MENU ===== */
.hamburger-btn {
    display: none; background: none; border: none; font-size: 24px;
    color: var(--navy); cursor: pointer; padding: 4px 8px;
}
.mobile-menu-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 1050; opacity: 0; transition: opacity 0.3s;
}
.mobile-menu-overlay.active { display: block; opacity: 1; }
.mobile-menu-panel {
    position: fixed; top: 0; right: -300px; width: 280px; height: 100%;
    background: var(--white); z-index: 1060; transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15); overflow-y: auto;
    display: flex; flex-direction: column;
    padding-bottom: 80px;
}
.mobile-menu-panel.active { right: 0; }
.mobile-menu-panel .menu-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; border-bottom: 1px solid var(--gray-200);
}
.mobile-menu-panel .menu-header h4 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0; }
.mobile-menu-panel .menu-close {
    background: none; border: none; font-size: 22px; color: var(--gray-500); cursor: pointer;
}
.mobile-menu-panel .menu-links { padding: 16px 0; flex: 1; }
.mobile-menu-panel .menu-links a {
    display: flex; align-items: center; gap: 12px; padding: 12px 20px;
    font-size: 15px; font-weight: 500; color: var(--gray-700); transition: all 0.2s;
}
.mobile-menu-panel .menu-links a:hover, .mobile-menu-panel .menu-links a.active {
    background: #fef3c7; color: var(--orange);
}
.mobile-menu-panel .menu-links a i { width: 20px; text-align: center; font-size: 16px; }
.mobile-menu-panel .menu-footer {
    padding: 16px 20px; border-top: 1px solid var(--gray-200);
    display: flex; flex-direction: column; gap: 8px;
    margin-top: auto;
}
.mobile-menu-panel .menu-footer a,
.mobile-menu-panel .menu-footer button {
    display: block; width: 100%; text-align: center; box-sizing: border-box;
}

/* ===== AUTH MODAL ===== */
.auth-modal-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    z-index: 2000; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
}
.auth-modal-overlay.active { display: flex; opacity: 1; }
.auth-modal {
    background: var(--white); border-radius: 16px; width: 420px; max-width: 92vw;
    max-height: 92vh; overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(20px); transition: transform 0.3s;
    animation: modalSlideUp 0.3s ease forwards;
}
.auth-modal::-webkit-scrollbar { width: 4px; }
.auth-modal::-webkit-scrollbar-track { background: transparent; }
.auth-modal::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }
@keyframes modalSlideUp { to { transform: translateY(0); } }
.auth-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px 0;
}
.auth-modal-header h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin: 0; }
.auth-modal-close {
    background: none; border: none; font-size: 22px; color: var(--gray-500);
    cursor: pointer; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.auth-modal-close:hover { background: var(--gray-100); }
.auth-tabs {
    display: flex; margin: 16px 24px 0; border-bottom: 2px solid var(--gray-200);
}
.auth-tab {
    flex: 1; padding: 12px; text-align: center; font-size: 14px; font-weight: 600;
    color: var(--gray-500); background: none; border: none; cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s;
}
.auth-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.auth-tab:hover { color: var(--orange); }
.auth-modal-body { padding: 20px 24px; }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-modal-body .mb-3 { margin-bottom: 12px !important; }
.auth-modal-body .form-label { font-size: 13px; margin-bottom: 4px; }
.auth-modal-body .form-control {
    border-radius: 10px; padding: 10px 14px; border: 1.5px solid var(--gray-200);
    font-size: 14px; transition: border-color 0.2s;
}
.auth-modal-body .form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,158,11,0.1); }
.auth-modal-body .form-label { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.auth-modal-body .btn-auth {
    width: 100%; padding: 13px; border: none; border-radius: 10px;
    font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
    color: var(--white);
}
.auth-modal-body .btn-auth:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,158,11,0.4); }
.auth-modal-body .btn-auth:disabled { opacity: 0.6; transform: none; }

/* Password Strength */
.password-strength { margin-top: 6px; }
.strength-bar { height: 4px; background: var(--gray-200); border-radius: 2px; overflow: hidden; }
.strength-fill { height: 100%; width: 0; border-radius: 2px; transition: width 0.3s, background 0.3s; }
.strength-text { font-size: 11px; margin-top: 2px; display: inline-block; }

/* Auth Agreements */
.auth-agreements { margin-bottom: 12px; }
.agreement-check {
    display: flex; align-items: flex-start; gap: 8px; margin-bottom: 6px;
    font-size: 12px; color: var(--gray-600); cursor: pointer;
}
.agreement-check input[type="checkbox"] { margin-top: 2px; accent-color: var(--orange); }
.agreement-check a { color: var(--orange); font-weight: 600; text-decoration: underline; }
.auth-modal-body .divider {
    display: flex; align-items: center; gap: 12px; margin: 16px 0;
    font-size: 12px; color: var(--gray-500);
}
.auth-modal-body .divider::before, .auth-modal-body .divider::after {
    content: ''; flex: 1; height: 1px; background: var(--gray-200);
}
.auth-error { color: var(--red); font-size: 13px; margin-bottom: 12px; display: none; padding: 8px 12px; background: #fef2f2; border-radius: 8px; }
.auth-error.show { display: block; }
.auth-success { color: var(--green); font-size: 13px; margin-bottom: 12px; display: none; padding: 8px 12px; background: #f0fdf4; border-radius: 8px; }
.auth-success.show { display: block; }

/* ===== PROFILE DASHBOARD ===== */
.profile-header-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-radius: 16px; padding: 32px; color: var(--white); margin-bottom: 24px;
    position: relative; overflow: hidden;
}
.profile-header-card::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 300px; height: 300px;
    border-radius: 50%; background: rgba(245,158,11,0.1);
}
.profile-header-card .profile-info { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; }
.profile-avatar {
    width: 72px; height: 72px; border-radius: 50%; background: var(--orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 800; color: var(--white);
    border: 3px solid rgba(255,255,255,0.3);
}
.profile-details h2 { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.profile-details p { opacity: 0.7; font-size: 14px; margin: 0; }
.profile-stats-row {
    display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.profile-stat-card {
    flex: 1; min-width: 150px; background: var(--white); border-radius: 12px;
    padding: 20px; border: 1px solid var(--gray-200);
    display: flex; align-items: center; gap: 16px; transition: all 0.2s;
}
.profile-stat-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.profile-stat-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.profile-stat-icon.blue { background: #dbeafe; color: #2563eb; }
.profile-stat-icon.green { background: #d1fae5; color: #059669; }
.profile-stat-icon.orange { background: #fef3c7; color: #d97706; }
.profile-stat-icon.purple { background: #ede9fe; color: #7c3aed; }
.profile-stat-num { font-size: 24px; font-weight: 800; color: var(--gray-900); line-height: 1; }
.profile-stat-label { font-size: 12px; color: var(--gray-500); }
.profile-section {
    background: var(--white); border-radius: 12px; border: 1px solid var(--gray-200);
    margin-bottom: 24px; overflow: hidden;
}
.profile-section-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 24px; border-bottom: 1px solid var(--gray-100);
}
.profile-section-header h4 { font-size: 16px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 8px; }
.profile-section-body { padding: 20px 24px; }
.firm-status-timeline { display: flex; flex-direction: column; gap: 16px; }
.firm-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-radius: 10px; border: 1px solid var(--gray-100);
    transition: all 0.2s;
}
.firm-row:hover { border-color: var(--orange); background: #fffbeb; }
.firm-row-info { display: flex; align-items: center; gap: 12px; }
.firm-row-icon {
    width: 40px; height: 40px; border-radius: 10px; background: var(--gray-100);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--navy); overflow: hidden;
}
.firm-row-icon img { width: 100%; height: 100%; object-fit: cover; }
.firm-row-name { font-size: 14px; font-weight: 600; color: var(--gray-900); }
.firm-row-meta { font-size: 12px; color: var(--gray-500); }
.firm-row-actions { display: flex; align-items: center; gap: 8px; }
.btn-sm-outline {
    padding: 6px 14px; border-radius: 8px; font-size: 12px; font-weight: 600;
    border: 1.5px solid var(--gray-200); background: var(--white); color: var(--gray-700);
    cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-sm-outline:hover { border-color: var(--orange); color: var(--orange); }
.quick-actions {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px;
}
.quick-action-btn {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 20px 12px; border-radius: 12px; border: 1.5px solid var(--gray-200);
    background: var(--white); cursor: pointer; transition: all 0.2s; text-decoration: none;
    color: var(--gray-700);
}
.quick-action-btn:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.quick-action-btn i { font-size: 24px; }
.quick-action-btn span { font-size: 12px; font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body { font-size: 13px; }
    .site-nav { display: none; }
    .header-actions { display: none; }
    .hamburger-btn { display: block; }
    .mobile-bottom-nav { display: block; }
    .hero-section h1 { font-size: 1.6rem; }
    .hero-section p { font-size: 0.95rem; }
    .hero-split { flex-direction: column; gap: 24px; text-align: left; }
    .hero-right { max-width: 100%; width: 100%; }
    .hero-stats { justify-content: flex-start; gap: 20px; margin-top: 16px; }
    .hero-stats .stat-num { font-size: 20px; }
    .hero-stats .stat-label { font-size: 11px; }
    .hero-search { flex-direction: row; }
    .hero-cat-header h2 { font-size: 1.4rem; }
    .hero-cat-header p { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .hero-category-buttons { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 8px; -webkit-overflow-scrolling: touch; padding-bottom: 4px; -ms-overflow-style: none; scrollbar-width: none; }
    .hero-category-buttons::-webkit-scrollbar { display: none; }
    .hero-cat-btn { flex-shrink: 0; padding: 8px 16px; font-size: 13px; }
    .section-title h2 { font-size: 1.3rem; }
    .section-title p { font-size: 13px; }
    /* Mobile App-style Footer */
    .site-footer { padding: 32px 0 0; }
    .site-footer .container > .footer-grid { display: none; }
    .footer-mobile-app { display: block !important; padding: 0 16px 20px; }
    .footer-mobile-app .footer-app-brand { text-align: center; margin-bottom: 20px; }
    .footer-mobile-app .footer-app-brand h4 { color: var(--white); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
    .footer-mobile-app .footer-app-brand p { font-size: 12px; color: rgba(255,255,255,0.5); margin: 0; }
    .footer-mobile-app .footer-app-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
    .footer-mobile-app .footer-app-links a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 500; transition: all 0.2s; }
    .footer-mobile-app .footer-app-links a:hover { background: rgba(255,255,255,0.15); color: var(--white); }
    .footer-mobile-app .footer-app-links a i { font-size: 16px; width: 20px; text-align: center; color: var(--orange); }
    .footer-mobile-app .footer-app-social { display: flex; justify-content: center; gap: 12px; margin-bottom: 16px; }
    .footer-mobile-app .footer-app-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 16px; transition: all 0.2s; }
    .footer-mobile-app .footer-app-social a:hover { background: var(--orange); color: var(--white); }
    .footer-mobile-app .footer-app-contact { text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 12px; }
    .footer-mobile-app .footer-app-contact a { color: rgba(255,255,255,0.5); }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 11px; }
    .firm-grid { display: flex; overflow-x: auto; gap: 16px; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; }
    .firm-grid::-webkit-scrollbar { display: none; }
    .firm-grid .firm-card { min-width: 280px; flex-shrink: 0; scroll-snap-align: start; }
    .blog-grid { display: flex; overflow-x: auto; gap: 16px; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; }
    .blog-grid::-webkit-scrollbar { display: none; }
    .blog-grid .blog-card-item { min-width: 280px; flex-shrink: 0; scroll-snap-align: start; }
    .site-footer { padding-bottom: 80px; }
    .section:last-of-type { padding-bottom: 80px; }
    .profile-header-card .profile-info { flex-direction: column; text-align: center; }
    .profile-stats-row { flex-direction: column; }
    .quick-actions { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .auth-modal { margin: 8px; }
}

/* ===== Firm Posts Slider (firma-detay) ===== */
.firm-posts-slider-wrap { position: relative; }
.firm-posts-slider {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -ms-overflow-style: none; padding: 4px 0;
}
.firm-posts-slider::-webkit-scrollbar { display: none; }
.firm-post-card {
    flex: 0 0 220px; scroll-snap-align: start; border-radius: 12px;
    background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s;
}
.firm-post-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.firm-post-cover { position: relative; height: 140px; overflow: hidden; background: var(--gray-100); }
.firm-post-cover img { width: 100%; height: 100%; object-fit: cover; }
.firm-post-no-img { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--gray-400); font-size: 28px; }
.firm-post-price {
    position: absolute; bottom: 8px; right: 8px; background: var(--orange);
    color: #fff; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 700;
}
.firm-post-info { padding: 10px 12px; }
.firm-post-info h5 { font-size: 13px; font-weight: 700; margin: 0 0 4px; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.firm-post-date, .firm-post-loc { display: block; font-size: 11px; color: var(--gray-500); }
@media (max-width: 768px) {
    .firm-post-card { flex: 0 0 180px; }
    .firm-post-cover { height: 110px; }
}

/* ===== Post Detail Page ===== */
.post-detail-cover { border-radius: 14px; overflow: hidden; margin-bottom: 20px; max-height: 420px; }
.post-detail-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-detail-header { margin-bottom: 20px; }
.post-detail-header h1 { font-size: 26px; font-weight: 800; color: var(--navy); margin: 0 0 10px; }
.post-detail-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--gray-500); }
.post-detail-meta a { color: var(--orange); text-decoration: none; }
.post-detail-meta a:hover { text-decoration: underline; }
.post-price-badge { background: var(--orange); color: #fff; padding: 2px 10px; border-radius: 6px; font-weight: 700; }
.post-detail-content { font-size: 15px; line-height: 1.8; color: var(--gray-700); margin-bottom: 24px; }
.post-detail-gallery { margin-bottom: 24px; }
.post-detail-gallery h4, .post-detail-icons h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.post-gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px;
}
.post-gallery-item { border-radius: 10px; overflow: hidden; cursor: pointer; height: 110px; transition: transform 0.2s; }
.post-gallery-item:hover { transform: scale(1.03); }
.post-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.post-detail-icons { margin-bottom: 24px; }
.post-icons-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.post-icon-item {
    display: flex; align-items: center; gap: 8px; background: var(--gray-50); padding: 8px 14px;
    border-radius: 8px; font-size: 13px; color: var(--gray-700);
}
.post-icon-item i { font-size: 16px; color: var(--orange); }

/* Post Sidebar Cards */
.post-sidebar-card {
    background: var(--white); border-radius: 12px; padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 14px;
}
.post-sidebar-card h5 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.post-price-card { text-align: center; background: linear-gradient(135deg, var(--orange), var(--orange-hover)); color: #fff; }
.post-sidebar-price { font-size: 28px; font-weight: 800; }
.post-sidebar-date { font-size: 13px; opacity: 0.85; margin-top: 4px; }
.post-contact-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px; border-radius: 10px; font-size: 14px; font-weight: 600;
    text-decoration: none; transition: opacity 0.2s; margin-bottom: 8px;
}
.post-contact-btn:last-child { margin-bottom: 0; }
.post-contact-btn:hover { opacity: 0.85; }
.post-contact-btn.whatsapp { background: #25d366; color: #fff; }
.post-contact-btn.phone { background: var(--gray-100); color: var(--gray-700); }
.post-social-links { display: flex; flex-direction: column; gap: 8px; }
.post-social-link {
    display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 8px;
    font-size: 13px; font-weight: 600; text-decoration: none; transition: opacity 0.2s;
}
.post-social-link:hover { opacity: 0.8; }
.post-social-link.website { background: #f0f4ff; color: #1e3a5f; }
.post-social-link.facebook { background: #e7f0ff; color: #1877f2; }
.post-social-link.instagram { background: #fce4ec; color: #e4405f; }
.post-social-link.twitter { background: #e8f5fd; color: #1da1f2; }
@media (max-width: 768px) {
    .post-detail-header h1 { font-size: 20px; }
    .post-detail-cover { max-height: 260px; border-radius: 10px; }
    .post-detail-header, .post-detail-content, .post-detail-gallery, .post-detail-icons { padding: 0 16px; }
    .post-sidebar-card { margin-left: 16px; margin-right: 16px; }
    .post-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

/* ===== Splash Screen ===== */
.splash-screen {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2744 100%);
    z-index: 99999; align-items: center; justify-content: center; flex-direction: column;
}
.splash-screen.active { display: flex; }
.splash-screen.fade-out { animation: splashFadeOut 0.5s ease forwards; }
.splash-content { text-align: center; animation: splashPulse 1.5s ease-in-out; }
.splash-logo { width: 120px; height: auto; margin-bottom: 16px; }
.splash-title { font-size: 28px; font-weight: 800; color: #fff; margin: 0 0 6px; }
.splash-subtitle { font-size: 14px; color: rgba(255,255,255,0.7); margin: 0 0 28px; }
.splash-loader { display: flex; justify-content: center; }
.splash-spinner {
    width: 32px; height: 32px; border: 3px solid rgba(255,255,255,0.2);
    border-top-color: #f59e0b; border-radius: 50%; animation: spinAnim 0.8s linear infinite;
}
@keyframes spinAnim { to { transform: rotate(360deg); } }
@keyframes splashFadeOut { to { opacity: 0; visibility: hidden; } }
@keyframes splashPulse { 0% { opacity: 0; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } }

/* ===== Onboarding ===== */
.onboarding-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #fff; z-index: 99998;
}
.onboarding-overlay.active { display: flex; }
.onboarding-overlay.fade-out { animation: splashFadeOut 0.4s ease forwards; }
.onboarding-container {
    width: 100%; height: 100%; display: flex; flex-direction: column;
    position: relative; overflow: hidden;
}
.onboarding-skip {
    position: absolute; top: 16px; right: 20px; z-index: 10;
    background: none; border: none; color: var(--gray-500); font-size: 14px;
    font-weight: 600; cursor: pointer; padding: 8px;
}
.onboarding-slides {
    flex: 1; display: flex; transition: transform 0.35s ease;
}
.onboarding-slide {
    min-width: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; padding: 40px 30px; text-align: center;
}
.onboarding-icon {
    width: 100px; height: 100px; border-radius: 50%;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 28px;
}
.onboarding-icon i { font-size: 40px; color: var(--orange); }
.onboarding-slide h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin: 0 0 12px; }
.onboarding-slide p { font-size: 15px; color: var(--gray-500); line-height: 1.6; max-width: 320px; margin: 0; }
.onboarding-cta {
    margin-top: 24px; padding: 14px 40px; border-radius: 12px; border: none;
    background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff;
    font-size: 16px; font-weight: 700; cursor: pointer;
}
.onboarding-dots {
    display: flex; justify-content: center; gap: 8px; padding: 16px 0;
}
.onboarding-dots .dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); transition: all 0.3s;
}
.onboarding-dots .dot.active { width: 24px; border-radius: 4px; background: var(--orange); }
.onboarding-nav {
    display: flex; justify-content: space-between; padding: 12px 24px 28px;
}
.onboarding-prev, .onboarding-next {
    width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gray-200);
    background: #fff; font-size: 16px; color: var(--navy); cursor: pointer; transition: all 0.2s;
}
.onboarding-prev:hover, .onboarding-next:hover { background: var(--gray-50); border-color: var(--orange); color: var(--orange); }
.onboarding-prev:disabled { opacity: 0.3; cursor: default; }

/* ===== Cookie Consent Banner ===== */
.cookie-consent-banner {
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999;
    background: rgba(30, 58, 95, 0.97); backdrop-filter: blur(10px);
    padding: 16px 0; box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-consent-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cookie-consent-text { display: flex; align-items: center; gap: 12px; flex: 1; }
.cookie-consent-text .cookie-icon { font-size: 24px; color: #f59e0b; flex-shrink: 0; }
.cookie-consent-text p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.9); line-height: 1.5; }
.cookie-consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
    padding: 10px 22px; border-radius: 8px; border: none; font-size: 13px;
    font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.cookie-accept { background: #f59e0b; color: #fff; }
.cookie-accept:hover { background: #d97706; }
.cookie-reject { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.2); }
.cookie-reject:hover { background: rgba(255,255,255,0.2); }
@media (max-width: 768px) {
    .cookie-consent-banner { padding: 10px 0; }
    .cookie-consent-inner { flex-direction: column; text-align: center; gap: 10px; padding: 0 12px; }
    .cookie-consent-text { flex-direction: row; gap: 8px; text-align: left; }
    .cookie-consent-text .cookie-icon { font-size: 18px; }
    .cookie-consent-text p { font-size: 11px; line-height: 1.4; }
    .cookie-consent-actions { width: 100%; gap: 6px; }
    .cookie-btn { flex: 1; padding: 8px 14px; font-size: 11px; border-radius: 6px; }
}

/* Hide splash & onboarding on desktop */
@media (min-width: 769px) {
    .splash-screen, .onboarding-overlay { display: none !important; }
}

/* ===== NAV GRADIENT LINK ===== */
.nav-gradient {
    background: linear-gradient(135deg, #f59e0b, #ef4444, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700 !important;
    position: relative;
}
.nav-gradient::after {
    content: '';
    position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px;
    background: linear-gradient(135deg, #f59e0b, #ef4444, #ec4899);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.nav-gradient:hover::after, .nav-gradient.active::after { transform: scaleX(1); }

/* ===== ROLE TOGGLE ===== */
.role-toggle-wrap {
    display: flex; gap: 0; margin-bottom: 14px;
    background: var(--gray-100); border-radius: 10px; padding: 3px;
}
.role-toggle-btn {
    flex: 1; padding: 8px 14px; border: none; background: transparent;
    border-radius: 8px; font-size: 13px; font-weight: 600;
    color: var(--gray-500); cursor: pointer; transition: all 0.25s;
}
.role-toggle-btn.active {
    background: #fff; color: var(--navy);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.role-toggle-btn i { font-size: 12px; }

/* ===== ROTA TASARLA PAGE ===== */
/* Landing / My Routes page */
.rota-landing-hero {
    text-align: center; padding: 48px 20px;
    background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(239,68,68,0.06));
    border-radius: 16px; margin-bottom: 32px;
}
.rota-landing-hero .rota-icon-wrap {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
    background: linear-gradient(135deg, #f59e0b, #ef4444, #ec4899);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #fff;
}
.rota-landing-hero h1 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.rota-landing-hero p { font-size: 15px; color: var(--gray-500); margin-bottom: 24px; }
.btn-rota-create {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
    background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff;
    border: none; border-radius: 12px; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-rota-create:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,0.35); }

/* Route list cards */
.rota-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.rota-list-card {
    background: var(--white); border-radius: 14px; padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all 0.2s;
    border: 1.5px solid var(--gray-200); position: relative;
}
.rota-list-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.rota-list-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.rota-list-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0; }
.rota-list-card-meta { display: flex; gap: 12px; font-size: 13px; color: var(--gray-500); margin-bottom: 12px; }
.rota-list-card-meta i { margin-right: 4px; }
.rota-status-badge {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.rota-status-badge.taslak { background: #fef3c7; color: #92400e; }
.rota-status-badge.yayinda { background: #d1fae5; color: #065f46; }
.rota-list-card-actions { display: flex; gap: 8px; }
.rota-list-card-actions a, .rota-list-card-actions button {
    padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
    border: none; cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.btn-rota-edit { background: var(--orange); color: #fff; }
.btn-rota-edit:hover { background: #d97706; }
.btn-rota-share { background: var(--gray-100); color: var(--navy); }
.btn-rota-share:hover { background: var(--gray-200); }
.btn-rota-delete { background: none; color: var(--gray-400); font-size: 14px; padding: 8px 10px; }
.btn-rota-delete:hover { color: #ef4444; }

/* ===== ROTA BUILDER (create/edit) ===== */
.rota-builder { display: flex; height: calc(100vh - 80px); overflow: hidden; }
.rota-sidebar {
    width: 420px; min-width: 420px; background: var(--white);
    border-right: 1.5px solid var(--gray-200); display: flex; flex-direction: column;
    overflow: hidden;
}
.rota-sidebar-header {
    padding: 20px; border-bottom: 1px solid var(--gray-200);
    background: #fafafa;
}
.rota-sidebar-header input[type="text"] {
    width: 100%; border: none; background: transparent; font-size: 18px;
    font-weight: 700; color: var(--navy); outline: none; padding: 4px 0;
}
.rota-sidebar-header textarea {
    width: 100%; border: none; background: transparent; font-size: 13px;
    color: var(--gray-500); outline: none; resize: none; padding: 4px 0; height: 36px;
}
.rota-sidebar-body { flex: 1; overflow-y: auto; padding: 16px; }
.rota-sidebar-footer {
    padding: 16px; border-top: 1px solid var(--gray-200);
    display: flex; gap: 8px; background: #fafafa;
}
.rota-sidebar-footer button {
    flex: 1; padding: 12px; border-radius: 10px; font-size: 14px;
    font-weight: 600; border: none; cursor: pointer; transition: all 0.2s;
}
.btn-rota-save { background: var(--gray-100); color: var(--navy); }
.btn-rota-save:hover { background: var(--gray-200); }
.btn-rota-publish { background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; }
.btn-rota-publish:hover { box-shadow: 0 4px 16px rgba(245,158,11,0.35); }

/* Day cards */
.rota-day-card {
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: 12px; margin-bottom: 12px; overflow: hidden;
}
.rota-day-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; cursor: pointer; user-select: none;
    background: #fafafa; transition: background 0.2s;
}
.rota-day-header:hover { background: var(--gray-100); }
.rota-day-header .day-label {
    font-size: 14px; font-weight: 700; color: var(--navy);
    display: flex; align-items: center; gap: 8px;
}
.rota-day-header .day-label .day-dot {
    width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}
.rota-day-header .day-actions { display: flex; gap: 6px; }
.rota-day-header .day-actions button {
    background: none; border: none; color: var(--gray-400); cursor: pointer;
    font-size: 13px; padding: 4px 6px; border-radius: 4px; transition: all 0.2s;
}
.rota-day-header .day-actions button:hover { color: var(--navy); background: var(--gray-200); }
.rota-day-body { padding: 12px 16px; display: none; }
.rota-day-card.open .rota-day-body { display: block; }
.rota-day-card.open .rota-day-header { border-bottom: 1px solid var(--gray-200); }

/* Stop items */
.rota-stop-item {
    display: flex; align-items: flex-start; gap: 12px; padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}
.rota-stop-item:last-child { border-bottom: none; }
.rota-stop-icon {
    width: 32px; height: 32px; border-radius: 8px; display: flex;
    align-items: center; justify-content: center; font-size: 14px;
    flex-shrink: 0; color: #fff;
}
.rota-stop-icon.otel { background: #3b82f6; }
.rota-stop-icon.restoran { background: #ef4444; }
.rota-stop-icon.gezilecek_yer { background: #f59e0b; }
.rota-stop-icon.aktivite { background: #8b5cf6; }
.rota-stop-icon.diger { background: #6b7280; }
.rota-stop-info { flex: 1; min-width: 0; }
.rota-stop-info .stop-title { font-size: 14px; font-weight: 600; color: var(--navy); }
.rota-stop-info .stop-meta { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.rota-stop-actions { display: flex; gap: 4px; flex-shrink: 0; }
.rota-stop-actions button {
    background: none; border: none; color: var(--gray-400); cursor: pointer;
    font-size: 12px; padding: 4px; border-radius: 4px;
}
.rota-stop-actions button:hover { color: var(--navy); background: var(--gray-100); }

/* Add stop button */
.btn-add-stop {
    display: flex; align-items: center; gap: 6px; width: 100%;
    padding: 10px; margin-top: 8px; border: 1.5px dashed var(--gray-300);
    border-radius: 8px; background: none; color: var(--gray-500);
    font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.btn-add-stop:hover { border-color: var(--orange); color: var(--orange); background: rgba(245,158,11,0.04); }
.btn-add-day {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 14px; border: 2px dashed var(--gray-300);
    border-radius: 12px; background: none; color: var(--gray-500);
    font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.btn-add-day:hover { border-color: var(--orange); color: var(--orange); }

/* Stop form modal */
.rota-stop-form {
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: 10px; padding: 14px; margin-top: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.rota-stop-form .form-row { margin-bottom: 10px; }
.rota-stop-form label { font-size: 12px; font-weight: 600; color: var(--gray-600); margin-bottom: 4px; display: block; }
.rota-stop-form input, .rota-stop-form select, .rota-stop-form textarea {
    width: 100%; padding: 8px 12px; border: 1.5px solid var(--gray-200);
    border-radius: 8px; font-size: 13px; outline: none; transition: border-color 0.2s;
}
.rota-stop-form input:focus, .rota-stop-form select:focus, .rota-stop-form textarea:focus { border-color: var(--orange); }
.rota-stop-form textarea { resize: none; height: 60px; }
.rota-stop-form-actions { display: flex; gap: 8px; justify-content: flex-end; }
.rota-stop-form-actions button {
    padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
    border: none; cursor: pointer;
}

/* Map container */
.rota-map-container { flex: 1; position: relative; }
.rota-map-container #rotaMap { width: 100%; height: 100%; }

/* Mobile tabs for builder */
.rota-mobile-tabs {
    display: none; background: var(--white); border-bottom: 1.5px solid var(--gray-200);
}
.rota-mobile-tabs button {
    flex: 1; padding: 12px; text-align: center; font-size: 14px; font-weight: 600;
    color: var(--gray-500); background: none; border: none; cursor: pointer;
    border-bottom: 2px solid transparent;
}
.rota-mobile-tabs button.active { color: var(--orange); border-bottom-color: var(--orange); }

/* Rota detay (view) page */
.rota-detay-hero {
    background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(239,68,68,0.06));
    border-radius: 16px; padding: 32px; margin-bottom: 24px;
}
.rota-detay-hero h1 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.rota-detay-hero .rota-author { font-size: 14px; color: var(--gray-500); margin-bottom: 4px; }
.rota-detay-hero .rota-desc { font-size: 15px; color: var(--gray-600); margin-bottom: 16px; }
.rota-detay-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rota-detay-map { height: 400px; border-radius: 14px; overflow: hidden; margin-bottom: 24px; border: 1.5px solid var(--gray-200); }
.rota-detay-days { }
.rota-detay-day {
    background: var(--white); border-radius: 14px; padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 16px;
    border: 1.5px solid var(--gray-200);
}
.rota-detay-day h3 {
    font-size: 16px; font-weight: 700; color: var(--navy);
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.rota-detay-day h3 .day-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.rota-detay-stop {
    display: flex; gap: 12px; padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}
.rota-detay-stop:last-child { border-bottom: none; }

/* Toast notification */
.rota-toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    background: var(--navy); color: #fff; padding: 12px 24px;
    border-radius: 10px; font-size: 14px; font-weight: 600;
    z-index: 9999; opacity: 0; transition: opacity 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.rota-toast.show { opacity: 1; }

/* Empty state */
.rota-empty {
    text-align: center; padding: 48px 20px;
}
.rota-empty i { font-size: 48px; color: var(--gray-300); margin-bottom: 16px; display: block; }
.rota-empty h3 { font-size: 18px; font-weight: 700; color: var(--gray-600); margin-bottom: 8px; }
.rota-empty p { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }

/* ===== ROTA RESPONSIVE ===== */
@media (max-width: 768px) {
    .rota-builder { flex-direction: column; height: auto; min-height: calc(100vh - 60px); }
    .rota-sidebar { width: 100%; min-width: 100%; max-height: none; border-right: none; }
    .rota-map-container { height: 300px; min-height: 300px; }
    .rota-mobile-tabs { display: flex; }
    .rota-builder .rota-sidebar[style*="display: none"] { display: none !important; }
    .rota-builder .rota-map-container[style*="display: none"] { display: none !important; }
    .rota-list-grid { grid-template-columns: 1fr; }
    .rota-landing-hero { padding: 32px 16px; }
    .rota-landing-hero h1 { font-size: 22px; }
    .rota-detay-map { height: 250px; }
    .rota-detay-hero { padding: 20px; }
    .rota-detay-hero h1 { font-size: 20px; }
}

/* ===== TATILCI PROFIL ===== */
.tatilci-profile-header {
    display: flex; align-items: center; gap: 20px; padding: 28px;
    background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 24px; flex-wrap: wrap;
}
.tatilci-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff; font-size: 28px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tatilci-info { flex: 1; }
.tatilci-info h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 0 0 4px; }
.tatilci-info p { font-size: 13px; color: var(--gray-500); margin: 0; }
.tatilci-member-since { font-size: 12px !important; margin-top: 4px !important; }
.tatilci-header-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-tatilci-outline {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600;
    border: 2px solid var(--gray-200); color: var(--gray-700); background: #fff;
    text-decoration: none; transition: all 0.2s;
}
.btn-tatilci-outline:hover { border-color: var(--orange); color: var(--orange); }

.tatilci-quick-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px;
}
.tatilci-quick-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 24px 16px; background: #fff; border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.tatilci-quick-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.tatilci-quick-card i { font-size: 28px; }
.tatilci-quick-card span { font-size: 13px; font-weight: 600; color: var(--navy); }

.tatilci-section {
    background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 24px; overflow: hidden;
}
.tatilci-section-header {
    padding: 16px 24px; border-bottom: 1px solid var(--gray-100);
}
.tatilci-section-header h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0; }
.tatilci-section-body { padding: 24px; }

.tatilci-review-row {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    padding: 12px 0; border-bottom: 1px solid var(--gray-100);
}
.tatilci-review-row:last-child { border-bottom: none; }

.tatilci-info-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0; border-bottom: 1px solid var(--gray-50);
}
.tatilci-info-row:last-child { border-bottom: none; }
.tatilci-info-row label { font-size: 13px; color: var(--gray-500); margin: 0; }
.tatilci-info-row span { font-size: 14px; font-weight: 600; color: var(--navy); }

@media (max-width: 768px) {
    .tatilci-profile-header { flex-direction: column; text-align: center; padding: 20px; }
    .tatilci-header-actions { width: 100%; justify-content: center; }
    .tatilci-quick-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .rota-features { flex-direction: column; align-items: center; }
    .rota-coming-soon h1 { font-size: 24px; }
}
