/*
Theme Name: Efna Güngör Teması
Author: Efna Güngör
Description: Kişisel Danışmanlık ve Portfolyo Teması
Version: 1.0
*/  
/*ROOT*/
:root{
    --bg:#f8fafc;
    --surface:#ffffff;
    --surface-2:#f1f5f9;
    --text:#111827;
    --text-light:#6b7280;
    --primary:#1e3a5f;
    --primary-hover:#274c78;
    --border:#e5e7eb;
    --radius:18px;
    --shadow:0 10px 35px rgba(15,23,42,.05);
    --transition:.35s ease;
    --navbar:rgba(255,255,255,.82);
}
/* DARK MODE*/
[data-theme="dark"]{
    --bg:#0f172a;
    --surface:#111827;
    --surface-2:#1f2937;
    --text:#f9fafb;
    --text-light:#9ca3af;
    --primary:#3b82f6;
    --primary-hover:#60a5fa;
    --border:#263244;
    --navbar:rgba(15,23,42,.85);
}
/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Plus Jakarta Sans", sans-serif;
}
html{
    scroll-behavior:smooth;
}
body{
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
    transition:.3s;
    line-height:1.7;
}
.container{
    max-width:1180px;
    margin:auto;
    padding:0 28px;
}
a{
    text-decoration:none;
    color:inherit;
}
button{
    font-family:inherit;
    cursor:pointer;
}
/* NAVBAR */
.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:78px;
    backdrop-filter:blur(18px);
    background:var(--navbar);
    border-bottom:1px solid var(--border);
    z-index:999;
    transition:.35s;
}
.navbar.scrolled{
    height:65px;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
}
.navbar.scrolled .nav-flex{
    height:65px;
}
.nav-flex{
    height:78px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.logo{
    font-size:1.08rem;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}
.nav-right{
    display:flex;
    align-items:center;
    gap:12px;
}
/* NAV BUTTON */
.nav-auth-btn{
    background:var(--primary);
    color:#fff;
    padding:11px 22px;
    border-radius:999px;
    font-size:.9rem;
    font-weight:600;
    transition:var(--transition);
}
.nav-auth-btn:hover{
    background:var(--primary-hover);
}
/* SEARCH */
.nav-search input{
    width:170px;
    padding:10px 16px;
    border-radius:999px;
    border:1px solid var(--border);
    background:var(--surface);
    color:var(--text);
    outline:none;
    transition:.3s;
}
.nav-search input:focus{
    width:220px;
    border-color:var(--primary);
}
/* LANGUAGE */
.language-switch{
    display:flex;
    align-items:center;
    gap:6px;
}
.language-switch span{
    color:var(--text-light);
}
.lang-btn{
    background:none;
    border:none;
    color:var(--text-light);
    font-weight:600;
    transition:.3s;
}
.lang-btn.active{
    color:var(--primary);
}
.lang-btn:hover{
    color:var(--primary);
    transform:translateY(-1px);
}
/* THEME */
.theme-toggle-btn{
    background:none;
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
}
.theme-toggle-btn svg{
    width:20px;
    height:20px;
    fill:currentColor;
}
.theme-toggle-btn:hover{
    color:var(--primary);
    transform:rotate(15deg);
}
/* MENU BUTTON */
.nav-menu-btn{
    background:none;
    border:none;
    display:flex;
    flex-direction:column;
    gap:4px;
    transition:.3s;
}
.nav-menu-btn span{
    width:20px;
    height:2px;
    background:var(--text);
    transition:.3s;
}
.nav-menu-btn:hover span{
    background:var(--primary);
}
/* SIDE MENU*/
.side-menu{
    position:fixed;
    top:0;
    right:-340px;
    width:320px;
    height:100vh;
    background:var(--surface);
    border-left:1px solid var(--border);
    padding:35px;
    transition:.4s ease;
    z-index:1001;
    box-shadow:-10px 0 35px rgba(0,0,0,.08);
    overflow-y: auto; /* Çok fazla başlık eklendiği için taşmayı önler */
}
.side-menu.active{
    right:0;
}
.close-menu-btn{
    background:none;
    border:none;
    font-size:34px;
    color:var(--text);
    float:right;
}
.side-menu-links{
    display:flex;
    flex-direction:column;
    gap:28px;
    margin-top:70px;
}
.side-menu-links a{
    font-size:18px;
    font-weight:600;
    color:var(--text-light);
    transition:.3s;
}
.side-menu-links a:hover{
    color:var(--primary);
    padding-left:8px;
}
/* OVERLAY*/
.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.35);
    backdrop-filter:blur(4px);
    opacity:0;
    pointer-events:none;
    transition:.35s;
    z-index:1000;
}
.menu-overlay.active{
    opacity:1;
    pointer-events:auto;
}
/* HERO*/
.hero{
    padding-top:180px;
    padding-bottom:130px;
    text-align:center;
    background:linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.hero-badge{
    display:inline-block;
    padding:8px 18px;
    border-radius:999px;
    background:rgba(30,58,95,.08);
    color:var(--primary);
    font-size:.82rem;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:25px;
    text-transform:uppercase;
}
.hero h1{
    max-width:900px;
    margin:auto;
    font-size:58px;
    font-weight:800;
    line-height:1.15;
    letter-spacing:-2px;
}
.hero p{
    max-width:700px;
    margin:28px auto 0;
    color:var(--text-light);
    font-size:20px;
    line-height:1.8;
}
/* HERO BUTTONS*/
.hero-buttons{
    display:flex;
    justify-content:center;
    gap:18px;
    margin-top:45px;
    flex-wrap:wrap;
}
.primary-btn{
    background:var(--primary);
    color:#fff;
    padding:15px 32px;
    border-radius:999px;
    font-weight:600;
    transition:.3s;
}
.primary-btn:hover{
    background:var(--primary-hover);
    transform:translateY(-2px);
}
.secondary-btn{
    background:transparent;
    color:var(--text);
    padding:15px 32px;
    border:1px solid var(--border);
    border-radius:999px;
    font-weight:600;
    transition:.3s;
}
.secondary-btn:hover{
    background:var(--surface-2);
}
/* SECTION */
.section-padding{
    padding:110px 0;
}
.section-title{
    font-size:42px;
    font-weight:800;
    text-align:center;
    margin-bottom:22px;
    letter-spacing:-1px;
}
.section-text{
    max-width:760px;
    margin:auto;
    text-align:center;
    color:var(--text-light);
    font-size:18px;
    line-height:1.9;
}
/* ABOUT */
.about{
    background:var(--surface);
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
}
/* SERVICES*/
.solutions-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
    margin-top:60px;
}
.solution-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:22px;
    padding:40px;
    transition:.35s;
    box-shadow:var(--shadow);
}
.solution-card:hover{
    border-color:var(--primary);
    transform:translateY(-6px);
}
.solution-card h3{
    font-size:24px;
    margin-bottom:18px;
    font-weight:700;
}
.solution-card p{
    color:var(--text-light);
    line-height:1.8;
    font-size:16px;
}
/* GALLERY */

