/* =============================================
   BirgiLive - Tarih & Modernlik Temalı Stil
   Birgi'nin 3000 yıllık ruhu, modern tasarımla buluşuyor
   ============================================= */

:root {
    /* Birgi Renk Paleti — Taş, Ahşap & Doğa */
    --stone: #6B6156;
    --stone-dark: #4A3F35;
    --stone-light: #A89B8C;
    --stone-pale: #F5F0EB;
    --stone-warm: #8B7D6B;

    --wood: #5C3D2E;
    --wood-dark: #2D1F16;
    --wood-light: #8D6E63;
    --wood-pale: #EFEBE9;
    --wood-warm: #A1887F;

    --accent: #C17817;
    --accent-light: #E8A849;
    --accent-pale: #FFF8ED;

    --emerald: #046A38;
    --emerald-light: #0D8A4E;
    --emerald-pale: #E8F5EE;

    --dark: #1A1410;
    --gray: #6B6156;
    --gray-light: #FAF8F5;
    --white: #FFFDF9;
    --pure-white: #fff;
    --red: #A63D2F;

    --shadow-xs: 0 1px 3px rgba(74,63,53,0.06);
    --shadow: 0 2px 12px rgba(74,63,53,0.07);
    --shadow-md: 0 4px 20px rgba(74,63,53,0.09);
    --shadow-lg: 0 12px 40px rgba(74,63,53,0.12);
    --shadow-xl: 0 20px 60px rgba(74,63,53,0.15);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;

    --stone-gradient: linear-gradient(135deg, #6B6156 0%, #8B7D6B 50%, #A89B8C 100%);
    --wood-gradient: linear-gradient(135deg, #2D1F16 0%, #5C3D2E 40%, #8D6E63 100%);
    --warm-gradient: linear-gradient(135deg, #F5F0EB 0%, #EFEBE9 100%);
    --gold-gradient: linear-gradient(135deg, #C17817 0%, #E8A849 100%);

    --transition: all .3s cubic-bezier(.4,0,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background: var(--gray-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, .logo, .hero h1, .page-hero h1, .section-header h2 {
    font-family: 'Playfair Display', 'Georgia', serif;
    letter-spacing: -0.3px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============== TOPBAR ============== */
.topbar {
    background: var(--wood-dark);
    color: rgba(255,255,255,.8);
    font-size: 12px;
    padding: 7px 0;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(193,120,23,0.3);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar-right a {
    color: rgba(255,255,255,.65);
    transition: var(--transition);
    font-weight: 500;
}
.topbar-right a:hover { color: var(--accent-light); }

/* ============== NAVBAR ============== */
.navbar {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(107,97,86,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow .3s ease;
}
.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(74,63,53,0.1);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--wood-dark);
    letter-spacing: -0.5px;
    transition: var(--transition);
}
.logo span { color: var(--accent); font-weight: 800; }
.logo:hover { opacity: .85; }
.nav-links { display: flex; gap: 1px; align-items: center; }
.nav-links a {
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--stone-dark);
    transition: var(--transition);
    position: relative;
}
.nav-links a:hover {
    color: var(--wood-dark);
    background: var(--stone-pale);
}
.nav-links a.active {
    color: var(--wood-dark);
    font-weight: 600;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.nav-cta {
    background: var(--emerald) !important;
    color: var(--pure-white) !important;
    font-weight: 600 !important;
    border: none;
    border-radius: var(--radius-sm) !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    box-shadow: 0 2px 8px rgba(4,106,56,0.2);
}
.nav-cta:hover {
    background: var(--emerald-light) !important;
    box-shadow: 0 4px 14px rgba(4,106,56,0.3) !important;
    transform: translateY(-1px);
}
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--stone-dark);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.hamburger:hover { background: var(--stone-pale); }

/* ============== ALERTS ============== */
.alert { padding: 12px 0; font-size: 14px; position: relative; }
.alert .container { display: flex; justify-content: space-between; align-items: center; }
.alert-success { background: #E8F5E9; color: #2E7D32; }
.alert-error { background: #FFEBEE; color: var(--red); }
.alert-warning { background: var(--accent-pale); color: #BF5F00; }
.alert-close { background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; }

/* ============== BUTTONS ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.2px;
    line-height: 1.4;
}
.btn-primary {
    background: var(--emerald);
    color: var(--pure-white);
    box-shadow: 0 2px 8px rgba(4,106,56,0.15);
}
.btn-primary:hover {
    background: var(--emerald-light);
    box-shadow: 0 6px 20px rgba(4,106,56,0.25);
    transform: translateY(-1px);
}
.btn-wood {
    background: var(--wood);
    color: var(--pure-white);
    box-shadow: 0 2px 8px rgba(62,39,35,0.15);
}
.btn-wood:hover {
    background: var(--wood-dark);
    box-shadow: 0 6px 20px rgba(62,39,35,0.25);
    transform: translateY(-1px);
}
.btn-orange {
    background: var(--gold-gradient);
    color: var(--pure-white);
    box-shadow: 0 2px 8px rgba(193,120,23,0.2);
}
.btn-orange:hover {
    box-shadow: 0 6px 20px rgba(193,120,23,0.3);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--wood-light);
    color: var(--wood);
}
.btn-outline:hover {
    background: var(--wood);
    color: var(--pure-white);
    border-color: var(--wood);
}
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--radius); }
.btn-block { display: flex; width: 100%; }

/* ============== HERO (VIDEO) ============== */
.hero {
    background: linear-gradient(160deg, rgba(45,31,22,.92), rgba(92,61,46,.78));
    padding: 100px 20px 80px;
    text-align: center;
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}
.hero-video-wrapper {
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wood-dark);
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(26,20,16,.5) 0%, rgba(45,31,22,.7) 60%, rgba(26,20,16,.85) 100%);
}
.hero-content {
    position: relative;
    z-index: 3;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
    z-index: 4;
}
.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    line-height: 1.15;
}
.hero p {
    font-size: 17px;
    opacity: .88;
    max-width: 560px;
    margin: 0 auto 36px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    line-height: 1.7;
    font-weight: 300;
}

/* Reklam Slot */
.ad-slot { margin: 20px auto; }
.search-box {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
}
.search-box input {
    flex: 1;
    padding: 15px 24px;
    border: none;
    font-size: 15px;
    outline: none;
    background: rgba(255,255,255,.95);
    color: var(--dark);
    font-family: inherit;
}
.search-box input::placeholder { color: var(--stone-light); }
.search-box button {
    padding: 15px 28px;
    background: var(--emerald);
    color: var(--pure-white);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}
.search-box button:hover { background: var(--emerald-light); }

/* ============== PAGE HERO ============== */
.page-hero {
    padding: 56px 20px;
    text-align: center;
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
}
.page-hero h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.page-hero p { font-size: 15px; opacity: .8; margin-top: 8px; font-weight: 300; }
.hero-green { background: linear-gradient(160deg, rgba(45,31,22,.92), rgba(92,61,46,.78)); }
.hero-blue { background: linear-gradient(160deg, rgba(74,63,53,.92), rgba(107,97,86,.78)); }
.hero-orange { background: linear-gradient(160deg, rgba(193,120,23,.92), rgba(168,99,20,.78)); }
.hero-brown { background: linear-gradient(160deg, rgba(45,31,22,.94), rgba(92,61,46,.82)); }

/* ============== CATEGORIES ============== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: -40px auto 44px;
    position: relative;
    z-index: 10;
}
.cat-card {
    background: var(--pure-white);
    border-radius: var(--radius);
    padding: 22px 16px 18px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(107,97,86,0.04);
    border-left: 4px solid var(--accent);
    position: relative;
    overflow: hidden;
}
.cat-card:nth-child(1) { border-left-color: #C17817; }
.cat-card:nth-child(2) { border-left-color: #046A38; }
.cat-card:nth-child(3) { border-left-color: #5C3D2E; }
.cat-card:nth-child(4) { border-left-color: #A63D2F; }
.cat-card:nth-child(5) { border-left-color: #0D47A1; }
.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.cat-icon {
    font-size: 36px;
    margin-bottom: 10px;
    line-height: 1.2;
    display: block;
}
.cat-card h3 { font-size: 13px; font-weight: 600; color: var(--stone-dark); margin-bottom: 2px; }
.cat-card p { font-size: 11px; color: var(--stone-light); font-weight: 500; }

/* ============== SECTION BG — Mekanlar vs İlanlar ============== */
.section-places {
    background: linear-gradient(180deg, #F5F0EB 0%, #FAF8F5 100%);
    padding: 48px 0 24px;
    margin-bottom: 0;
}
.section-listings {
    background: linear-gradient(180deg, #EDF3F0 0%, #F5FAF7 100%);
    padding: 48px 0 24px;
    margin-bottom: 0;
}
.section-places .place-card { border-left: 3px solid var(--accent); }
.section-listings .place-card { border-left: 3px solid var(--emerald); }
.section-listings .section-header h2 span { color: var(--emerald); }
.section-listings .see-all { color: var(--emerald); }
.section-listings .see-all:hover { color: var(--emerald-light); }

/* ============== SECTION HEADERS ============== */
.section { margin-bottom: 56px; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(107,97,86,0.1);
    position: relative;
}
.section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: 2px;
}
.section-header h2 { font-size: 26px; font-weight: 700; color: var(--wood-dark); }
.section-header h2 span { color: var(--accent); }
.see-all {
    color: var(--accent);
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}
.see-all:hover { color: var(--wood); gap: 8px; }

/* ============== GRIDS ============== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ============== PLACE CARDS ============== */
.place-card {
    background: var(--pure-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(107,97,86,0.04);
}
.place-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.place-card:hover .place-img img {
    transform: scale(1.06);
}
.place-img {
    height: 210px;
    background: linear-gradient(135deg, var(--stone-pale), var(--wood-pale));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-light);
    font-size: 44px;
    position: relative;
    overflow: hidden;
}
.place-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.featured-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--emerald);
    color: var(--pure-white);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(4,106,56,0.3);
}
.boost-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255,255,255,.95);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: var(--shadow-xs);
    backdrop-filter: blur(4px);
}
.place-info { padding: 18px 20px 20px; }
.place-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--wood-dark);
    line-height: 1.3;
}
.place-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--stone);
    margin-bottom: 10px;
}
.place-meta span { display: flex; align-items: center; gap: 3px; }
.rating {
    color: var(--accent);
    font-weight: 700;
    background: var(--accent-pale);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
}
.place-desc { font-size: 13px; color: var(--stone); line-height: 1.65; }
.place-price { margin-top: 12px; font-weight: 700; color: var(--emerald); font-size: 15px; }

