/* --- GENEL AYARLAR --- */
:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --primary-red: #ff003c; /* Neon KÄ±rmÄ±zÄ± */
    --hover-red: #d60033;
    --dark-grey: #1a1a1a;
    --border-color: #333;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden; /* Yatay taÅŸmayÄ± engelle */
}

/* --- HEADER YAPISI --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 4%;
    background: rgba(5, 5, 5, 0.9); /* YarÄ± saydam arka plan */
    backdrop-filter: blur(10px); /* Arka planÄ± bulanÄ±klaÅŸtÄ±rÄ±r */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- LOGO --- */
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.white-text {
    color: #fff;
}

.red-text {
    color: var(--primary-red);
    text-shadow: 0 0 15px rgba(255, 0, 60, 0.4); /* Hafif parlama */
}

/* --- NAVÄ°GASYON --- */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

/* --- DROPDOWN (AÃ§Ä±lÄ±r MenÃ¼) --- */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark-grey);
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    border-top: 2px solid var(--primary-red);
    border-radius: 0 0 5px 5px;
    padding: 10px 0;
    z-index: 999;
}

.dropdown-content a {
    color: #ccc;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: 0.3s;
}

.dropdown-content a:hover {
    background-color: #252525;
    color: var(--primary-red);
    padding-left: 25px; /* SaÄŸa kayma efekti */
}

/* Hover ile menÃ¼yÃ¼ aÃ§ma */
.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- SAÄ TARAF (Arama & Sosyal) --- */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Arama Kutusu */
.search-box {
    display: flex;
    align-items: center;
    background: #1f1f1f;
    border-radius: 20px; /* GÃ¶rseldeki gibi oval */
    padding: 5px 15px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.search-box:focus-within {
    border-color: var(--primary-red);
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.2);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.9rem;
    width: 150px; /* GeniÅŸlik */
}

.search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #888;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.search-btn:hover {
    color: #fff;
}

/* Sosyal Ä°kon */
.social-icon {
    color: #ccc;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: var(--primary-red);
    transform: scale(1.1);
}

/* Burger MenÃ¼ (Mobilde gÃ¶rÃ¼necek) */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: 0.3s;
}

/* --- HERO BÃ–LÃœMÃœ (Ana Arka Plan) --- */
.hero {
    height: 100vh; /* TÃ¼m ekranÄ± kapla */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Burada iki katman var:
       1. Katman (Ãœstte): YarÄ± saydam siyah bir perde (yazÄ±larÄ±n okunmasÄ± iÃ§in).
       2. Katman (Altta): Senin gÃ¶nderdiÄŸin gÃ¶rsel.
    */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('walpaper.png');
    
    /* GÃ¶rsel ayarlarÄ± */
    background-size: cover; /* Resmi ekrana sÄ±ÄŸdÄ±r, boÅŸluk kalmasÄ±n */
    background-position: center; /* Resmi ortala */
    background-repeat: no-repeat; /* Resmi tekrar etme */
    background-attachment: fixed; /* HAFÄ°F PARALLAX EFEKTÄ°: KaydÄ±rÄ±rken arka plan sabit kalsÄ±n */
}

.hero h1 {
    font-size: 4rem; /* BaÅŸlÄ±ÄŸÄ± biraz daha bÃ¼yÃ¼ttÃ¼k */
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* YazÄ±ya gÃ¶lge ekleyip netleÅŸtirelim */
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: #ddd; /* Rengi biraz aÃ§tÄ±k */
}

.highlight {
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(255, 0, 60, 0.8); /* KÄ±rmÄ±zÄ± parlamayÄ± gÃ¼Ã§lendirdik */
}

/* --- RESPONSIVE (MOBÄ°L) AYARLAR --- */
@media screen and (max-width: 900px) {
    .nav-links {
        position: absolute;
        right: 0px;
        top: 70px;
        background-color: var(--dark-grey);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        height: calc(100vh - 70px);
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 50px;
        border-left: 1px solid #333;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .dropdown-content {
        position: static; /* Mobilde alt alta aÃ§Ä±lsÄ±n */
        box-shadow: none;
        border-top: none;
        background: #111;
        width: 100%;
        text-align: center;
    }

    .search-box {
        display: none; /* Mobilde yer kaplamamasÄ± iÃ§in gizledim, istersen aÃ§abiliriz */
    }

    .burger {
        display: block;
    }
}