.gallery-section{
    border-top:1px solid var(--border);
}

.gallery-wrapper{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:28px;
    margin-top:60px;
}

.gallery-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:22px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:var(--transition);
}

.gallery-card:hover{
    transform:translateY(-8px);
    border-color:var(--primary);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.gallery-card img{
    width:100%;
    height:260px;
    display:block;
    object-fit:cover;
    transition:.5s ease;
}

.gallery-card:hover img{
    transform:scale(1.05);
}

.gallery-content{
    padding:24px;
}

.gallery-content span{
    display:block;
    color:var(--primary);
    font-size:.78rem;
    font-weight:700;
    letter-spacing:1.5px;
    text-transform:uppercase;
    margin-bottom:8px;
}

.gallery-content h3{
    color:var(--text);
    font-size:21px;
    font-weight:700;
    line-height:1.4;
}

/* TABLET */
@media(max-width:992px){
    .gallery-wrapper{
        grid-template-columns:repeat(2,1fr);
    }
}

/* MOBILE */
@media(max-width:768px){
    .gallery-wrapper{
        grid-template-columns:1fr;
        gap:22px;
        margin-top:45px;
    }

    .gallery-card img{
        height:240px;
    }
}
/* FOOTER */
.footer{
    margin-top:80px;
    padding:70px 0;
    background:var(--surface);
    border-top:1px solid var(--border);
    text-align:center;
}
.footer h3{
    font-size:24px;
    margin-bottom:12px;
    font-weight:700;
}
.footer p{
    color:var(--text-light);
    line-height:1.8;
    font-size:15px;
}
/* REVEAL ANIMATION */
.reveal-left{
    opacity:0;
    transform:translateX(-70px);
    transition:opacity .8s ease, transform .8s ease;
}
.reveal-right{
    opacity:0;
    transform:translateX(70px);
    transition:opacity .8s ease, transform .8s ease;
}
.reveal-active{
    opacity:1;
    transform:translateX(0);
}
/* SCROLLBAR */
::-webkit-scrollbar{
    width:10px;
}
::-webkit-scrollbar-track{
    background:var(--bg);
}
::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:999px;
}
::-webkit-scrollbar-thumb:hover{
    background:var(--primary-hover);
}
/* SELECTION */
::selection{
    background:var(--primary);
    color:#fff;
}
/* INPUT */
input::placeholder{
    color:var(--text-light);
}
/* TABLET */
@media(max-width:992px){
    .container{
        padding:0 22px;
    }
    .hero h1{
        font-size:48px;
    }
    .gallery-row{
        gap:40px;
    }
}
/* MOBILE */
@media(max-width:768px){
    .hero{
        padding-top:140px;
        padding-bottom:90px;
    }
    .hero h1{
        font-size:38px;
    }
    .hero p{
        font-size:17px;
    }
    .nav-auth-btn{
        display:none;
    }
    .nav-search{
        display:none;
    }
    .gallery-row{
        grid-template-columns:1fr;
        gap:35px;
    }
    .row-2-text, .row-2-img{
        grid-column:auto;
        grid-row:auto;
    }
    .gallery-img-box{
        height:280px;
    }
    .section-title{
        font-size:34px;
    }
    .solutions-grid{
        grid-template-columns:1fr;
    }
    .reveal-left, .reveal-right{
        transform:translateY(40px);
    }
    .reveal-active{
        transform:translateY(0);
    }
}
/*SMALL MOBILE*/
@media(max-width:480px){
    .logo{
        font-size:.95rem;
    }
    .hero h1{
        font-size:32px;
    }
    .hero p{
        font-size:15px;
    }
    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }
    .primary-btn, .secondary-btn{
        width:100%;
        max-width:280px;
        text-align:center;
    }
    .solution-card{
        padding:28px;
    }
    .gallery-img-box{
        height:220px;
    }
}