/* ============== LISTING CARDS ============== */
.listing-card {
    background: var(--pure-white);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(107,97,86,0.04);
}
.listing-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.listing-card.urgent { border-left: 3px solid var(--red); }
.listing-card.premium {
    border-left: 3px solid var(--accent);
    background: linear-gradient(90deg, var(--accent-pale) 0%, var(--pure-white) 25%);
}
.listing-thumb {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    background: var(--stone-gradient);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    overflow: hidden;
}
.listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--wood-dark); }
.listing-meta { font-size: 12px; color: var(--stone); margin-bottom: 4px; }
.listing-price { font-weight: 700; color: var(--emerald); font-size: 15px; }
.urgent-tag, .premium-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    color: var(--pure-white);
}
.urgent-tag { background: var(--red); }
.premium-tag { background: var(--accent); }

/* ============== LISTINGS GRID (3-column vertical cards) ============== */
.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.listing-card-v {
    background: var(--pure-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(107,97,86,0.05);
    text-decoration: none;
    color: inherit;
}
.listing-card-v:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.listing-card-v.urgent { box-shadow: var(--shadow), inset 0 3px 0 var(--red); }
.listing-card-v.premium { box-shadow: var(--shadow), inset 0 3px 0 var(--accent); }

.listing-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--stone-pale);
    overflow: hidden;
}
.listing-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.listing-card-v:hover .listing-card-img img { transform: scale(1.06); }