/* --- ALT SAYFALAR (HakkÄ±nda, Galeri vb.) Ä°Ã‡Ä°N ARKA PLAN --- */
body.sub-page {
    /* AynÄ± wallpaper'Ä± kullanÄ±yoruz */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('walpaper.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- HAKKIMDA BÃ–LÃœMÃœ TASARIMI --- */
.about-section {
    flex: 1; /* Footer aÅŸaÄŸÄ± itilsin diye */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 5% 50px 5%; /* Header payÄ± */
}

/* Buzlu Cam Efektli Kutu */
.glass-container {
    display: flex;
    flex-wrap: wrap;
    background: rgba(20, 20, 20, 0.6); /* YarÄ± saydam koyu gri */
    backdrop-filter: blur(10px); /* Arka planÄ± buzlar */
    border: 1px solid rgba(255, 0, 60, 0.3); /* Ä°nce kÄ±rmÄ±zÄ± Ã§erÃ§eve */
    border-radius: 20px;
    padding: 50px;
    max-width: 1100px;
    width: 100%;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    align-items: center;
    gap: 50px;
}

/* FotoÄŸraf AlanÄ± */
.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    border: 2px solid var(--primary-red);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.3); /* Resim parlamasÄ± */
    transition: 0.3s;
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 0, 60, 0.6);
}

/* Metin AlanÄ± */
.about-text {
    flex: 1.5;
    min-width: 300px;
}

.sub-heading {
    color: var(--primary-red);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Yetenek Etiketleri */
.skills {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.skills span {
    background: rgba(255, 0, 60, 0.1);
    color: var(--primary-red);
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 0, 60, 0.3);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Buton (Zaten var ama burada kullanÄ±yoruz) */
.btn-main {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-red);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.4);
}

.btn-main:hover {
    background: #d60033;
    box-shadow: 0 0 25px rgba(255, 0, 60, 0.7);
}

/* Mobil Uyumluluk */
@media screen and (max-width: 768px) {
    .glass-container {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }
    
    .about-text h1 {
        font-size: 2.2rem;
    }
    
    .skills {
        justify-content: center;
    }
}

/* --- GALERÄ° SAYFASI TASARIMI --- */

.gallery-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 5% 50px 5%;
}

/* Galeri Modu Konteyner */
.glass-container.gallery-mode {
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* --- GRID YAPISI --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
}

/* --- KART YAPISI --- */
.gallery-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s ease;
    background: #000;
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 5px 20px rgba(255, 0, 60, 0.4);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1); /* Resim hafif yaklaÅŸsÄ±n */
    opacity: 0.6; /* Resim hafif kararsÄ±n ki ikon gÃ¶rÃ¼nsÃ¼n */
}

/* --- OVERLAY (Ãœst Katman & Ä°kon) --- */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* BaÅŸlangÄ±Ã§ta gizli */
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-card:hover .card-overlay {
    opacity: 1; /* Mouse gelince gÃ¶rÃ¼n */
}

/* BÃ¼yÃ¼teÃ§ Ä°konu */
.card-overlay svg {
    color: #fff;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 5px var(--primary-red));
    transform: scale(0.8);
    transition: 0.3s;
}

.gallery-card:hover .card-overlay svg {
    transform: scale(1.2); /* Ä°kon bÃ¼yÃ¼sÃ¼n */
}

.card-overlay h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

/* --- MODAL (BÃ¼yÃ¼tÃ¼lmÃ¼ÅŸ Resim Penceresi) --- */
.modal {
    display: none; /* Gizli */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95); /* Simsiyah transparan arka plan */
    backdrop-filter: blur(8px);
    animation: fadeIn 0.4s;
}

/* Modal Ä°Ã§indeki Resim */
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border: 2px solid var(--primary-red);
    box-shadow: 0 0 30px rgba(255, 0, 60, 0.3);
    border-radius: 10px;
    margin-top: 60px; /* Ãœstten boÅŸluk */
    animation: zoomIn 0.4s;
}

