        /* --- GENEL DEĞİŞKENLER VE AYARLAR --- */
        :root {
            --primary-green: #014131;
            --accent-teal: #42726d;
            --dark-bg: #1a1e22;
            --text-dark: #222222;
            --text-gray: #555555;
            --bg-light: #f4f8f7; 
            --white: #ffffff;
            --pdf-width: 65%; /* Web için varsayılan PDF genişliği */
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body, input, button, textarea, select { font-family: 'Inter', sans-serif; }
        body { color: var(--text-dark); line-height: 1.6; background-color: var(--bg-light); overflow-x: hidden; }
        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }

        /* --- 1. HEADER --- */
        .navbar {
            background: #ffffff; padding: 15px 5%; display: flex; justify-content: space-between; align-items: center;
            position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }
        .logo img { height: 60px; display: block; }
        .nav-center { display: flex; gap: 20px; align-items: center; margin-left: auto; margin-right: 40px; }
        .nav-item { position: relative; padding: 10px 0; cursor: pointer; }
        .nav-link { color: #000000; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; padding: 8px 12px; border-radius: 5px; transition: all 0.3s ease; display: block; }
        .nav-link:hover { color: var(--primary-green); background-color: rgba(1, 65, 49, 0.05); }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: var(--white);
            width: 960px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0 24px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
            border-top: 3px solid var(--accent-teal);
            border-radius: 16px;
            overflow: hidden;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            padding: 20px 16px;
            z-index: 1001;
            text-align: left;
        }

        .dropdown-col {
            display: flex;
            flex-direction: column;
        }

        .dropdown-col-title {
            display: block;
            font-size: 0.7rem;
            font-weight: 800;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--accent-teal);
            padding: 6px 20px 10px;
        }

        .nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

        .dropdown-menu li a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 20px;
            border-bottom: 1px solid #eee;
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--text-dark);
            white-space: nowrap;
            transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
        }

        .dropdown-menu li a i {
            width: 16px;
            flex-shrink: 0;
            text-align: center;
            font-size: 0.8rem;
            color: var(--accent-teal);
            transition: color 0.25s ease;
        }

        .dropdown-col li:last-child a {
            border-bottom: none;
        }

        .dropdown-menu li a:hover { background: #f4f8f7; color: var(--primary-green); padding-left: 25px; }

        .dropdown-menu li a:hover i { color: var(--primary-green); }

        .dropdown-placeholder a,
        .dropdown-placeholder a:hover {
            visibility: hidden;
            pointer-events: none;
            background: transparent;
            padding-left: 20px;
        }


        .nav-right { display: flex; gap: 15px; align-items: center; }
        .btn-auth { padding: 10px 20px; border: 2px solid #000000; color: #000000; border-radius: 50px; font-weight: 600; font-size: 0.85rem; background: transparent; transition: 0.3s; }
        .btn-auth:hover { background-color: var(--primary-green); border-color: var(--primary-green); color: #ffffff; transform: translateY(-2px); }
        .btn-lang {
            padding: 8px 12px;
            border: 2px solid #000000;
            border-radius: 50px;
            background: transparent;
            cursor: pointer;
            transition: 0.3s;
            display: flex;
            align-items: center;
        }
        .btn-lang:hover {
            border-color: var(--primary-green);
            transform: translateY(-2px);
        }
        .hamburger-menu { display: none; font-size: 2rem; color: #000; cursor: pointer; }

        /* --- 2. KİTAP (PDF) BÖLÜMÜ --- */
        .handbook-section { padding: 60px 5% 100px; }
        .handbook-container { max-width: 1100px; margin: 0 auto; text-align: center; }

        .handbook-header { margin-bottom: 40px; }
        .handbook-header h1 { font-size: 2.8rem; font-weight: 800; color: var(--primary-green); margin-bottom: 10px; line-height: 1.2; letter-spacing: -0.5px; }
        .handbook-header p { font-size: 1.05rem; color: var(--text-gray); line-height: 1.6; max-width: 700px; margin: 0 auto; }

        /* ANA PDF ÇERÇEVESİ */
        .book-viewer-wrapper {
            background-color: #ffffff;
            border-radius: 24px;
            box-shadow: 0 15px 40px rgba(1, 65, 49, 0.12);
            overflow: hidden;
            margin-bottom: 30px;
            border: 5px solid var(--primary-green);
        }

        /* Ferah Araç Çubuğu */
        .pdf-toolbar {
            background-color: #fcfdfd;
            padding: 15px 20px;
            display: flex;
            justify-content: center;
            gap: 15px;
            align-items: center;
            border-bottom: 2px solid #f0f4f3;
        }

        .pdf-toolbar button, .pdf-toolbar a {
            background-color: #ffffff;
            color: var(--primary-green);
            border: 2px solid var(--primary-green);
            padding: 10px 25px;
            border-radius: 50px; 
            font-size: 0.95rem;
            cursor: pointer;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            text-decoration: none;
            box-shadow: 0 4px 10px rgba(0,0,0,0.03);
        }

        .pdf-toolbar button:hover, .pdf-toolbar a:hover {
            background-color: var(--primary-green);
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 8px 15px rgba(1, 65, 49, 0.15);
        }

        /* PDF'in Kaydırılabilir Arka Planı */
        .pdf-container {
            width: 100%;
            height: 85vh; 
            min-height: 500px;
            overflow-y: auto; 
            overflow-x: auto; /* DÜZELTME: Yakınlaştırıldığında sağa sola kaydırmayı açar */
            -webkit-overflow-scrolling: touch; 
            background-color: #eef2f1; 
            padding: 30px 0;
            position: relative;
            text-align: center; /* Sayfaları ortalar */
        }

        /* RENDER EDİLEN PDF SAYFALARI */
        .pdf-page-canvas {
            display: inline-block;
            margin: 0 auto 30px auto;
            
            /* DÜZELTME: Dinamik genişlik atandı. JavaScript ile anında büyüyüp küçülür */
            width: var(--pdf-width) !important; 
            height: auto !important; 
            
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            background-color: #fff;
            border-radius: 10px; 
            border: 1px solid #d0d7d5;
            transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Yumuşak yakınlaştırma efekti */
        }

        /* Yükleme Animasyonu */
        .loader-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: var(--primary-green);
            font-weight: 600;
            font-size: 1.1rem;
        }

        .loader-icon {
            font-size: 3rem;
            margin-bottom: 15px;
            color: var(--accent-teal);
            animation: bounce 1.5s infinite ease-in-out;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }

        /* --- MOBİL MENÜ --- */
        .mobile-menu-overlay { position: fixed; top: 0; left: -100%; width: 100%; height: 100%; background-color: var(--primary-green); z-index: 2000; transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1); display: flex; flex-direction: column; padding: 40px 10% 80px; overflow-y: auto; }
        .mobile-menu-overlay.active { left: 0; }
        .mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
        .close-mobile-menu { color: white; font-size: 2.5rem; cursor: pointer; }
        .mobile-nav-list { display: flex; flex-direction: column; gap: 20px; }
        .mobile-nav-item { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
        .mobile-nav-link { color: white; font-size: 1.4rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
        .mobile-dropdown { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding-left: 20px; background: rgba(0,0,0,0.1); border-radius: 10px; }
        .mobile-dropdown.active { max-height: 500px; margin-top: 15px; padding: 15px 20px; }
        .mobile-dropdown li { margin-bottom: 12px; }
        .mobile-dropdown li a { color: #4db6ac; font-size: 1.1rem; font-weight: 500; }
        .mobile-auth-btns { margin-top: 40px; display: flex; flex-direction: column; gap: 15px; }
        .mobile-auth-btns .btn-auth { text-align: center; padding: 15px; font-size: 1rem; color: #fff; border-color: #fff; }

        /* --- 3. FOOTER --- */
        footer { background-color: #1a1e22; color: #b0b0b0; padding: 80px 5% 60px; position: relative; margin-top: 0; z-index: 10; }
        .footer-content { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.5fr; gap: 50px; max-width: 1200px; margin: 0 auto; }
        .footer-col h4 { color: var(--white); font-size: 1.4rem; font-weight: 700; margin-bottom: 25px; line-height: 1.3; }
        .footer-col ul { list-style: none; padding: 0; margin: 0; }
        .footer-col ul li { margin-bottom: 12px; }
        .footer-col ul li a { color: #b0b0b0; font-size: 0.95rem; font-weight: 600; transition: 0.3s; }
        .footer-col ul li a:hover { color: var(--accent-teal); padding-left: 5px; }
        .footer-logo { width: 210px; display: block; margin-top: -35px; margin-left: -45px; margin-bottom: 15px; padding: 0; }
        .footer-col:first-child { display: flex; flex-direction: column; align-items: flex-start; padding-top: 0; }
        .miami-address { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; }
        .miami-address p { font-size: 0.9rem; line-height: 1.6; color: #999; }
        .footer-socials { display: flex; gap: 12px; margin-top: 30px; }
        .footer-socials a { width: 45px; height: 45px; background: #000000; color: #ffffff; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 1.3rem; transition: 0.3s ease; }
        .footer-socials a:hover { transform: translateY(-3px); background: var(--accent-teal); }

        /* --- MOBİL UYUMLULUK --- */
        @media (max-width: 992px) {
            .nav-center, .nav-right { display: none; }
            .hamburger-menu { display: block; position: relative; z-index: 1001; }
            .handbook-header h1 { font-size: 2.2rem; }
            .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
            .footer-logo { margin: 0 auto 15px; }
            .footer-col:first-child { align-items: center; }
            .footer-socials { justify-content: center; }
        }

        @media (max-width: 768px) {
            /* Mobilde başlangıç genişliğini %95 yapıyoruz */
            :root {
                --pdf-width: 95%;
            }
        }

        @media (max-width: 576px) {
            .handbook-section { padding: 40px 5% 60px; }
            .pdf-container { height: 65vh; min-height: 400px; padding: 20px 0; }
            .pdf-toolbar button span, .pdf-toolbar a span { display: none; }
            .pdf-toolbar { gap: 10px; padding: 12px; }
            .pdf-toolbar button, .pdf-toolbar a { padding: 12px 15px; font-size: 1.2rem; }
        }

/* --- WhatsApp float button --- */
        .whatsapp-float {
            position: fixed;
            bottom: 25px;
            right: 25px;
            width: 60px;
            height: 60px;
            background-color: #25D366;
            color: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
            z-index: 1500;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: whatsapp-pulse 2.5s infinite;
            text-decoration: none;
        }

        .whatsapp-float:hover {
            transform: scale(1.08);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
        }

        @keyframes whatsapp-pulse {
            0% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.5); }
            70% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 0 14px rgba(37, 211, 102, 0); }
            100% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0); }
        }

        @media (max-width: 768px) {
            .whatsapp-float {
                width: 52px;
                height: 52px;
                font-size: 1.5rem;
                bottom: 18px;
                right: 18px;
            }
        }
