/* 
 * USTAMLA.COM - BEYAZ TEMALI KURUMSAL TASARIM
 * Armut.com / Heriscepde.com Tarzı
 * 2026 Modern Clean Design
 */

/* ========================================
   CSS VARIABLES - RENK PALETİ
   ======================================== */
:root {
    /* Ana Renkler */
    --primary-orange: #FF6B00;
    --primary-orange-hover: #E55A00;
    --primary-blue: #1E3A5F;
    --primary-blue-light: #2D5A87;
    
    /* Arka Planlar */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gray: #F3F4F6;
    
    /* Metin Renkleri */
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;
    
    /* Border & Shadow */
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Kart Gölgeleri */
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* ========================================
   GLOBAL RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.bg-light-theme {
    background: var(--bg-white);
}

/* ========================================
   PREMIUM NAVBAR (BEYAZ TEMA)
   ======================================== */
.navbar-light {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.navbar-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo-img {
    height: 40px;
    width: auto;
}

.navbar-logo-text {
    font-size: 26px;
    font-weight: 900;
    text-decoration: none;
    color: var(--primary-orange);
    letter-spacing: -0.02em;
}

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

/* Arama Kutusu */
.navbar-search {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
}

.navbar-search-input {
    width: 100%;
    padding: 12px 20px;
    padding-left: 45px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 15px;
    background: var(--bg-light);
    transition: all 0.3s ease;
    outline: none;
}

.navbar-search-input:focus {
    border-color: var(--primary-orange);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.navbar-search-wrapper {
    position: relative;
}

.navbar-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Navbar Linkleri */
.navbar-links-light {
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar-links-light a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 8px;
}

.navbar-links-light a:hover {
    color: var(--primary-orange);
    background: rgba(255, 107, 0, 0.05);
}

/* ========================================
   BUTTONS - BEYAZ TEMA
   ======================================== */
.btn-primary {
    background: var(--primary-orange);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-blue);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-medium);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

/* ========================================
   HERO SECTION - BEYAZ TEMA
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, #FFF5EB 0%, #FFFFFF 50%, #F0F7FF 100%);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary-orange);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   KATEGORİ KARTLARI - BEYAZ TEMA (4-5 SÜTUN)
   ======================================== */
.categories-section {
    padding: 60px 20px;
    background: var(--bg-white);
}

.categories-header {
    text-align: center;
    margin-bottom: 40px;
}

.categories-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.categories-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Kategori Kartı */
.category-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.category-card:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.category-card-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.3s ease;
}

.category-card:hover .category-card-icon {
    background: rgba(255, 107, 0, 0.1);
    transform: scale(1.1);
}

.category-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.category-card-count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 12px;
}

/* ========================================
   NASIL ÇALIŞIR BÖLÜMÜ
   ======================================== */
.how-it-works {
    padding: 60px 20px;
    background: var(--bg-light);
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.how-step {
    text-align: center;
    padding: 30px;
}

.how-step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    margin: 0 auto 20px;
}

.how-step-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.how-step-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   USTA KARTLARI (Ana Sayfa Sidebar)
   ======================================== */
.usta-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.usta-card:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--card-shadow);
}

.usta-card-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.usta-card-info {
    flex: 1;
    min-width: 0;
}

.usta-card-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.usta-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.usta-card-stars {
    color: #FBBF24;
}

.usta-card-badge {
    background: var(--primary-orange);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

/* ========================================
   VIP BADGE & ROZETLER
   ======================================== */
.vip-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.4);
}

.rozet-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rozet {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.rozet:hover {
    transform: scale(1.15);
    border-color: var(--primary-orange);
}

.rozet.kazanildi {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-color: #F59E0B;
}

.rozet.kilitli {
    opacity: 0.4;
    filter: grayscale(100%);
}

/* ========================================
   MAMA KAHRAMANI BAĞIŞ BÖLÜMÜ
   ======================================== */
.mama-hero-banner {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.mama-hero-icon {
    font-size: 48px;
}

.mama-hero-content h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.mama-hero-content p {
    font-size: 14px;
    opacity: 0.9;
}

.mama-hero-btn {
    background: #fff;
    color: var(--primary-orange);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    margin-left: auto;
    transition: all 0.3s ease;
}

.mama-hero-btn:hover {
    transform: scale(1.05);
}

/* ========================================
   LEADERBOARD (BÖLGE ŞAMPİYONU)
   ======================================== */
.leaderboard-section {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.leaderboard-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.leaderboard-rank {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
}

.leaderboard-rank.gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
}

.leaderboard-rank.silver {
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
    color: #374151;
}

.leaderboard-rank.bronze {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #fff;
}

/* ========================================
   FOOTER - BEYAZ TEMA
   ======================================== */
.footer-light {
    background: var(--primary-blue);
    color: #fff;
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-orange);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
    .navbar-light {
        padding: 0 20px;
        height: 60px;
    }
    
    .navbar-search {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}