/* SaÄŸ Ãœstteki Ã‡arpÄ± (Kapat) */
.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.close-btn:hover {
    color: var(--primary-red);
    text-shadow: 0 0 10px var(--primary-red);
    transform: rotate(90deg); /* KÄ±rmÄ±zÄ± olup dÃ¶nsÃ¼n */
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Mobil Uyum */
@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin-top: 100px;
    }
    .close-btn {
        top: 10px;
        right: 20px;
    }
}

/* --- Ä°LETÄ°ÅÄ°M SAYFASI TASARIMI --- */

.contact-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 5% 50px 5%;
}

.glass-container.contact-mode {
    display: flex;
    flex-direction: row; /* Yan yana diz */
    justify-content: space-between;
    align-items: flex-start; /* YukarÄ± hizala */
    max-width: 1000px;
    padding: 60px;
}

/* Sol Taraf (Bilgiler) */
.contact-info {
    flex: 1;
    padding-right: 50px;
}

.contact-info h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: #bbb;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Ä°konlu Bilgi KutularÄ± */
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 60, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-red);
    margin-right: 15px;
    border: 1px solid rgba(255, 0, 60, 0.3);
    transition: 0.3s;
}

.info-item:hover .icon-box {
    background: var(--primary-red);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.5);
}

.info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.info-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #999;
}

/* Sosyal Linkler */
.social-links-big {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.sc-icon {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 10px 20px;
    border: 1px solid #333;
    border-radius: 5px;
    transition: 0.3s;
}

.sc-icon:hover {
    border-color: var(--primary-red);
    background: rgba(255, 0, 60, 0.1);
    color: var(--primary-red);
}

/* SaÄŸ Taraf (Form) */
.contact-form-wrapper {
    flex: 1;
    background: rgba(0, 0, 0, 0.3); /* Form alanÄ± biraz daha koyu */
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modern Input TasarÄ±mÄ± */
.input-group {
    position: relative;
    margin-bottom: 35px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: #fff;
    border: none;
    border-bottom: 2px solid #444; /* Sadece alt Ã§izgi */
    outline: none;
    background: transparent;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

.input-group textarea {
    height: 100px;
    resize: none;
}

/* Label (Etiket) Animasyonu */
.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #888;
    pointer-events: none; /* TÄ±klamayÄ± engelle */
    transition: 0.3s;
    font-size: 1rem;
}

/* Inputa tÄ±klanÄ±nca veya doluysa Label yukarÄ± kaysÄ±n */
.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label {
    top: -20px;
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Input focus olunca alt Ã§izgi kÄ±rmÄ±zÄ± olsun */
.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: var(--primary-red);
}

/* Mobil Uyumluluk */
@media screen and (max-width: 900px) {
    .glass-container.contact-mode {
        flex-direction: column;
        padding: 40px 20px;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .contact-form-wrapper {
        width: 100%;
        padding: 30px 20px;
    }
}

/* --- FOOTER TASARIMI --- */

.main-footer {
    background-color: #050505; /* SayfanÄ±n en koyu tonu */
    border-top: 1px solid #222; /* ÃœstÃ¼ne ince Ã§izgi */
    padding: 40px 0 20px 0;
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: auto; /* Sayfa iÃ§eriÄŸi azsa bile en alta itilsin */
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5); /* YukarÄ± doÄŸru hafif gÃ¶lge */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 10px;
}

.footer-slogan {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Sosyal Ä°konlar */
.footer-socials {
    display: flex;
    gap: 15px;
}

.f-icon {
    color: #aaa;
    transition: 0.3s;
    padding: 8px;
    border-radius: 50%;
    border: 1px solid transparent;
    display: flex; /* SVG'yi ortalamak iÃ§in */
}

.f-icon:hover {
    color: var(--primary-red);
    background: rgba(255, 0, 60, 0.1);
    border-color: rgba(255, 0, 60, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.4);
}

/* En Alt Telif SatÄ±rÄ± */
.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #555;
}