/* AUTH POP-UP MODAL STYLES */
.nav-login-trigger-btn {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    transition: var(--transition);
}
.nav-login-trigger-btn:hover {
    background: var(--surface-2);
    border-color: var(--primary);
    color: var(--primary);
}
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 2000;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.auth-modal {
    background: var(--surface);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 440px;
    padding: 45px;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-overlay.active .auth-modal {
    transform: scale(1) translateY(0);
}
.auth-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    line-height: 1;
    transition: var(--transition);
}
.auth-close-btn:hover {
    color: var(--text);
}
.auth-box {
    display: none;
}
.auth-box.active {
    display: block;
    animation: authFadeIn 0.3s ease forwards;
}
@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.auth-box h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 6px;
}
.auth-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 30px;
}
.auth-field {
    margin-bottom: 20px;
}
.auth-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.auth-field input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}
.auth-field input:focus {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.05);
}
.auth-submit-btn {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    transition: var(--transition);
}
.auth-submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}
.auth-switch-text {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-light);
}
.auth-switch-text a {
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
}
.auth-switch-text a:hover {
    text-decoration: underline;
}
@media (max-width: 576px) {
    .auth-modal {
        padding: 30px 24px;
        max-width: 90%;
    }
}

/* ==========================================================================
   YENİ EKLENEN AKORDEON DROPDOWN SİSTEMİ CSS KODLARI
   ========================================================================== */