.listing-card-noimg {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 42px; opacity: .35;
    background: linear-gradient(135deg, var(--stone-pale) 0%, var(--cream) 100%);
}

.listing-tag {
    position: absolute; top: 10px; left: 10px;
    padding: 4px 12px; border-radius: 6px;
    font-size: 10px; font-weight: 700; letter-spacing: .5px;
    color: var(--pure-white); text-transform: uppercase;
}
.tag-urgent { background: var(--red); }
.tag-featured { background: var(--accent); }

.listing-card-body {
    padding: 16px 18px 18px;
    display: flex; flex-direction: column; flex: 1;
}
.listing-card-cat {
    font-size: 11px; font-weight: 600; color: var(--stone);
    margin-bottom: 6px; text-transform: uppercase; letter-spacing: .3px;
}
.listing-card-title {
    font-size: 16px; font-weight: 700; color: var(--wood-dark);
    margin-bottom: 8px; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.listing-card-meta {
    display: flex; gap: 12px; font-size: 12px; color: var(--stone-light); margin-bottom: 12px;
}
.listing-card-footer {
    margin-top: auto;
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(107,97,86,0.08);
}
.listing-card-price {
    font-size: 18px; font-weight: 800; color: var(--emerald);
}
.listing-card-price.free { color: var(--emerald-light); font-size: 14px; }
.listing-card-price.contact { color: var(--stone); font-size: 13px; font-weight: 600; }
.listing-negotiable {
    font-size: 10px; font-weight: 600;
    padding: 3px 8px; border-radius: 4px;
    background: var(--accent-pale); color: var(--accent);
}

@media (max-width: 900px) {
    .listings-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
    .listings-grid { grid-template-columns: 1fr; }
}

/* ============== BANNER AD ============== */
.banner-ad-inner {
    background: var(--warm-gradient);
    border: 1.5px dashed rgba(168,155,140,.4);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    position: relative;
}
.ad-label {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 9px;
    color: var(--stone-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: .6;
}

/* ============== EVENTS ============== */
.event-card {
    background: var(--pure-white);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid rgba(107,97,86,0.04);
    transition: var(--transition);
}
.event-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.event-date {
    text-align: center;
    min-width: 60px;
    background: var(--accent-pale);
    padding: 10px 8px;
    border-radius: var(--radius-sm);
}
.event-date .day {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.event-date .month {
    font-size: 10px;
    color: var(--stone);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 2px;
}

/* ============== PRICING ============== */
.pricing-section {
    background: var(--wood-gradient);
    padding: 70px 20px;
    color: var(--pure-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pricing-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold-gradient);
}
.pricing-section h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
    position: relative;
}
.price-card {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    transition: all .3s ease;
}
.price-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.16); }
.price-card.popular {
    background: var(--pure-white);
    color: var(--dark);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}
