@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

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

:root {
    --accent: #2563eb;
    --accent2: #7c3aed;
    --grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --grad-soft: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --radius: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow: 0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
}

/* HEADER */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
}
.header-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 32px; height: 64px;
    display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
    display: flex; align-items: center; gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 18px; font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}
.logo-icon {
    width: 36px; height: 36px;
    background: var(--grad);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { color: #fff; }
.btn-admin {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px; font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    transition: all .2s;
}
.btn-admin:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: #eff6ff;
}

/* HERO */
.hero {
    background: var(--grad-soft);
    padding: 80px 32px 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(37,99,235,.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 80% 50%, rgba(124,58,237,.08) 0%, transparent 70%);
}
.hero-inner { position: relative; max-width: 640px; margin: 0 auto; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: 99px; padding: 6px 14px;
    font-size: 12px; font-weight: 500; color: var(--accent);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.hero-badge span { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.hero h1 span {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 17px; color: var(--gray-600);
    font-weight: 300; letter-spacing: .01em;
}

/* GRID */
.main { max-width: 1280px; margin: 0 auto; padding: 56px 32px 80px; }

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--gray-400);
    margin-bottom: 28px;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.tour-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
    display: block;
}
.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.tour-thumb {
    position: relative;
    height: 220px;
    background: var(--grad-soft);
    overflow: hidden;
}
.tour-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.tour-card:hover .tour-thumb img { transform: scale(1.04); }

.thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad-soft);
}
.thumb-placeholder svg { opacity: .3; }

.tour-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.5) 0%, transparent 50%);
    opacity: 0; transition: opacity .3s;
}
.tour-card:hover .tour-overlay { opacity: 1; }

.tour-badge {
    position: absolute; top: 14px; right: 14px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    color: var(--accent);
    font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 99px;
    letter-spacing: .04em;
}

.tour-play {
    position: absolute; bottom: 16px; right: 16px;
    width: 44px; height: 44px;
    background: var(--grad);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(.8);
    transition: opacity .3s, transform .3s;
}
.tour-play svg { color: #fff; margin-left: 2px; }
.tour-card:hover .tour-play { opacity: 1; transform: scale(1); }

.tour-info { padding: 20px 22px 22px; }
.tour-info h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px; font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}
.tour-info p {
    font-size: 13px; color: var(--gray-600);
    line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.empty-state {
    text-align: center; padding: 100px 20px;
    color: var(--gray-400);
}
.empty-state p { font-size: 16px; }

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--gray-200);
    padding: 28px 32px;
    text-align: center;
    color: var(--gray-400);
    font-size: 13px;
}

@media (max-width: 600px) {
    .header-inner { padding: 0 16px; }
    .hero { padding: 56px 20px 48px; }
    .main { padding: 36px 16px 60px; }
    .tours-grid { grid-template-columns: 1fr; gap: 16px; }
}