.menu-dropdown {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.dropdown-trigger {
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    transition: .3s;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.dropdown-trigger::after {
    content: '▾';
    font-size: 14px;
    transition: transform .3s ease;
}
.menu-dropdown.open .dropdown-trigger::after {
    transform: rotate(180deg);
}
.dropdown-trigger:hover, 
.menu-dropdown.open .dropdown-trigger {
    color: var(--primary);
}
.dropdown-content {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 14px;
    border-left: 2px solid var(--border);
    margin-top: 0;
    transition: max-height .4s cubic-bezier(0.16, 1, 0.3, 1), margin-top .3s;
}
.menu-dropdown.open .dropdown-content {
    max-height: 380px;
    margin-top: 14px;
    overflow-y: auto;
}
.dropdown-content a {
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4;
}

.gallery-page-hero {
            padding-top: 180px;
            padding-bottom: 20px;
            text-align: center;
        }

        /* 40-50 Fotoğraf İçin Özel Gelişmiş Lüks Grid Sistemi */
       .premium-mosaic-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:24px;
    margin-top:50px;
    padding-bottom:110px;
    }

        /* Mozaik Kart Yapısı */
        .mosaic-item {
            position: relative;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        /* PHP ile dönerken bazı fotoğrafları büyük basmak için dinamik sınıflar */
        .mosaic-item.wide {
            grid-column: span 2;
        }
        .mosaic-item.tall {
            grid-row: span 2;
        }
        .mosaic-item.large {
            grid-column: span 2;
            grid-row: span 2;
        }

.mosaic-img-box{
    width:100%;
    height:350px;      /* İstersen 320-400 arası ayarlayabilirsin */
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f8fafc;
}

.mosaic-img-box img{
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
}

        /* Lüks Metin Katmanı (Fotoğrafın üzerine gelince pürüzsüzce açılır) */
        .mosaic-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
            padding: 25px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease, transform 0.4s ease;
            transform: translateY(10px);
        }

        /* Hover Efektleri */
        .mosaic-item:hover {
            border-color: var(--primary);
            box-shadow: 0 20px 40px rgba(0,0,0,0.12);
        }

        .mosaic-item:hover .mosaic-img-box img {
            transform: scale(1.05);
        }

        .mosaic-item:hover .mosaic-overlay {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }

        /* Kart İçi Metin Stilleri */
        .mosaic-overlay span {
            color: var(--primary);
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 6px;
        }

        .mosaic-overlay h3 {
            color: #fff;
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 8px;
            letter-spacing: -0.5px;
        }

        .mosaic-overlay p {
            color: #94a3b8;
            font-size: 0.88rem;
            line-height: 1.5;
            font-weight: 300;
            display: -webkit-box;
            -webkit-line-clamp: 2; /* Metni 2 satırda keser, taşma yapmaz */
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Fotoğrafa Tıklayınca Açılan Lightbox Ekranı */
        .lightbox-overlay {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(12px);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            z-index: 2000;
            transition: opacity 0.3s ease;
        }

        .lightbox-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        .lightbox-overlay img {
            max-width: 90%;
            max-height: 85vh;
            border-radius: var(--radius);
            box-shadow: 0 25px 50px rgba(0,0,0,0.3);
            transform: scale(0.95);
            transition: transform 0.3s ease;
        }

        .lightbox-overlay.active img {
            transform: scale(1);
        }

        .lightbox-close {
            position: absolute;
            top: 24px;
            right: 24px;
            font-size: 34px;
            color: #fff;
            background: transparent;
            border: none;
            cursor: pointer;
        }

        /* Mobil Ekran Ayarları */
        @media(max-width: 768px) {
            .premium-mosaic-grid {
                grid-template-columns: 1fr;
                grid-auto-rows: 280px;
                gap: 16px;
            }
            .mosaic-item.wide, .mosaic-item.tall, .mosaic-item.large {
                grid-column: span 1;
                grid-row: span 1;
            }
            .mosaic-overlay {
                opacity: 1;
                pointer-events: auto;
                transform: translateY(0);
                background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
            }
        }

.blog-hero{
padding:180px 0 70px;
background:var(--bg);
text-align:center;
}

.blog-hero h1{
font-size:46px;
margin-bottom:15px;
color:var(--text);
}

.blog-hero p{
font-size:18px;
color:var(--text-light);
}


.blog-section{
padding:70px 0;
}


.blog-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
gap:35px;
}


.blog-card{
background:var(--surface);
border:1px solid var(--border);
border-radius:18px;
overflow:hidden;
box-shadow:var(--shadow);
transition:.35s;
}


.blog-card:hover{
transform:translateY(-10px);
}


.blog-image img{
width:100%;
height:250px;
object-fit:cover;
display:block;
}


.blog-content{
padding:25px;
}


.blog-date{
font-size:14px;
color:var(--text-light);
}


.blog-content h2{
margin:15px 0;
font-size:24px;
}


.blog-content h2 a{
color:var(--text);
}


.blog-content p{
line-height:1.8;
color:var(--text-light);
}


.read-more{
display:inline-block;
margin-top:20px;
padding:12px 24px;
background:var(--primary);
color:#fff;
text-decoration:none;
border-radius:8px;
}


.read-more:hover{
background:var(--primary-hover);
}


.single-blog{
padding:180px 0 80px;
}


.single-image img{
width:100%;
border-radius:15px;
margin-bottom:35px;
}


.single-blog h1{
font-size:44px;
margin-bottom:15px;
color:var(--text);
}


.single-date{
margin-bottom:40px;
color:var(--text-light);
}


.single-content{
font-size:18px;
line-height:2;
color:var(--text);
}


.single-content img{
max-width:100%;
height:auto;
}
.side-menu hr{
    border: none;
    border-top: 1px solid rgba(255,255,255,.1);
    margin: 15px 0;
}
/* ===== PROFİL MENÜ ===== */

.profile-menu-title{
    font-size:12px;
    text-transform:uppercase;
    color:var(--text-light);
    letter-spacing:2px;
    margin-bottom:15px;
}

.profile-menu{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-bottom:20px;
}

.profile-menu a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 16px;
    border-radius:14px;
    background:var(--surface-2);
    color:var(--text);
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

.profile-menu a:hover{
    background:var(--primary);
    color:#fff;
    transform:translateX(6px);
}

.profile-menu a.logout{
    color:#ef4444;
}

.profile-menu a.logout:hover{
    background:#ef4444;
    color:#fff;
}

.side-menu hr{
    border:none;
    border-top:1px solid var(--border);
    margin:20px 0;
}
/* ===================================================
   PROFİL SAYFASI
=================================================== */

.profile-page{
    padding:150px 0 80px;
    background:var(--bg);
    min-height:100vh;
}

.profile-card{
    max-width:760px;
    margin:auto;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 15px 45px rgba(0,0,0,.08);
}

.profile-header{
    padding:50px 40px;
    text-align:center;
    border-bottom:1px solid var(--border);
}

.profile-avatar{
    width:110px;
    height:110px;
    margin:auto;
    border-radius:50%;
    background:linear-gradient(135deg,var(--primary),#4f8dfd);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:42px;
    font-weight:bold;
    margin-bottom:20px;
}

.profile-header h2{
    font-size:32px;
    font-weight:800;
    margin-bottom:8px;
}

.profile-role{
    display:inline-block;
    padding:7px 18px;
    border-radius:999px;
    background:rgba(30,58,95,.08);
    color:var(--primary);
    font-size:14px;
    font-weight:700;
    margin-bottom:18px;
}

.profile-email{
    color:var(--text-light);
    font-size:15px;
    margin-bottom:25px;
}

.profile-photo-btn,
.profile-edit-btn{
    border:none;
    background:var(--primary);
    color:#fff;
    padding:12px 30px;
    border-radius:999px;
    font-weight:700;
    transition:.3s;
}
.profile-photo-btn:hover,
.profile-edit-btn:hover{
    background:var(--primary-hover);
    transform:translateY(-2px);
}

.profile-section{
    padding:35px 40px;
    border-bottom:1px solid var(--border);
}

.profile-section:last-child{
    border-bottom:none;
}

.profile-section h3{
    font-size:22px;
    margin-bottom:25px;
    font-weight:800;
}

.profile-info{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.info-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 18px;
    border-radius:14px;
    background:var(--surface-2);
}

.info-row span{
    color:var(--text-light);
    font-weight:600;
}

.info-row strong{
    font-weight:700;
    color:var(--text);
}

.profile-btn{
    width:100%;
    padding:15px;
    margin-bottom:12px;
    border:1px solid var(--border);
    border-radius:14px;
    background:var(--surface-2);
    color:var(--text);
    font-size:15px;
    font-weight:600;
    transition:.3s;
}

.profile-btn:hover{
    border-color:var(--primary);
    color:var(--primary);
    background:rgba(30,58,95,.05);
}

.logout-btn{
    display:block;
    width:100%;
    text-align:center;
    padding:15px;
    border-radius:14px;
    background:#dc2626;
    color:#fff;
    font-weight:700;
    transition:.3s;
}

.logout-btn:hover{
    background:#b91c1c;
}

@media(max-width:768px){

    .profile-card{
        border-radius:18px;
    }

    .profile-header{
        padding:35px 20px;
    }

    .profile-section{
        padding:25px 20px;
    }

    .profile-header h2{
        font-size:26px;
    }

    .info-row{
        flex-direction:column;
        align-items:flex-start;
        gap:6px;
    }

}
.profile-avatar img{
    width:110px;
    height:110px;
    border-radius:50%;
    object-fit:cover;
    display:block;
    border:4px solid var(--surface);
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}
.profile-edit-box{
    display:none;
    margin-top:30px;
    text-align:left;
}

.profile-edit-box.active{
    display:block;
}

.profile-edit-box label{
    display:block;
    margin-top:18px;
    margin-bottom:8px;
    font-weight:700;
}

.profile-edit-box input{
    width:100%;
    padding:14px;
    border:1px solid var(--border);
    border-radius:12px;
    background:var(--surface-2);
    color:var(--text);
}

.profile-save-btn{
    margin-top:25px;
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:var(--primary);
    color:#fff;
    font-weight:700;
}

.profile-save-btn:hover{
    background:var(--primary-hover);
}
.language-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transition:.25s;
    z-index:9999;
}

.language-modal.active{
    opacity:1;
    visibility:visible;
}

.language-modal-box{
    width:380px;
    max-width:92%;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    animation:modalUp .25s ease;
    box-shadow:0 20px 60px rgba(0,0,0,.2);
}

[data-theme="dark"] .language-modal-box{
    background:#1e1e1e;
}

.language-modal-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 24px;
    border-bottom:1px solid rgba(0,0,0,.08);
}