.price-card h3 { font-size: 20px; font-weight: 700; }
.price-amount { font-size: 36px; font-weight: 800; margin: 16px 0 8px; }
.price-amount small { font-size: 14px; font-weight: 400; }
.price-annual { font-size: 13px; opacity: .7; margin-bottom: 16px; }
.price-features { list-style: none; text-align: left; font-size: 13px; margin-bottom: 20px; }
.price-features li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.price-features li::before { content: "\2713  "; color: var(--emerald-light); font-weight: 700; }
.price-card.popular .price-features li { border-color: rgba(0,0,0,.06); }
.price-card.popular .price-features li::before { color: var(--emerald); }
.price-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: .2s;
}

/* ============== BOOST CARDS ============== */
.boost-card {
    background: var(--pure-white);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all .3s ease;
    border: 1px solid rgba(107,97,86,0.06);
}
.boost-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.boost-icon { font-size: 32px; margin-bottom: 10px; }
.boost-price { font-size: 22px; font-weight: 700; color: var(--accent); margin: 8px 0; }

/* ============== STATS ============== */
.stats-section {
    background: var(--wood-dark);
    padding: 52px 20px;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold-gradient);
}
.stats-section::after {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255,255,255,.03);
    border-radius: 50%;
    pointer-events: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1.1;
}
.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin-top: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ============== FORMS ============== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--stone-dark); margin-bottom: 6px; }
.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid rgba(168,155,140,.3);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
    background: var(--pure-white);
}
.form-control:focus {
    border-color: var(--wood-light);
    box-shadow: 0 0 0 3px rgba(92,61,46,0.08);
}
select.form-control { background: var(--pure-white); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-card {
    background: var(--pure-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px;
    max-width: 500px;
    margin: 30px auto;
    border: 1px solid rgba(107,97,86,0.08);
}
.form-card h2 { font-size: 24px; margin-bottom: 24px; text-align: center; color: var(--wood-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-help { font-size: 12px; color: var(--stone); margin-top: 4px; }
.input-icon-wrap { position: relative; }
.input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 16px; opacity: .5; pointer-events: none; }
.form-control-icon { padding-left: 38px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 6px; cursor: pointer; font-size: 13px; }
.checkbox-label input { margin-top: 2px; accent-color: var(--emerald); }
.link-accent { color: var(--emerald); text-decoration: none; transition: var(--transition); }
.link-accent:hover { color: var(--wood-dark); text-decoration: underline; }

/* ============== AUTH PAGES ============== */
.auth-section { padding: 40px 24px 60px; background: linear-gradient(135deg, var(--stone-pale) 0%, var(--cream) 100%); min-height: 70vh; }
.auth-container { display: grid; grid-template-columns: 1fr 380px; gap: 50px; max-width: 1200px; margin: 0 auto; align-items: start; }
.auth-card {
    background: var(--pure-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 40px;
    border: 1px solid rgba(107,97,86,0.06);
}
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-icon { font-size: 42px; margin-bottom: 8px; }
.auth-header h2 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--wood-dark); margin-bottom: 6px; }
.auth-header p { font-size: 14px; color: var(--stone); }
.auth-divider { text-align: center; margin: 24px 0; position: relative; }
.auth-divider::before { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--stone-pale); }
.auth-divider span { background: var(--pure-white); padding: 0 16px; position: relative; font-size: 12px; color: var(--stone-light); text-transform: uppercase; letter-spacing: 1px; }
.auth-footer { text-align: center; font-size: 14px; color: var(--stone); }
.auth-benefits { padding-top: 20px; }
.auth-benefits h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--wood-dark); margin-bottom: 20px; }
.benefit-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.benefit-icon { font-size: 24px; min-width: 32px; text-align: center; }
.benefit-item strong { font-size: 14px; color: var(--stone-dark); display: block; margin-bottom: 2px; }
.benefit-item p { font-size: 12px; color: var(--stone); line-height: 1.4; margin: 0; }

