:root {
    --main-font: 'Plus Jakarta Sans', sans-serif;
    --primary: #6366f1;
    --primary-color: #6366f1;
    --text-main: #1e293b;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-gray: #64748b;
    --bg: #f8fafc;
    --card-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--main-font);
}

body {
    background-color: var(--bg);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* --- Navigation & Header --- */
header {
    position: sticky;
    top: 0;
    background: rgba(245, 245, 247, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 1000;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

/* --- User Dropdown --- */
.user-dropdown {
    position: relative;
    cursor: pointer;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 50px;
    transition: background 0.3s;
}

.user-trigger:hover {
    background: rgba(0, 0, 0, 0.03);
}

.avatar-wrapper {
    position: relative;
    width: 38px;
    height: 38px;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid #fff;
    border-radius: 50%;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}



.dropdown-header {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
}

.dropdown-header p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.dropdown-header strong {
    display: block;
    font-size: 1rem;
    color: var(--text-main);
}

.dropdown-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    border-radius: 12px;
    transition: all 0.2s;
}

.dropdown-links li a i {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.dropdown-links li a:hover {
    background: var(--primary-color);
    color: #fff;
}

.dropdown-links li a:hover i {
    color: #fff;
}

.divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 8px 0;
}

.logout {
    color: #ef4444 !important;
}

.logout:hover {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

.btn-ghost {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* --- Hero Area --- */
.hero {
    height: 500px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.search-container {
    background: white;
    padding: 6px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 550px;
}

.loc-box {
    display: flex;
    align-items: center;
    padding-left: 15px;
    color: var(--primary);
    border-right: 1px solid #eee;
    margin-right: 10px;
}

.search-container input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 14px;
    color: #333;
}

.search-btn {
    background: var(--primary);
    border: none;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Section & Cards --- */
.category-section {
    padding: 40px 0 20px 5%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-right: 5%;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.event-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

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

.card {
    min-width: 300px;
    max-width: 300px;
    background: var(--card-white);
    border-radius: 22px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: scale(0.98);
}

.card-img {
    width: 100%;
    height: 170px;
    background: #eee;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.city-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.price-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
    text-transform: uppercase;
}

.free {
    background: #E8F5E9;
    color: #2E7D32;
}

.paid {
    background: #FFF3E0;
    color: #E65100;
}

.price-badge.sponsor {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 122, 255, 0.2);
}

.sponsor-card {
    border: 1px solid rgba(0, 122, 255, 0.1) !important;
}

.card-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-date {
    font-size: 13px;
    color: var(--text-gray);
}

/* --- Footer Tasarımı --- */
footer {
    background-color: #ffffff;
    padding: 80px 5% 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    font-size: 24px;
    display: block;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-nav h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    text-decoration: none;
    font-size: 14px;
    color: var(--text-gray);
    transition: 0.2s;
}

.footer-nav ul li a:hover {
    color: var(--primary);
}

.footer-newsletter h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-newsletter p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.subscribe-form {
    display: flex;
    background: var(--bg);
    padding: 5px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.subscribe-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 15px;
    font-size: 13px;
}

.subscribe-form button {
    background: var(--text-dark);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.subscribe-form button:hover {
    background: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-gray);
}

/* --- Responsive Kuralları --- */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 30px;
    }

    .card {
        min-width: 260px;
    }

    .nav-links {
        display: none !important;
    }

    .btn-link {
        display: none !important;
    }

    .header-left {
        gap: 0;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 25px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}