[data-theme="dark"] .language-modal-header{
    border-color:rgba(255,255,255,.08);
}

.language-modal-header h3{
    margin:0;
    font-size:20px;
}

.language-modal-header button{
    border:none;
    background:none;
    font-size:28px;
    cursor:pointer;
}

.language-list{
    padding:10px;
}

.language-item{
    width:100%;
    display:flex;
    align-items:center;
    gap:15px;
    padding:15px 18px;
    border:none;
    background:none;
    border-radius:12px;
    cursor:pointer;
    font-size:17px;
    transition:.2s;
}

.language-item:hover{
    background:#f3f4f6;
}

[data-theme="dark"] .language-item:hover{
    background:#2c2c2c;
}

.language-item span:first-child{
    font-size:24px;
}

@keyframes modalUp{
    from{
        transform:translateY(20px);
        opacity:0;
    }
    to{
        transform:translateY(0);
        opacity:1;
    }
}
/* Koyu tema */
[data-theme="dark"] .language-modal-box{
    background:#1b1b1b;
    color:#fff;
}

[data-theme="dark"] .language-modal-header{
    border-bottom:1px solid rgba(255,255,255,.08);
}

[data-theme="dark"] .language-modal-header h3{
    color:#fff;
}

[data-theme="dark"] .language-item{
    background:#242424;
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
}

