/*=========================================
GEOEMRETRI
UCRETLER.CSS
PART 1
=========================================*/

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Inter',sans-serif;
background:#f3f6fb;
color:#1f2937;
line-height:1.7;
}

.container{
width:92%;
max-width:1150px;
margin:auto;
}

a{
text-decoration:none;
}

/*=========================
HEADER
=========================*/

.header{
position:sticky;
top:0;
z-index:999;
background:#fff;
box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.header .container{
height:82px;
display:flex;
justify-content:space-between;
align-items:center;
}

.logo img{
height:58px;
}

nav{
display:flex;
gap:35px;
}

nav a{
font-weight:700;
color:#374151;
transition:.3s;
}

nav a:hover{
color:#2563eb;
}

/*=========================
HERO
=========================*/

.hero{
padding:110px 0 90px;
background:linear-gradient(135deg,#2563eb,#1d4ed8);
text-align:center;
color:#fff;
}

.hero h1{
font-size:52px;
font-weight:800;
margin-bottom:18px;
}

.hero p{
max-width:720px;
margin:auto;
font-size:20px;
opacity:.95;
}

/*=========================
PAKETLER
=========================*/

.packages{
padding:90px 0;
}

.packages h2{
font-size:42px;
text-align:center;
margin-bottom:60px;
color:#111827;
}

.accordion{
max-width:900px;
margin:auto;
display:flex;
flex-direction:column;
gap:28px;
}

/*=========================
KART
=========================*/

.accordion-item{

border-radius:26px;

overflow:hidden;

box-shadow:0 20px 45px rgba(15,23,42,.12);

transition:.35s;

background:#fff;

}

.accordion-item:hover{

transform:translateY(-8px);

box-shadow:0 25px 55px rgba(37,99,235,.20);

}

/* ==========================================
   ACCORDION KARTLARI
========================================== */

.accordion{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.accordion-item{
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 18px 45px rgba(0,0,0,.12);
    transition:.35s;
    border:1px solid rgba(255,255,255,.15);
}

.accordion-item:hover{
    transform:translateY(-6px);
    box-shadow:0 25px 60px rgba(0,0,0,.18);
}

/* Başlık */

.accordion-header{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:28px 34px;
    border:none;
    cursor:pointer;
    font-size:24px;
    font-weight:700;
    color:#fff;
    background:transparent;
}

.accordion-header span:last-child{
    font-size:30px;
    transition:.3s;
}

.accordion-item.active .accordion-header span:last-child{
    transform:rotate(45deg);
}

/* Açılır Alan */

.accordion-content{
    max-height:0;
    overflow:hidden;
    transition:max-height .45s ease;
    padding:0 34px;
}

/* Açık Durum */

.accordion-item.active .accordion-content{
    max-height:1200px;
    padding:0 34px 34px;
}

/* Liste */

.accordion-content ul{
    list-style:none;
    margin-top:10px;
}

.accordion-content li{
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,.18);
    color:#fff;
    font-size:17px;
}

.accordion-content li:last-child{
    border-bottom:none;
}

/* Fiyat Kutusu */

.package-price{
    margin-top:30px;
    padding:18px;
    border-radius:16px;
    background:rgba(255,255,255,.18);
    text-align:center;
    font-size:30px;
    font-weight:800;
    color:#fff;
    backdrop-filter:blur(10px);
}

/* Buton */

.btn{
    display:inline-block;
    margin-top:28px;
    padding:16px 34px;
    background:#fff;
    color:#111827;
    font-weight:700;
    border-radius:14px;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
    background:#f8fafc;
}

/* ==========================================
   PART 3
   PAKET RENKLERİ + MOBİL + FOOTER
========================================== */

/* ==========================
   PAKET RENKLERİ
========================== */

/* 1. Yıllık */
.accordion-item:nth-child(1){
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
}

/* 2. TYT */
.accordion-item:nth-child(2){
    background:linear-gradient(135deg,#16a34a,#15803d);
}

/* 3. AYT */
.accordion-item:nth-child(3){
    background:linear-gradient(135deg,#7c3aed,#5b21b6);
}

/* 4. Geometri */
.accordion-item:nth-child(4){
    background:linear-gradient(135deg,#ea580c,#c2410c);
}

/* 5. LGS */
.accordion-item:nth-child(5){
    background:linear-gradient(135deg,#0891b2,#0e7490);
}

/* 6. KPSS */
.accordion-item:nth-child(6){
    background:linear-gradient(135deg,#ca8a04,#a16207);
}

/* 7. DGS */
.accordion-item:nth-child(7){
    background:linear-gradient(135deg,#9333ea,#6b21a8);
}

/* 9. Limit Türev İntegral */
.accordion-item:nth-child(9){
    background:linear-gradient(135deg,#0f766e,#115e59);
}

/* 10. Trigonometri Analitik */
.accordion-item:nth-child(10){
    background:linear-gradient(135deg,#be123c,#9f1239);
}

/* 11. Soru Çözüm Kampı */
.accordion-item:nth-child(11){
    background:linear-gradient(135deg,#0369a1,#075985);
}

/* 12. Çıkmış Soru Analiz */
.accordion-item:nth-child(12){
    background:linear-gradient(135deg,#4f46e5,#3730a3);
}

/* 13. Üçgenler Kampı */
.accordion-item:nth-child(13){
    background:linear-gradient(135deg,#15803d,#166534);
}

/* 8. Birebir */
.accordion-item:nth-child(8){
    background:linear-gradient(135deg,#dc2626,#991b1b);
}

/* Başlık ve içerik yazıları */

.accordion-header,
.accordion-content,
.accordion-content li,
.package-price{
    color:#fff;
}

/* Paket fiyat kutusu */

.package-price{
    margin-top:28px;
    margin-bottom:10px;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.25);
}

/* Buton */

.btn{
    background:#fff;
    color:#1e293b;
}

.btn:hover{
    background:#f3f4f6;
    color:#111827;
}

/* ==========================
   FOOTER
========================== */

footer{
    margin-top:90px;
    padding:60px 0;
    background:#111827;
    color:#fff;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;
}

footer h2,
footer h4{
    margin-bottom:18px;
}

footer p{
    color:#d1d5db;
    margin-bottom:10px;
}

footer a{
    display:block;
    color:#d1d5db;
    margin-bottom:10px;
    transition:.3s;
}

footer a:hover{
    color:#60a5fa;
}

/* ==========================
   MOBİL
========================== */

@media(max-width:768px){

    .hero{
        padding:90px 20px 70px;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:17px;
    }

    .accordion-header{
        padding:22px;
        font-size:19px;
    }

    .accordion-content{
        padding:0 22px;
    }

    .accordion-item.active .accordion-content{
        padding:0 22px 22px;
    }

    .accordion-content li{
        font-size:15px;
    }

    .package-price{
        font-size:24px;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
        gap:14px;
    }

}

/* Footer tıklama düzeltmesi */

footer{
    position: relative;
    z-index: 9999;
}

footer *{
    position: relative;
    z-index: 9999;
}

.accordion-item{
    overflow: visible;
}

.accordion-content{
    position: relative;
    z-index: 1;
}

