/* ==========================================================================
   1. GENEL AYARLAR VE SIFIRLAMA
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}
h1, h2, h3, a, button { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
ul { list-style: none; }
img { display: block; width: 100%; height: auto; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   2. MOBİL DÜZENİ (Varsayılan Düzen / Hamburger Menü Yapısı)
   ========================================================================== */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-img { height: 50px; width: auto; object-fit: contain; transition: transform 0.3s ease; }
.logo-img:hover { transform: scale(1.05) rotate(-2deg); }

/* Hamburger Menü Çizgileri */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* Mobil Açılır Menü Katmanı */
.nav-links {
    position: fixed;
    right: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    width: 100%;
    height: calc(100vh - 70px);
    text-align: center;
    gap: 2rem;
    padding-top: 3rem;
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}
.nav-links.open { right: 0; }
.nav-links a { color: #333; font-weight: 600; text-transform: uppercase; font-size: 1rem; position: relative; }

/* Menü Link Alt Çizgi Animasyonu */
.nav-links li:not(.youtube-li):not(.instagram-li) a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: #E95D45;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-links li:not(.youtube-li):not(.instagram-li) a:hover::after { width: 100%; }
.nav-links a:hover { color: #E95D45; }

/* Menü YouTube Butonu Stili */
.nav-youtube-btn {
    color: #ff0000 !important;
    font-weight: 700 !important;
    border: 2px solid #ff0000 !important;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background-color: transparent;
}
.nav-youtube-btn:hover {
    background-color: #ff0000;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2);
}

/* Menü Instagram Reels Butonu Stili (YouTube ile Birebir Aynı Formda) */
.nav-instagram-btn {
    color: #bc1888 !important; /* Instagram Pembesi */
    font-weight: 700 !important;
    border: 2px solid #bc1888 !important; /* Birebir aynı kalınlıkta çerçeve */
    padding: 8px 20px; /* Birebir aynı iç boşluk ölçüsü */
    border-radius: 20px; /* Birebir aynı ovallik */
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background-color: transparent;
}
.nav-instagram-btn:hover {
    background-color: #bc1888 !important; /* Üzerine gelince içi dolacak */
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(188, 24, 136, 0.2);
}

.full-screen-section {
    padding: 5rem 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.flex-row, .split-layout, .contact-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
}

/* Hero Alanı */
#hero { background-color: #EAEAEA; padding-top: 120px; text-align: center; }
.hero-img-col, .about-img-col { width: 100%; max-width: 350px; margin: 0 auto; }
.hero-text-col { width: 100%; }
.name-title { font-size: 2.5rem; font-weight: 800; color: #E95D45; line-height: 1.1; }
.name-title span { font-weight: 300; letter-spacing: 4px; color: #222; font-size: 1.5rem; display: block; margin-top: 5px; }
.hero-desc { font-size: 1.1rem; color: #555; margin: 1.5rem auto 2rem; max-width: 320px; }

.btn-primary { 
    background-color: #E95D45; 
    color: #fff; 
    padding: 12px 30px; 
    border-radius: 8px; 
    font-weight: 600; 
    display: inline-block;
    box-shadow: 0 4px 6px rgba(233, 93, 69, 0.2);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(233, 93, 69, 0.4);
    background-color: #d14c36;
}

/* Hakkımda Mobil */
#about { background-color: #F08A7D; color: #fff; }
.about-img-col img { border-radius: 10px; width: 100%; }
.about-img-col img:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.text-block { margin-bottom: 2rem; text-align: center; }
.text-block h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.italic { font-style: italic; font-weight: 600; }

/* Uzmanlık İkonları */
.icon-group { display: flex; gap: 10px; justify-content: center; margin-top: 1rem; }
.sw-icon { 
    width: 40px; 
    height: 40px; 
    border-radius: 5px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-weight: bold; 
    font-size: 0.9rem; 
    color: #fff;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.sw-icon:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 5px 10px rgba(0,0,0,0.15); }
.ai { background: #330000; color: #FF9A00; }
.id { background: #2D001E; color: #FF3C8F; }
.ps { background: #001E36; color: #31A8FF; }
.pr { background: #2D002E; color: #DB72FF; }
.art { background: #000; padding: 5px; }
.art img { width: 100%; height: 100%; object-fit: contain; }

/* YOUTUBE VİDEO ALANI */
#latest-video { 
    background-color: #EAEAEA; 
    text-align: center; 
    padding: 6rem 0; 
}
.video-section-container { 
    width: 90%; 
    max-width: 1000px; 
    margin: 0 auto; 
}
.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%; 
    padding-top: 25px;
    height: 0;
    margin: 3rem auto 0 auto; 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); 
}
.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Projeler Mobil */
#projects { background-color: #F7CACA; }
.section-heading { font-size: 2rem; margin-bottom: 1rem; text-align: center; }
.section-sub { color: #444; line-height: 1.6; font-size: 0.95rem; text-align: center; margin-bottom: 2rem; }
.small-images-row { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-item { display: flex; flex-direction: column; width: 100%; }

.img-frame { 
    width: 100%; 
    height: 260px; 
    border-radius: 5px; 
    overflow: hidden; 
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.img-frame:hover { box-shadow: 0 12px 24px rgba(0,0,0,0.15); transform: translateY(-4px); }
.img-frame:hover img { transform: scale(1.06); }
.grid-item span { font-weight: 600; font-size: 0.9rem; color: #000; text-align: center; }

.wide-item { 
    width: 100%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 2rem 1rem; 
    border-radius: 5px; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.grey-bg { background-color: #EAEAEA; }
.wide-item:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.book-img { max-width: 240px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); margin-bottom: 1.5rem; cursor: pointer; }
.book-img:hover { transform: scale(1.03) rotate(1deg); }
.item-info h3 { font-size: 1.4rem; margin-bottom: 0.5rem; line-height: 1.3; color: #222; }

.btn-small { 
    margin-top: 1rem; 
    background-color: #E95D45; 
    color: #fff; 
    border: none; 
    padding: 10px 25px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 0.9rem; 
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(233, 93, 69, 0.15);
}
.btn-small:hover { background-color: #d14c36; transform: scale(1.02); box-shadow: 0 5px 12px rgba(233, 93, 69, 0.3); }

/* Galeri Mobil */
#gallery { background-color: #DDE2F1; }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; width: 100%; }
.gallery-frame { height: 320px; border-radius: 5px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.gallery-frame img { object-fit: cover; width: 100%; height: 100%; }
.gallery-frame:hover { box-shadow: 0 12px 24px rgba(0,0,0,0.15); transform: translateY(-4px); }
.gallery-frame:hover img { transform: scale(1.05); }
.gal-title { margin-top: 8px; font-weight: 600; font-size: 0.9rem; color: #000; text-align: center; }

/* İletişim Mobil */
#contact { background-color: #F3F4D6; }
.contact-container { width: 90%; }
.contact-visual { text-align: center; width: 100%; display: flex; flex-direction: column; align-items: center; }
.contact-visual img { width: 200px; height: 200px; object-fit: cover; margin-bottom: 1rem; border-radius: 5px; }
.contact-info p { font-size: 0.95rem; color: #555; margin-bottom: 0.5rem; }

/* Sosyal İkonlar */
.social-media-wrapper { display: flex; gap: 15px; margin-top: 1.2rem; justify-content: center; }
.social-link { width: 45px; height: 45px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 1.3rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.youtube { background-color: #ff0000; }
.social-link:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 7px 14px rgba(0,0,0,0.2); color: #fff; }

.contact-form { width: 100%; display: flex; flex-direction: column; gap: 1rem; }
.contact-form input { width: 100%; padding: 15px; border: none; border-radius: 5px; background: #fff; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; transition: border 0.3s ease, box-shadow 0.3s ease; }
.contact-form input:focus { outline: none; box-shadow: 0 0 0 2px rgba(233, 93, 69, 0.3); }
.msg-input { padding-bottom: 3rem; }

.contact-form button { background-color: #E95D45; color: #fff; border: none; padding: 15px; font-weight: 700; border-radius: 5px; cursor: pointer; box-shadow: 0 4px 6px rgba(233, 93, 69, 0.2); }
.contact-form button:hover { background-color: #d14c36; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(233, 93, 69, 0.35); }
.footer-text { text-align: center; font-size: 0.8rem; color: #aaa; margin-top: 3rem; }

/* Lightbox */
#lightbox-overlay { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); justify-content: center; align-items: center; transition: opacity 0.3s ease; }
#lightbox-img { max-width: 90%; max-height: 80%; object-fit: contain; animation: zoomIn 0.3s ease; }
.close-btn { position: absolute; top: 15px; right: 25px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; transition: color 0.2s; }
.close-btn:hover { color: #E95D45; }

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   3. MASAÜSTÜ DÜZENİ (Ekran Genişliği > 992px ise)
   ========================================================================== */
@media screen and (min-width: 992px) {
    .menu-toggle { display: none !important; }
    .logo-img { height: 60px; }
    
    .nav-links {
        position: static !important;
        flex-direction: row !important;
        background-color: transparent !important;
        width: auto !important;
        height: auto !important;
        padding-top: 0 !important;
        box-shadow: none !important;
        gap: 1.5rem !important; 
        display: flex !important; 
        align-items: center !important;
    }
    .nav-links a { font-size: 0.85rem; }
    .nav-youtube-btn { padding: 6px 14px !important; display: inline-flex !important; }
    .nav-instagram-btn { padding: 6px 14px !important; display: inline-flex !important; }

    .full-screen-section { min-height: 100vh; padding: 4rem 0; }
    .flex-row { flex-direction: row; gap: 4rem; text-align: left; }
    .hero-img-col { flex: 1; max-width: 450px; }
    .hero-text-col { flex: 1; text-align: left; }
    .name-title { font-size: 4.5rem; }
    .name-title span { font-size: 2.5rem; letter-spacing: 10px; }
    .hero-desc { margin: 1.5rem 0 2rem; text-align: left; }

    .about-img-col { flex: 1; max-width: 450px; }
    .about-text-col { flex: 1; }
    .text-block { text-align: left; }
    .icon-group { justify-content: flex-start; }

    .split-layout { flex-direction: row; gap: 2rem; }
    .left-column-content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .text-area { margin-bottom: 2rem; }
    .section-heading { font-size: 2.5rem; text-align: left; }
    .section-sub { text-align: left; margin-bottom: 0; }
    .small-images-row { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .img-frame { height: 300px; }
    .grid-item span { text-align: left; }
    .right-column-content { flex: 1; display: flex; }
    .wide-item { padding: 2rem; height: 100%; }
    .book-img { max-width: 300px; margin-bottom: 2rem; }
    .item-info h3 { font-size: 1.4rem; }

    .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
    .gallery-frame { height: 400px; }
    .gal-title { text-align: left; }

    .contact-inner { flex-direction: row; gap: 4rem; align-items: flex-start; }
    .contact-visual { text-align: left; width: auto; align-items: flex-start; }
    .contact-visual img { width: 250px; height: 250px; }
    .social-media-wrapper { justify-content: flex-start; }
    .contact-heading { text-align: left; }
}