/* ==========================================================================
   1. ROOT DEĞİŞKENLER (MODERN & PREMIUM)
   ========================================================================== */
:root {
    --primary: #2d5a58;
    --primary-light: #f0f7f6;
    --primary-gradient: linear-gradient(135deg, #40706e 0%, #2d5a58 100%);
    --secondary: #d4af37;
    --secondary-gradient: linear-gradient(135deg, #d4af37 0%, #b8962d 100%);
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --text-dark: #1e293b;
    --text-light: #475569;
    --text-muted: #94a3b8;
    --red: #ef4444;
    --green: #10b981;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 1rem;
}

[data-theme="dark"] {
    --bg-light: #0f172a;
    --card-bg: #1e293b;
    --text-dark: #f8fafc;
    --text-light: #cbd5e1;
    --text-muted: #64748b;
    --glass-bg: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(255, 255, 255, 0.05);
    --primary-light: rgba(45, 90, 88, 0.2);
}

/* ==========================================================================
   2. GENEL SIFIRLAMA & TEMEL
   ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; color: var(--text-dark); line-height: 1.2; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 80px 0; position: relative; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ==========================================================================
   3. MODERN NAVBAR (GLASSMORPHISM)
   ========================================================================== */
nav {
    position: fixed; top: 0; left: 0; right: 0; height: 80px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000; transition: var(--transition);
}

nav.scrolled { height: 70px; box-shadow: var(--shadow-md); }

.nav-container {
    height: 100%; display: flex; justify-content: space-between; align-items: center;
    width: 90%; max-width: 1200px; margin: 0 auto;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; gap: 10px; }
.nav-logo img { height: 40px; }
.nav-logo span { font-size: 1.25rem; font-weight: 800; color: var(--primary); font-family: 'Playfair Display', serif; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
    text-decoration: none; color: var(--text-light); font-weight: 700; font-size: 0.95rem;
    transition: var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.theme-toggle-btn {
    background: none; border: none; cursor: pointer; font-size: 1.25rem;
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: var(--transition); color: var(--text-dark);
}
.theme-toggle-btn:hover { background: rgba(0,0,0,0.05); }

.mobile-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-toggle span { display: block; width: 25px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

@media (max-width: 992px) {
    .mobile-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 80px; left: 0; right: 0; height: calc(100vh - 80px);
        background: var(--card-bg); flex-direction: column; padding: 2rem;
        transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999; box-shadow: var(--shadow-xl);
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links a { font-size: 1.2rem; width: 100%; text-align: center; padding: 1rem; }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero-section { padding: 160px 0 80px; overflow: hidden; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.hero-content h1 { font-size: 3.5rem; margin-bottom: 1.5rem; line-height: 1.1; }
.text-gradient { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-badge { display: inline-block; padding: 0.5rem 1rem; background: var(--primary-light); color: var(--primary); border-radius: 2rem; font-weight: 800; font-size: 0.875rem; margin-bottom: 1.5rem; }
.hero-desc { font-size: 1.125rem; color: var(--text-light); margin-bottom: 2rem; max-width: 540px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image { position: relative; display: flex; justify-content: center; align-items: center; }
.main-profile { width: 100%; max-width: 450px; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; box-shadow: var(--shadow-xl); border: 12px solid #fff; z-index: 2; position: relative; animation: profileMorph 8s ease-in-out infinite; }
@keyframes profileMorph { 0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; } 50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; } }
.hero-blob { position: absolute; width: 120%; height: 120%; background: var(--primary-light); border-radius: 50%; filter: blur(60px); opacity: 0.5; z-index: 1; }

@media (max-width: 768px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-image { order: -1; margin-bottom: 2rem; }
    .main-profile { max-width: 300px; }
}

/* ==========================================================================
   5. BİLGİ KARTLARI (INFO SECTION)
   ========================================================================== */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.info-card { background: var(--card-bg); padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow-md); transition: var(--transition); text-align: center; border: 1px solid var(--admin-border); }
.info-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.info-card .icon { font-size: 3rem; margin-bottom: 1.5rem; display: block; }
.info-card h3 { margin-bottom: 1rem; }

/* ==========================================================================
   6. PAKETLER (PRICING)
   ========================================================================== */
.section-header { text-align: center; margin-bottom: 4rem; }
.sub-title { color: var(--secondary); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.875rem; margin-bottom: 0.5rem; display: block; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }

.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.package-card { background: var(--card-bg); border-radius: var(--radius); padding: 3rem 2rem; position: relative; border: 1px solid var(--admin-border); transition: var(--transition); display: flex; flex-direction: column; }
.package-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.package-card.featured { border: 2px solid var(--primary); scale: 1.05; z-index: 5; }
.package-badge { position: absolute; top: 1.5rem; right: -2rem; background: var(--primary); color: #fff; padding: 0.5rem 4rem; transform: rotate(45deg); font-size: 0.75rem; font-weight: 800; }

.package-card h3 { font-size: 1.75rem; margin-bottom: 1.5rem; }
.price { font-size: 3rem; font-weight: 800; color: var(--primary); margin-bottom: 2rem; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }

.package-card ul { list-style: none; margin-bottom: 2.5rem; flex-grow: 1; }
.package-card li { padding-left: 2rem; position: relative; margin-bottom: 1rem; color: var(--text-light); }
.package-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 900; }

@media (max-width: 992px) {
    .package-card.featured { scale: 1; }
}

/* ==========================================================================
   7. BUTONLAR
   ========================================================================== */
.btn { display: inline-block; padding: 1rem 2rem; border-radius: 3rem; font-weight: 700; transition: var(--transition); cursor: pointer; text-decoration: none; border: none; text-align: center; }
.btn-primary { background: var(--primary-gradient); color: #fff; box-shadow: 0 10px 15px -3px rgba(45, 90, 88, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 25px -5px rgba(45, 90, 88, 0.4); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.w-full { width: 100%; }

/* ==========================================================================
   8. TAKVİM (CALENDAR)
   ========================================================================== */
.calendar-wrapper { max-width: 800px; margin: 0 auto; background: var(--card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--admin-border); }
.calendar-nav { background: var(--primary-gradient); color: #fff; padding: 2rem; display: flex; justify-content: space-between; align-items: center; }
.nav-btn { background: rgba(255,255,255,0.1); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: var(--transition); }
.nav-btn:hover { background: rgba(255,255,255,0.2); }

.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--admin-border); }
.day { background: var(--card-bg); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); font-weight: 700; }
.day:hover:not(.disabled-day) { background: var(--primary-light); color: var(--primary); }
.day.active { background: var(--primary); color: #fff; }
.disabled-day { color: var(--text-muted); opacity: 0.3; cursor: not-allowed; }

/* ==========================================================================
   9. MODALLAR
   ========================================================================== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; transition: var(--transition); }
.modal-content { background: var(--card-bg); width: 100%; max-width: 600px; border-radius: var(--radius); padding: 2.5rem; position: relative; box-shadow: var(--shadow-xl); max-height: 90vh; overflow-y: auto; }
.close-modal { position: absolute; top: 1rem; right: 1.5rem; font-size: 2rem; background: none; border: none; cursor: pointer; color: var(--text-muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-weight: 700; font-size: 0.875rem; color: var(--text-light); }
.form-group input, .form-group select, .form-group textarea { padding: 0.75rem 1rem; border-radius: 0.5rem; border: 1px solid var(--admin-border); background: var(--bg-light); color: var(--text-dark); font-family: inherit; transition: var(--transition); }
.form-group input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45, 90, 88, 0.1); }

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

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.main-footer { background: #0f172a; color: #f8fafc; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-logo { height: 50px; margin-bottom: 1.5rem; filter: brightness(0) invert(1); }
.footer-links h4, .footer-social h4 { color: #fff; margin-bottom: 1.5rem; }
.footer-links a { display: block; color: #94a3b8; text-decoration: none; margin-bottom: 0.75rem; transition: var(--transition); }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: #64748b; font-size: 0.875rem; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
}

/* ==========================================================================
   11. EKSTRALAR
   ========================================================================== */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: #25d366; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 999; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 35px; }

#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-light); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.spinner { width: 50px; height: 50px; border: 5px solid var(--primary-light); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Newsletter Box */
.newsletter-box { background: var(--primary-gradient); padding: 4rem; border-radius: var(--radius); color: #fff; text-align: center; margin-top: 4rem; }
.newsletter-form { display: flex; gap: 1rem; max-width: 500px; margin: 2rem auto 0; }
.newsletter-form input { flex: 1; padding: 1rem 1.5rem; border-radius: 3rem; border: none; }

/* FAQ Accordion */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border-radius: 0.75rem; margin-bottom: 1rem; overflow: hidden; border: 1px solid var(--admin-border); }
.faq-question { width: 100%; padding: 1.5rem; text-align: left; background: none; border: none; font-weight: 700; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; color: var(--text-dark); }
.faq-answer { padding: 0 1.5rem 1.5rem; color: var(--text-light); display: none; }
.faq-item.active .faq-answer { display: block; }

/* Review Slider */
.testimonials-slider { overflow: hidden; padding: 2rem 0; }
.slider-track { display: flex; gap: 2rem; transition: transform 0.5s ease; }
.slide { min-width: 350px; background: var(--card-bg); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--admin-border); }