/* Account type selector */
.account-type-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type-option input { display: none; }
.type-card { border: 2px solid var(--stone-pale); border-radius: var(--radius-sm); padding: 16px; text-align: center; cursor: pointer; transition: var(--transition); }
.type-option input:checked + .type-card { border-color: var(--emerald); background: rgba(4,106,56,.04); }
.type-icon { font-size: 28px; display: block; margin-bottom: 6px; }
.type-card strong { font-size: 14px; display: block; margin-bottom: 2px; color: var(--stone-dark); }
.type-card small { font-size: 11px; color: var(--stone); }

/* ============== USER DROPDOWN ============== */
.user-dropdown { position: relative; }
.user-dropdown-btn {
    display: flex; align-items: center; gap: 6px;
    background: none; border: none; color: rgba(255,255,255,.85);
    font-size: 13px; cursor: pointer; padding: 4px 8px; border-radius: 6px;
    transition: var(--transition); font-family: inherit;
}
.user-dropdown-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.user-avatar-sm {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--emerald); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.user-dropdown-menu {
    position: absolute; right: 0; top: 110%;
    background: var(--pure-white); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg); padding: 6px 0;
    min-width: 200px; z-index: 999;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: .2s ease;
}
.user-dropdown.open .user-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown-menu a {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; font-size: 13px;
    color: var(--stone-dark); text-decoration: none; transition: .15s;
}
.user-dropdown-menu a:hover { background: var(--stone-pale); color: var(--wood-dark); }
.user-dropdown-menu hr { border: none; border-top: 1px solid var(--stone-pale); margin: 4px 0; }

