/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --bg-color: #ffffff;
    --text-color: #333;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border-color: #e8ecff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[data-theme="dark"] {
    --primary-color: #8b5cf6;
    --secondary-color: #a855f7;
    --bg-color: #1a1a1a;
    --text-color: #e5e5e5;
    --card-bg: rgba(30, 30, 30, 0.95);
    --border-color: #404040;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --gradient: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--gradient);
    min-height: 100vh;
    color: var(--text-color);
    transition: all 0.3s ease;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    gap: 2rem;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.city-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.city-selector label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.city-selector label i {
    color: var(--primary-color);
    font-size: 1rem;
}

.city-dropdown {
    padding: 10px 14px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 244, 255, 0.95) 100%);
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.city-dropdown:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(245, 248, 255, 1) 100%);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.city-dropdown:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15), 0 4px 16px rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(245, 248, 255, 1) 100%);
}

/* Gece modu dropdown */
[data-theme="dark"] .city-dropdown {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-color: rgba(168, 85, 247, 0.3);
    color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.1);
}

[data-theme="dark"] .city-dropdown:hover {
    border-color: #c084fc;
    background: linear-gradient(135deg, rgba(45, 55, 72, 1) 0%, rgba(35, 47, 69, 1) 100%);
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.2);
}

[data-theme="dark"] .city-dropdown:focus {
    border-color: #c084fc;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15), 0 4px 16px rgba(168, 85, 247, 0.2);
}

[data-theme="dark"] .city-selector label {
    color: #e2e8f0;
}

[data-theme="dark"] .city-selector label i {
    color: #c084fc;
}

/* Gece Modu Toggle */
.theme-controls {
    display: flex;
    align-items: center;
}

.theme-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.theme-toggle:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.theme-toggle:active {
    transform: scale(0.95);
}

[data-theme="dark"] .theme-toggle {
    background: #f59e0b;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

[data-theme="dark"] .theme-toggle:hover {
    background: #d97706;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--text-color);
    opacity: 0.7;
}

.nav-btn.active,
.nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    opacity: 1;
}

/* Ana İçerik */
.main {
    padding: 2rem 0;
}

.menu-section {
    display: none;
}

.menu-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tarih Seçici */
.date-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: all 0.3s ease;
}

.date-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.date-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.current-date {
    text-align: center;
}

.current-date h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.current-date p {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 1rem;
    transition: color 0.3s ease;
}