[data-theme="dark"] .language-item:hover{
    background:#303030;
}

[data-theme="dark"] #closeLanguageModal{
    color:#fff;
}

[data-theme="dark"] #closeLanguageModal:hover{
    background:rgba(255,255,255,.08);
}
.theme-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transition:.25s;
    z-index:9999;
}

.theme-modal.active{
    opacity:1;
    visibility:visible;
}


.theme-modal-box{
    width:380px;
    max-width:92%;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    animation:modalUp .25s ease;
    box-shadow:0 20px 60px rgba(0,0,0,.2);
}


[data-theme="dark"] .theme-modal-box{
    background:#1b1b1b;
    color:#fff;
}


.theme-modal-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 24px;
    border-bottom:1px solid rgba(0,0,0,.08);
}


[data-theme="dark"] .theme-modal-header{
    border-color:rgba(255,255,255,.08);
}


.theme-modal-header h3{
    margin:0;
    font-size:20px;
}


.theme-modal-header button{
    border:none;
    background:none;
    font-size:28px;
    cursor:pointer;
}


.theme-list{
    padding:10px;
}


.theme-item{
    width:100%;
    display:flex;
    align-items:center;
    gap:15px;
    padding:15px 18px;
    border:none;
    background:none;
    border-radius:12px;
    cursor:pointer;
    font-size:17px;
    transition:.2s;
}


.theme-item:hover{
    background:#f3f4f6;
}


[data-theme="dark"] .theme-item{
    background:#242424;
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
}


[data-theme="dark"] .theme-item:hover{
    background:#303030;
}


[data-theme="dark"] #closeThemeModal{
    color:#fff;
}