.topbar-link { color: rgba(255,255,255,.7); text-decoration: none; font-size: 12px; transition: var(--transition); }
.topbar-link:hover { color: #fff; }
.topbar-link-accent { background: var(--emerald); color: #fff !important; padding: 4px 12px; border-radius: 4px; font-weight: 600; }
.topbar-link-accent:hover { background: var(--emerald-light); }

/* ============== LISTING FORM ============== */
.listing-form-card {
    background: var(--pure-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 36px;
    border: 1px solid rgba(107,97,86,0.06);
}
.form-progress { display: flex; gap: 4px; margin-bottom: 32px; }
.progress-step {
    flex: 1; text-align: center; padding: 12px 8px;
    background: var(--stone-pale); border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600; color: var(--stone);
    transition: var(--transition); position: relative;
}
.progress-step span { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: var(--stone-light); color: #fff; font-size: 11px; margin-right: 4px; }
.progress-step.active { background: rgba(4,106,56,.08); color: var(--emerald); }
.progress-step.active span { background: var(--emerald); }
.progress-step.done { background: rgba(4,106,56,.05); color: var(--emerald); }
.progress-step.done span { background: var(--emerald); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step-title { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--wood-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--stone-pale); }

/* Photo upload zone */
.photo-upload-zone {
    border: 2px dashed rgba(168,155,140,.35);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: rgba(245,240,235,.4);
}
.photo-upload-zone.drag-over { border-color: var(--emerald); background: rgba(4,106,56,.04); }
.photo-upload-zone:hover { border-color: var(--stone); }
.photo-preview-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px; }
.photo-preview-item {
    position: relative; border-radius: 8px; overflow: hidden;
    aspect-ratio: 1; background: var(--stone-pale);
    border: 2px solid transparent;
}
.photo-preview-item.cover { border-color: var(--emerald); }
.photo-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-remove {
    position: absolute; top: 4px; right: 4px;
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(166,61,47,.9); color: #fff;
    border: none; font-size: 14px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: .2s;
}
.photo-preview-item:hover .photo-remove { opacity: 1; }
.photo-cover-badge {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(4,106,56,.85); color: #fff;
    font-size: 10px; font-weight: 700; text-align: center;
    padding: 3px; text-transform: uppercase; letter-spacing: .5px;
}
.photo-order {
    position: absolute; top: 4px; left: 4px;
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(0,0,0,.5); color: #fff;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

/* Package grid */
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 24px; }
.package-option { cursor: pointer; }
.package-option input { display: none; }
.package-card {
    border: 2px solid var(--stone-pale); border-radius: var(--radius-sm);
    padding: 20px 16px; text-align: center; transition: var(--transition);
    position: relative; background: var(--pure-white);
}
.package-option.selected .package-card { border-color: var(--emerald); background: rgba(4,106,56,.03); }
.package-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--emerald); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 10px; text-transform: uppercase; }
.package-card h4 { font-size: 15px; margin-bottom: 6px; color: var(--wood-dark); }
.package-price { font-size: 22px; font-weight: 800; color: var(--emerald); margin-bottom: 10px; }
.package-card ul { list-style: none; padding: 0; margin: 0; font-size: 12px; color: var(--stone); }
.package-card ul li { margin-bottom: 4px; }

/* Boost section */
.boost-section { background: linear-gradient(135deg, #FFF8E1, #FFF3E0); border-radius: var(--radius-sm); padding: 20px; margin-top: 20px; }
.boost-section h4 { font-size: 15px; color: var(--accent); margin-bottom: 12px; }
.boost-section h4 small { font-size: 12px; color: var(--stone); font-weight: 400; }
.boost-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.boost-option { cursor: pointer; }
.boost-option input { display: none; }
.boost-card {
    border: 1.5px solid rgba(193,120,23,.2); border-radius: 8px;
    padding: 10px 12px; background: var(--pure-white);
    transition: var(--transition); display: flex; flex-direction: column;
}
.boost-option input:checked + .boost-card { border-color: var(--accent); background: rgba(193,120,23,.06); }
.boost-name { font-size: 12px; font-weight: 600; color: var(--stone-dark); }
.boost-desc { font-size: 10px; color: var(--stone); }
.boost-price { font-size: 13px; font-weight: 700; color: var(--accent); margin-top: 4px; }

/* Page hero variants */
.page-hero.hero-accent { background: linear-gradient(135deg, var(--wood-dark) 0%, var(--accent) 100%); }

/* Alert styles */
.alert { padding: 0; border-bottom: 1px solid transparent; }
.alert .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; font-size: 14px; font-weight: 500; }
.alert-close { background: none; border: none; font-size: 20px; cursor: pointer; opacity: .6; }
.alert-close:hover { opacity: 1; }
.alert-success { background: var(--emerald-pale); border-color: var(--emerald); color: var(--emerald); }
.alert-error { background: #FFEBEE; border-color: var(--red); color: var(--red); }
.alert-warning { background: var(--accent-pale); border-color: var(--accent); color: var(--accent); }

@media (max-width: 768px) {
    .auth-container { grid-template-columns: 1fr; }
    .auth-benefits { display: none; }
    .account-type-selector { grid-template-columns: 1fr; }
    .photo-preview-grid { grid-template-columns: repeat(3, 1fr); }
    .boost-options { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* ============== SIDEBAR LAYOUT ============== */
.content-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.sidebar-ad {
    background: var(--pure-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: sticky;
    top: 84px;
    border: 1px solid rgba(107,97,86,0.06);
}

/* ============== FILTER TABS ============== */
.filter-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-tab {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--stone-light);
    color: var(--stone-dark);
    background: var(--pure-white);
    transition: .2s;
}
.filter-tab.active,
.filter-tab:hover {
    background: var(--emerald);
    color: var(--pure-white);
    border-color: var(--emerald);
}

/* ============== TABLE ============== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--pure-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.data-table th {
    background: var(--wood-dark);
    color: var(--pure-white);
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid #ede8e3; font-size: 14px; }
.data-table tr:nth-child(even) { background: var(--stone-pale); }
.data-table tr:hover { background: #EDE8E3; }

/* ============== PAGINATION ============== */
.pagination { text-align: center; margin: 30px 0; }
.pagination ul { list-style: none; display: inline-flex; gap: 4px; }
.pagination li a {
    display: block;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid #ddd5cc;
    color: var(--dark);
    transition: .2s;
}
.pagination li.active a,
.pagination li a:hover {
    background: var(--emerald);
    color: var(--pure-white);
    border-color: var(--emerald);
}

/* ============== FOOTER ============== */
.site-footer {
    background: var(--wood-dark);
    color: rgba(255,255,255,.75);
    padding: 60px 20px 0;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold-gradient);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}
.site-footer h4 {
    color: var(--accent-light);
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin-bottom: 18px;
    letter-spacing: 0;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a,
.site-footer p {
    font-size: 13px;
    color: rgba(255,255,255,.45);
    transition: var(--transition);
}
.site-footer ul a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 0;
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,.25);
    letter-spacing: 0.3px;
}

/* ============== ANIMATIONS ============== */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered delays for grid items */
.grid-3 .fade-in-up:nth-child(2),
.landmarks-grid .fade-in-up:nth-child(2),
.arch-grid .fade-in-up:nth-child(2),
.culture-grid .fade-in-up:nth-child(2) { transition-delay: .1s; }
.grid-3 .fade-in-up:nth-child(3),
.landmarks-grid .fade-in-up:nth-child(3),
.arch-grid .fade-in-up:nth-child(3),
.culture-grid .fade-in-up:nth-child(3) { transition-delay: .2s; }
.arch-grid .fade-in-up:nth-child(4),
.culture-grid .fade-in-up:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    .fade-in-up { opacity: 1; transform: none; transition: none; }
}

/* ============== HISTORY PAGE ============== */
.history-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(62,39,35,.95), rgba(44,34,24,.88)),
        url('../images/history/birgi-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--pure-white);
    text-align: center;
    overflow: hidden;
}
.history-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--accent) 0px, var(--accent) 30px, var(--wood-dark) 30px, var(--wood-dark) 32px);
    z-index: 2;
}
.history-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(44,34,24,.6) 0%, rgba(62,39,35,.85) 100%);
    z-index: 1;
}
.history-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}
.history-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 14px;
    text-shadow: 0 3px 16px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}