/* Yemek Bölümleri */
.meals-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.meal-section {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.meal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.meal-header i {
    font-size: 1.3rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.meal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
    transition: color 0.3s ease;
}

.meal-time {
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

/* Menü Öğeleri */
.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-item {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.food-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.food-price {
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.food-description {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.food-info {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.6;
    transition: color 0.3s ease;
}

.food-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.food-info i {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

/* Takvim */
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: all 0.3s ease;
}

.month-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.month-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.calendar-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: all 0.3s ease;
}

.calendar-day {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calendar-day:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-day.today {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.day-number {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.day-meals {
    font-size: 0.8rem;
    color: #666;
}

.day-meals.today {
    color: rgba(255, 255, 255, 0.8);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 1001;
}

.close:hover {
    color: #333;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.food-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    display: inline-block;
}

.modal-body {
    padding: 2rem;
}

.nutrition-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.nutrition-item {
    background: #f8f9ff;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e8ecff;
}

.nutrition-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    display: block;
}

.nutrition-item .label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.nutrition-item .value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.nutrition-details h4 {
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.nutrition-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nutrient {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nutrient-name {
    min-width: 100px;
    font-weight: 500;
    color: #333;
}

.nutrient-bar {
    flex: 1;
    height: 8px;
    background: #e8ecff;
    border-radius: 4px;
    overflow: hidden;
}

.nutrient-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.nutrient-value {
    min-width: 40px;
    text-align: right;
    font-weight: 500;
    color: #333;
}

.allergens h4 {
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.allergen-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.allergen-tag {
    background: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .header-controls {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .city-selector {
        justify-content: center;
        width: 100%;
    }

    .city-dropdown {
        min-width: 140px;
        width: 100%;
        font-size: 0.9rem;
        padding: 9px 12px;
    }

    .city-selector label {
        font-size: 0.9rem;
    }

    .nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .meals-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .meal-section {
        padding: 1rem;
    }

    .meal-header {
        margin-bottom: 0.8rem;
        gap: 10px;
    }

    .meal-header h3 {
        font-size: 1rem;
    }

    .meal-time {
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    .menu-item-simple {
        padding: 0.5rem 0.8rem;
        margin-bottom: 0.4rem;
        font-size: 0.85rem;
    }

    .calorie-info {
        font-size: 0.7rem;
    }

    .date-selector {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 0.5rem;
    }

    .calendar-day {
        min-height: 80px;
        padding: 0.5rem;
    }

    .day-number {
        font-size: 0.9rem;
    }

    .day-meals {
        font-size: 0.7rem;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }

    .nutrition-info {
        grid-template-columns: 1fr;
    }

    .nutrient {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .nutrient-bar {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .nav-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .current-date h2 {
        font-size: 1.5rem;
    }

    .meal-header h3 {
        font-size: 1.1rem;
    }

    .calendar-grid {
        gap: 0.3rem;
    }

    .calendar-day {
        min-height: 60px;
        padding: 0.3rem;
    }

    .day-number {
        font-size: 0.8rem;
    }

    .day-meals {
        font-size: 0.6rem;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-section.active {
    animation: fadeIn 0.5s ease;
}

.menu-item {
    animation: fadeIn 0.3s ease;
}

/* Scroll Bar Özelleştirme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}




/* ==============================================
   YENİ MENÜ KARTI TASARIMI
   ============================================== */

/* script.js'den taşınan temel stil */
.menu-item-simple {
background: var(--card-bg);
 padding: 0.55rem 1rem;
 border-radius: 10px;
margin-bottom: 0.5rem;
 font-size: 0.9rem;
color: var(--text-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 1px 4px var(--shadow-color);
    transition: all 0.2s ease-in-out;
}

.menu-item-simple:hover {
    transform: translateY(-1px);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Yeni İkon Stili */
.menu-item-simple .item-icon {
    font-size: 1rem;
    min-width: 22px;
    text-align: center;
    color: var(--primary-color);
}

/* Yeni Kalori Bilgisi Stilleri */
.calorie-info {
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    opacity: 0.8;
    white-space: nowrap;
}

.calorie-bar-container {
    width: 40px;
    height: 5px;
    background-color: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    display: block;
}

.calorie-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease-out, background-color 0.5s ease-out;
}

/* Kalori Renk Sınıfları */
.calorie-low { background-color: #6edc6e; }
.calorie-medium { background-color: #ffcc00; }
.calorie-high { background-color: #ff6666; }
.calorie-very-high { background-color: #e60000; }


/* ==============================================
   GECE MODU
   ============================================== */

[data-theme="dark"] .menu-item-simple {
    background: #2d3748;
    color: #e2e8f0;
    border-color: #4a5568;
}

[data-theme="dark"] .no-menu {
    background: #2d3748;
    color: #a0aec0;
    border-color: #4a5568;
}

[data-theme="dark"] .calendar-day-header {
    background: #2d3748;
}

[data-theme="dark"] .calorie-info {
    color: #e2e8f0;
    opacity: 1;
}

[data-theme="dark"] .calorie-bar-container {
    background-color: #4a5568;
}

/* ==============================================
   FOOTER STILLERI
   ============================================== */

footer {
    color: var(--text-color);
    padding: 3.5rem 1rem !important;
    margin-top: 5rem;
    text-align: center !important;
    backdrop-filter: blur(10px);
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

footer .container {
    max-width: 900px;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
}

footer p {
    margin: 1rem 0 !important;
    font-size: 0.98rem;
    letter-spacing: 0.5px;
    opacity: 0.95;
    line-height: 1.6;
    text-align: center !important;
    width: 100%;
}

footer p i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

footer a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

footer .footer-nav-btn {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

footer .footer-nav-btn:hover .underline {
    color: var(--secondary-color);
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

[data-theme="light"] footer .footer-nav-btn {
    color: #667eea;
}

[data-theme="light"] footer .footer-nav-btn:hover .underline {
    color: #764ba2;
    background: rgba(102, 126, 234, 0.15);
}

[data-theme="dark"] footer .footer-nav-btn {
    color: #c084fc;
}

[data-theme="dark"] footer .footer-nav-btn:hover .underline {
    color: #e9d5ff;
    background: rgba(168, 85, 247, 0.2);
}

footer a:hover::before {
    width: 100%;
}

footer a i {
    transition: transform 0.3s ease;
}

footer a:hover i {
    transform: rotate(10deg) scale(1.1);
}

footer .underline {
    display: inline-block;
    position: relative;
}

/* Sabah modu footer */
[data-theme="light"] footer {
    background: linear-gradient(180deg, #f0f4ff 0%, #e8e4ff 100%) !important;
    border-top: 3px solid #667eea !important;
    box-shadow: 0 -8px 32px rgba(102, 126, 234, 0.25) !important;
}

[data-theme="light"] footer p i {
    color: #667eea !important;
}

[data-theme="light"] footer a {
    color: #667eea !important;
}

[data-theme="light"] footer a:hover {
    color: #764ba2 !important;
    background: rgba(102, 126, 234, 0.18) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
}

[data-theme="light"] footer a::before {
    background: linear-gradient(90deg, #667eea, #764ba2) !important;
}

[data-theme="light"] footer .footer-nav-btn {
    color: #667eea !important;
}

[data-theme="light"] footer .footer-nav-btn:hover .underline {
    color: #764ba2 !important;
    background: rgba(102, 126, 234, 0.18) !important;
}

/* Gece modu footer */
[data-theme="dark"] footer {
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%) !important;
    border-top-color: #a855f7 !important;
    box-shadow: 0 -8px 32px rgba(168, 85, 247, 0.25) !important;
}

[data-theme="dark"] footer p i {
    color: #c084fc !important;
}

[data-theme="dark"] footer a {
    color: #c084fc !important;
}

[data-theme="dark"] footer a:hover {
    color: #e9d5ff !important;
    background: rgba(168, 85, 247, 0.25) !important;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4) !important;
}

[data-theme="dark"] footer a::before {
    background: linear-gradient(90deg, #c084fc, #e9d5ff) !important;
}

[data-theme="dark"] footer .footer-nav-btn {
    color: #c084fc !important;
}

[data-theme="dark"] footer .footer-nav-btn:hover .underline {
    color: #e9d5ff !important;
    background: rgba(168, 85, 247, 0.25) !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        padding: 2.5rem 1rem;
        margin-top: 4rem;
        border-top-width: 2px;
    }
    
    footer p {
        font-size: 0.9rem;
    }
    
    footer a {
        display: inline;
        padding: 0.2rem 0.4rem;
    }
}

/* ==============================================
   GİZLİLİK POLİTİKASI SAYFASI
   ============================================== */

#privacy-policy {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.08) 50%, rgba(102, 126, 234, 0.04) 100%);
    padding: 3rem 1rem;
    min-height: calc(100vh - 200px);
    position: relative;
    overflow: hidden;
}

/* Arka plan deseni */
#privacy-policy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(102, 126, 234, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

#privacy-policy::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.privacy-container {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px var(--shadow-color), 0 0 1px rgba(102, 126, 234, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.privacy-container h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.privacy-content {
    margin-top: 2rem;
}

.policy-section {
    margin-bottom: 2.5rem;
    padding: 1.8rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.policy-section:hover {
    background: rgba(102, 126, 234, 0.08);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
    transform: translateX(4px);
}

.policy-section:last-child {
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.policy-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.policy-section h3 {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.policy-section p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
    opacity: 0.95;
}

.policy-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.policy-section li {
    padding-left: 2.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.9;
}

.policy-section li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.policy-section code {
    background: rgba(102, 126, 234, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.policy-section a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.policy-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Gece modu gizlilik sayfası */
[data-theme="dark"] #privacy-policy {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(139, 92, 246, 0.06) 50%, rgba(168, 85, 247, 0.05) 100%);
}

[data-theme="dark"] #privacy-policy::before {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 40%);
}

[data-theme="dark"] #privacy-policy::after {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
}

[data-theme="dark"] .policy-section {
    background: rgba(168, 85, 247, 0.08);
    border-left-color: #c084fc;
    border-bottom-color: rgba(168, 85, 247, 0.15);
}

[data-theme="dark"] .policy-section:hover {
    background: rgba(168, 85, 247, 0.12);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.15);
}

[data-theme="dark"] .privacy-container h1 {
    color: #c084fc;
}

[data-theme="dark"] .policy-section {
    border-bottom-color: #4a5568;
}

[data-theme="dark"] .policy-section h2 {
    color: #c084fc;
}

[data-theme="dark"] .policy-section h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .policy-section p,
[data-theme="dark"] .policy-section li {
    color: #cbd5e0;
}

[data-theme="dark"] .policy-section code {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
}

[data-theme="dark"] .policy-section a {
    color: #c084fc;
}

[data-theme="dark"] .policy-section a:hover {
    color: #e9d5ff;
    border-bottom-color: #e9d5ff;
}

[data-theme="dark"] .policy-section li::before {
    color: #c084fc;
}

[data-theme="dark"] .policy-section strong {
    color: #c084fc;
}

/* Responsive Gizlilik */
@media (max-width: 768px) {
    #privacy-policy {
        padding: 2rem 1rem;
        min-height: auto;
    }

    #privacy-policy::after {
        display: none;
    }

    .privacy-container {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .privacy-container h1 {
        font-size: 1.8rem;
    }
    
    .policy-section {
        padding: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .policy-section h2 {
        font-size: 1.2rem;
    }
    
    .policy-section h3 {
        font-size: 1rem;
    }
    
    .policy-section p,
    .policy-section li {
        font-size: 0.95rem;
    }
}

/* ==============================================
   SSS (SIKCÇA SORULAN SORULAR) SAYFASI
   ============================================== */

#faq-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.08) 50%, rgba(102, 126, 234, 0.04) 100%);
    padding: 3rem 1rem;
    min-height: calc(100vh - 200px);
    position: relative;
    overflow: hidden;
}

#faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(102, 126, 234, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

#faq-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faq-container {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px var(--shadow-color), 0 0 1px rgba(102, 126, 234, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.faq-container h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.faq-subtitle {
    text-align: center;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.faq-content {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.05);
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.1);
}

.faq-question span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.faq-question i:first-child {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.faq-question i:last-child {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question i:last-child {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(102, 126, 234, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 1.5rem;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.95;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.faq-answer li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-color);
    opacity: 0.9;
}

.faq-answer li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-answer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Gece modu SSS */
[data-theme="dark"] #faq-section {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(139, 92, 246, 0.06) 50%, rgba(168, 85, 247, 0.05) 100%);
}

[data-theme="dark"] #faq-section::before {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 40%);
}

[data-theme="dark"] #faq-section::after {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
}

[data-theme="dark"] .faq-container {
    background: rgba(45, 55, 72, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 1px rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.15);
}

[data-theme="dark"] .faq-container h1 {
    color: #c084fc;
}

[data-theme="dark"] .faq-question {
    background: rgba(168, 85, 247, 0.08);
    color: #e2e8f0;
}

[data-theme="dark"] .faq-question:hover {
    background: rgba(168, 85, 247, 0.12);
}

[data-theme="dark"] .faq-item {
    border-color: rgba(168, 85, 247, 0.15);
}

[data-theme="dark"] .faq-item:hover {
    border-color: #c084fc;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

[data-theme="dark"] .faq-question i {
    color: #c084fc;
}

[data-theme="dark"] .faq-answer {
    background: rgba(168, 85, 247, 0.04);
}

[data-theme="dark"] .faq-item.active .faq-answer {
    border-top-color: rgba(168, 85, 247, 0.2);
}

[data-theme="dark"] .faq-answer p {
    color: #cbd5e0;
}

[data-theme="dark"] .faq-answer li {
    color: #cbd5e0;
}

[data-theme="dark"] .faq-answer li::before {
    color: #c084fc;
}

[data-theme="dark"] .faq-answer a {
    color: #c084fc;
}

[data-theme="dark"] .faq-answer a:hover {
    color: #e9d5ff;
}

/* Responsive SSS */
@media (max-width: 768px) {
    #faq-section {
        padding: 2rem 1rem;
        min-height: auto;
    }

    #faq-section::after {
        display: none;
    }

    .faq-container {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .faq-container h1 {
        font-size: 1.8rem;
    }
    
    .faq-subtitle {
        font-size: 0.95rem;
    }
    
    .faq-question {
        padding: 1.2rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
}

/* Disclaimer Styling */
.privacy-container > div[style*="background: #fff3cd"] {
    background: #fff3cd !important;
    border-left: 4px solid #ffc107 !important;
    border-radius: 4px;
    animation: slideIn 0.3s ease;
}

.privacy-container > div[style*="background: #fff3cd"] strong {
    color: #856404;
    font-weight: 600;
}

.privacy-container > div[style*="background: #fff3cd"] p {
    color: #856404;
}

[data-theme="dark"] .privacy-container > div[style*="background: #fff3cd"] {
    background: #4a3f1a !important;
    border-left-color: #ffb81c !important;
}

[data-theme="dark"] .privacy-container > div[style*="background: #fff3cd"] strong,
[data-theme="dark"] .privacy-container > div[style*="background: #fff3cd"] p {
    color: #ffd966;
}

/* Red Disclaimer for Terms */
.privacy-container > div[style*="background: #f8d7da"] {
    background: #f8d7da !important;
    border-left: 4px solid #dc3545 !important;
    border-radius: 4px;
    animation: slideIn 0.3s ease;
}

.privacy-container > div[style*="background: #f8d7da"] strong {
    color: #721c24;
    font-weight: 600;
}

.privacy-container > div[style*="background: #f8d7da"] p {
    color: #721c24;
}

[data-theme="dark"] .privacy-container > div[style*="background: #f8d7da"] {
    background: #4a2527 !important;
    border-left-color: #ff6b6b !important;
}

[data-theme="dark"] .privacy-container > div[style*="background: #f8d7da"] strong,
[data-theme="dark"] .privacy-container > div[style*="background: #f8d7da"] p {
    color: #ff9999;
}

/* Dark Mode - privacy content box styling */
[data-theme="dark"] p[style*="background: #f0f0f0"] {
    background: rgba(102, 126, 234, 0.15) !important;
    color: #e5e5e5 !important;
    border-radius: 4px;
}

[data-theme="dark"] p[style*="background: #f0f0f0"] a {
    color: #b4a7ff !important;
}

[data-theme="dark"] p[style*="background: #f0f0f0"] a:hover {
    color: #d4c5ff !important;
    text-decoration: underline;
}

/* Dark Mode - privacy-content p styling */
[data-theme="dark"] .privacy-content p[style*="color: #666"] {
    color: #b0b0b0 !important;
}

/* Privacy/Terms Content Styling */
.privacy-content {
    color: var(--text-color);
}

.privacy-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 12px 0;
}

.privacy-content h2 {
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.privacy-content ul {
    color: var(--text-color);
    margin-left: 20px;
    list-style-type: disc;
}

.privacy-content li {
    color: var(--text-color);
    margin: 8px 0;
    line-height: 1.5;
}

.privacy-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.privacy-content code {
    background: var(--border-color);
    color: var(--text-color);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.privacy-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.privacy-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Light Mode - Privacy Content Enhancements */
[data-theme="light"] .privacy-content {
    color: #333;
}

[data-theme="light"] .privacy-content p,
[data-theme="light"] .privacy-content h2,
[data-theme="light"] .privacy-content li,
[data-theme="light"] .privacy-content strong {
    color: #333;
}

[data-theme="light"] .privacy-content code {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

[data-theme="light"] .privacy-content a {
    color: #667eea;
}

[data-theme="light"] .privacy-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Dark Mode - Privacy Content */
[data-theme="dark"] .privacy-content {
    color: #e5e5e5;
}

[data-theme="dark"] .privacy-content p,
[data-theme="dark"] .privacy-content h2,
[data-theme="dark"] .privacy-content li,
[data-theme="dark"] .privacy-content strong {
    color: #e5e5e5;
}

[data-theme="dark"] .privacy-content code {
    background: rgba(255, 255, 255, 0.1);
    color: #b4e7ff;
    border: 1px solid rgba(180, 167, 255, 0.3);
}

[data-theme="dark"] .privacy-content a {
    color: #c084fc;
}

[data-theme="dark"] .privacy-content a:hover {
    color: #e9d5ff;
    text-decoration: underline;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Disclaimer Box Styling */
/* Light Mode - Disclaimer (Sorumluluk Reddi) */
[data-theme="light"] div[style*="background: #f8d7da"] {
    background: #f8d7da !important;
    color: #721c24 !important;
    border-left: 4px solid #dc3545 !important;
}

[data-theme="light"] div[style*="background: #f8d7da"] strong {
    color: #721c24 !important;
}

[data-theme="light"] div[style*="background: #f8d7da"] p {
    color: #721c24 !important;
}

/* Dark Mode - Disclaimer (Sorumluluk Reddi) */
[data-theme="dark"] div[style*="background: #f8d7da"] {
    background: rgba(220, 53, 69, 0.2) !important;
    color: #ff9999 !important;
    border-left: 4px solid #ff6b6b !important;
}

[data-theme="dark"] div[style*="background: #f8d7da"] strong {
    color: #ff9999 !important;
}

[data-theme="dark"] div[style*="background: #f8d7da"] p {
    color: #ff9999 !important;
}

/* Force readability for Terms of Use / Privacy in Light Mode */
[data-theme="light"] #privacy-policy,
[data-theme="light"] #privacy-policy .privacy-content,
[data-theme="light"] #privacy-policy .policy-section,
[data-theme="light"] #privacy-policy p,
[data-theme="light"] #privacy-policy h1,
[data-theme="light"] #privacy-policy h2,
[data-theme="light"] #privacy-policy h3,
[data-theme="light"] #privacy-policy li {
    color: #222 !important;
}

[data-theme="light"] #privacy-policy .policy-section {
    background: #fcfdff !important;
    border-left-color: #667eea !important;
    border-bottom-color: rgba(102,126,234,0.08) !important;
}

/* Ensure the small light-grey info box is readable in light mode */
[data-theme="light"] p[style*="background: #f0f0f0"] {
    background: #f5f7ff !important;
    color: #222 !important;
}

[data-theme="light"] #privacy-policy a {
    color: #1a56db !important;
}

[data-theme="light"] #privacy-policy a:hover {
    color: #3b4df0 !important;
    text-decoration: underline !important;
}