.history-hero-content > p {
    font-size: 18px;
    opacity: .9;
    max-width: 640px;
    margin: 0 auto 32px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.history-hero-badge {
    display: inline-block;
    background: rgba(4,106,56,.85);
    color: var(--pure-white);
    padding: 6px 20px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.15);
}
.history-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.hhs-item {
    text-align: center;
    min-width: 100px;
}
.hhs-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-light);
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.hhs-item span {
    font-size: 12px;
    opacity: .75;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* History Intro */
.history-intro {
    padding: 60px 0;
    background: var(--pure-white);
}
.history-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.history-intro-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--wood-dark);
    margin-bottom: 18px;
}
.history-intro-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--stone-dark);
    margin-bottom: 14px;
}
.history-intro-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.img-caption {
    display: block;
    text-align: center;
    font-size: 12px;
    color: var(--stone);
    margin-top: 8px;
    font-style: italic;
}

/* Timeline */
.history-timeline-section {
    padding: 60px 0;
    background: var(--gray-light);
}
.history-timeline {
    position: relative;
    padding-left: 40px;
}
.history-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--wood) 50%, var(--emerald) 100%);
    border-radius: 3px;
}
.timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding-left: 32px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 6px;
    width: 13px;
    height: 13px;
    background: var(--wood);
    border: 3px solid var(--stone-pale);
    border-radius: 50%;
    z-index: 1;
}
.timeline-item.timeline-highlight::before {
    background: var(--accent);
    width: 17px;
    height: 17px;
    left: -34px;
    box-shadow: 0 0 0 4px rgba(193,120,23,0.2);
}
.timeline-date {
    display: inline-block;
    background: var(--wood-dark);
    color: var(--pure-white);
    padding: 3px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}
.timeline-highlight .timeline-date {
    background: var(--accent);
}
.timeline-content {
    background: var(--pure-white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(107,97,86,0.06);
}
.timeline-highlight .timeline-content {
    border-left: 4px solid var(--accent);
    background: linear-gradient(90deg, var(--accent-pale), var(--pure-white) 40%);
}
.timeline-icon {
    font-size: 28px;
    margin-bottom: 8px;
}
.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--wood-dark);
    margin-bottom: 8px;
}
.timeline-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--stone-dark);
}

/* Landmarks */
.history-landmarks {
    padding: 60px 0;
    background: var(--pure-white);
}
.landmark-card-wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--pure-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    border: 1px solid rgba(107,97,86,0.06);
}
.landmark-card-wide.landmark-reverse {
    direction: rtl;
}
.landmark-card-wide.landmark-reverse > * {
    direction: ltr;
}
.landmark-img {
    overflow: hidden;
    min-height: 320px;
}
/* Image fallbacks when external images fail */
.img-fallback {
    background: linear-gradient(135deg, #3E2723, #6D4C41);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    position: relative;
}
.img-fallback::after {
    content: '🏘';
    font-size: 64px;
    opacity: .5;
}
.img-fallback-cami { background: linear-gradient(135deg, #1B5E20, #4CAF50); }
.img-fallback-cami::after { content: '🕌'; }
.img-fallback-konak { background: linear-gradient(135deg, #BF360C, #E64A19); }
.img-fallback-konak::after { content: '🏛'; }
.history-intro-img.img-fallback {
    border-radius: var(--radius);
    min-height: 300px;
}
.landmark-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.landmark-card-wide:hover .landmark-img img {
    transform: scale(1.03);
}
.landmark-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.landmark-era {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.landmark-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--wood-dark);
    margin-bottom: 12px;
}
.landmark-info p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--stone-dark);
    margin-bottom: 8px;
}
.landmark-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.landmark-tags span {
    background: var(--stone-pale);
    color: var(--stone-dark);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}
.landmarks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.landmark-mini {
    background: var(--pure-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .3s ease;
    border: 1px solid rgba(107,97,86,0.06);
}
.landmark-mini:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.landmark-mini-img {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 40px;
}
.landmark-mini-img span { font-size: 40px; }
.landmark-mini h4 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--wood-dark);
    padding: 14px 16px 6px;
}
.landmark-mini p {
    font-size: 13px;
    color: var(--stone);
    padding: 0 16px 16px;
    line-height: 1.6;
}

/* Architecture */
.history-architecture {
    padding: 60px 0;
    background: var(--gray-light);
}
.arch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.arch-card {
    background: var(--pure-white);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all .3s ease;
    border: 1px solid rgba(107,97,86,0.06);
}
.arch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.arch-icon { font-size: 40px; margin-bottom: 14px; }
.arch-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--wood-dark);
    margin-bottom: 10px;
}
.arch-card p {
    font-size: 13px;
    color: var(--stone);
    line-height: 1.7;
}

/* Ibn Battuta */
.history-battuta {
    padding: 60px 0;
    background: var(--pure-white);
}
.battuta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, var(--wood-dark), var(--wood));
    border-radius: var(--radius);
    padding: 48px;
    color: var(--pure-white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.battuta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" opacity=".04"><rect width="30" height="30" fill="%23fff"/><rect x="30" y="30" width="30" height="30" fill="%23fff"/></svg>');
    pointer-events: none;
}
.battuta-quote, .battuta-info { position: relative; z-index: 1; }
.quote-mark {
    font-size: 64px;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 8px;
}
.battuta-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 16px;
    opacity: .95;
}
.quote-author strong {
    display: block;
    font-size: 16px;
    color: var(--accent-light);
}
.quote-author span {
    font-size: 13px;
    opacity: .7;
}
.battuta-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 14px;
    color: var(--accent-light);
}
.battuta-info p {
    font-size: 14px;
    line-height: 1.8;
    opacity: .85;
    margin-bottom: 10px;
}

/* Culture */
.history-culture {
    padding: 60px 0;
    background: var(--gray-light);
}
.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.culture-item {
    background: var(--pure-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .3s ease;
    border: 1px solid rgba(107,97,86,0.06);
}
.culture-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.culture-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
}
.culture-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    color: var(--wood-dark);
    padding: 16px 16px 8px;
}
.culture-item p {
    font-size: 13px;
    color: var(--stone);
    padding: 0 16px 16px;
    line-height: 1.7;
}

/* Birgivi */
.history-birgivi {
    padding: 60px 0;
    background: var(--pure-white);
}
.birgivi-card {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    background: var(--emerald-pale);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid rgba(4,106,56,0.1);
}
.birgivi-icon {
    font-size: 56px;
    flex-shrink: 0;
}
.birgivi-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--wood-dark);
    margin-bottom: 12px;
}
.birgivi-content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--stone-dark);
    margin-bottom: 10px;
}

/* DB Places & CTA */
.history-db-places {
    padding: 60px 0;
    background: var(--gray-light);
}
.history-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--wood-dark), var(--wood));
    color: var(--pure-white);
}
.history-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    margin-bottom: 10px;
}
.history-cta p {
    font-size: 16px;
    opacity: .85;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 900px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .content-sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    /* History */
    .history-intro-grid { grid-template-columns: 1fr; }
    .landmark-card-wide { grid-template-columns: 1fr; }
    .landmark-card-wide.landmark-reverse { direction: ltr; }
    .landmarks-grid { grid-template-columns: repeat(2, 1fr); }
    .arch-grid { grid-template-columns: repeat(2, 1fr); }
    .battuta-card { grid-template-columns: 1fr; padding: 32px; }
    .culture-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3, .pricing-grid { grid-template-columns: 1fr; }
    .nav-links {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--pure-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        z-index: 99;
        border-top: 2px solid var(--accent);
    }
    .nav-links.show { display: flex; }
    .hamburger { display: block; }
    .hero h1 { font-size: 32px; }
    .hero { padding: 80px 20px 70px; }
    .hero-video-wrapper { min-height: 400px; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .topbar .container { flex-direction: column; gap: 4px; text-align: center; }
    .price-card.popular { transform: none; }
    .stat-num { font-size: 32px; }
    /* History */
    .history-hero { min-height: 380px; }
    .history-hero-content h1 { font-size: 34px; }
    .history-hero-stats { gap: 16px; }
    .hhs-item strong { font-size: 18px; }
    .landmarks-grid { grid-template-columns: 1fr; }
    .arch-grid { grid-template-columns: 1fr; }
    .culture-grid { grid-template-columns: 1fr; }
    .landmark-info { padding: 20px; }
    .landmark-info h3 { font-size: 20px; }
    .battuta-card { padding: 24px; }
    .battuta-quote p { font-size: 18px; }
    .birgivi-card { flex-direction: column; text-align: center; }
    .history-cta h2 { font-size: 26px; }
    .timeline-item { padding-left: 20px; }
}

/* ============== SPINNER ============== */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }