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

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    background: url("images/arkaplan.png") no-repeat center center fixed;
    background-size: cover;
    color: white;
}

/* ÜST MENÜ */
.top-menu {
    display: flex;
    gap: 25px;
    padding: 20px 40px;
    background: rgba(0,0,0,0.5);
}

.top-menu a {
    
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.top-menu a:hover {
    text-decoration: underline;
}

.hero {
    display: flex;
    justify-content: center;
    margin-top: 90px; /* yukarı alındı */
}

.hero-box {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    padding: 35px 55px;
    border-radius: 18px;
    box-shadow:
        0 15px 35px rgba(0,0,0,0.6),
        inset 0 1px 1px rgba(255,255,255,0.1);
    text-align: center;
}

.hero {
    display: flex;
    justify-content: center;
    margin-top: 90px; /* yukarı alındı */
}

.hero-box {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    padding: 35px 55px;
    border-radius: 18px;
    box-shadow:
        0 15px 35px rgba(0,0,0,0.6),
        inset 0 1px 1px rgba(255,255,255,0.1);
    text-align: center;
}

.hero {
    display: flex;
    justify-content: center;
    margin-top: 90px; /* yukarı alındı */
}

.hero-box {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    padding: 35px 55px;
    border-radius: 18px;
    box-shadow:
        0 15px 35px rgba(0,0,0,0.6),
        inset 0 1px 1px rgba(255,255,255,0.1);
    text-align: center;
}
.hero {
    display: flex;
    justify-content: center;
    margin-top: 90px; /* yukarı alındı */
}

.hero-box {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    padding: 35px 55px;
    border-radius: 18px;
    box-shadow:
        0 15px 35px rgba(0,0,0,0.6),
        inset 0 1px 1px rgba(255,255,255,0.1);
    text-align: center;
}

.hero h1 {
    font-size: 42px; /* küçültüldü */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-sub {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-slogan {
    padding: 12px 28px;
    font-size: 15px;
}

/* KARARTMA */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 998;
}

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

/* SAĞ PANEL */
.services-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 360px;
    height: 100vh;
    background: white;
    color: #000;
    padding: 30px;
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 999;
}

.services-panel.active {
    right: 0;
}

.services-panel h2 {
    margin-bottom: 15px;
}

.services-panel ul {
    list-style: disc;
    padding-left: 20px;
}

.services-panel li {
    margin-bottom: 10px;
}
.close-panel {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    cursor: pointer;
    color: #000;
}
.services-panel h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
    color: #1e90ff;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.services-panel ul {
    list-style: disc;
    padding-left: 20px;
}

.services-panel li {
    margin-bottom: 8px;
    font-size: 15px;
}
.hero-sub {
    font-size: 22px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.hero-slogan {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #1e90ff;
    border-radius: 30px;
    font-size: 16px;
    letter-spacing: 2px;
    color: #1e90ff;
    background: rgba(0,0,0,0.4);
}
.hero {
    display: flex;
    justify-content: center;
    margin-top: 120px;
}

.hero-box {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    padding: 45px 60px;
    border-radius: 18px;
    box-shadow:
        0 15px 35px rgba(0,0,0,0.6),
        inset 0 1px 1px rgba(255,255,255,0.1);
    text-align: center;
}

/* ANA BAŞLIK */
.hero h1 {
    font-size: 52px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow:
        0 3px 0 #000,
        0 6px 12px rgba(0,0,0,0.8);
}

/* AÇIKLAMA */
.hero-sub {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

/* SLOGAN */
.hero-slogan {
    display: inline-block;
    padding: 14px 34px;
    font-size: 16px;
    letter-spacing: 2px;
    border-radius: 40px;
    border: 2px solid #1e90ff;
    color: #1e90ff;
    background: rgba(0,0,0,0.6);
    box-shadow:
        0 5px 15px rgba(30,144,255,0.4),
        inset 0 0 10px rgba(30,144,255,0.2);
}
.about-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 40px;
    transition: right 0.4s ease;
    z-index: 999;
    overflow-y: auto;
}

.about-panel.active {
    right: 0;
}

.about-panel h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1e90ff;
}

.about-panel p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.close-btn {
    background: #1e90ff;
    border: none;
    color: white;
    padding: 12px 20px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}
.page-content {
    max-width: 1100px;
    margin: 120px auto;
    background: rgba(0,0,0,0.6);
    padding: 50px;
    border-radius: 20px;
}

.page-content h1 {
    font-size: 42px;
    margin-bottom: 25px;
}

.page-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.about-gallery img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
.contact-wrapper {
    max-width: 1100px;
    margin: 120px auto;
    display: flex;
    gap: 40px;

    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 40px;
}

/* SOL FORM */
.contact-form {
    flex: 1;
}

.contact-form h2 {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
}

.contact-form textarea {
    height: 130px;
    resize: none;
}

.contact-form button {
    background: #1e90ff;
    color: white;
    padding: 14px;
    width: 100%;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* SAĞ BİLGİLER */
.contact-info {
    flex: 1;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 18px;
    line-height: 1.6;
}
.success-message {
    background: rgba(40, 167, 69, 0.9);
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.form-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.form-success-box {
    background: #ffffff;
    color: #111;
    padding: 40px 50px;
    border-radius: 18px;
    text-align: center;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    animation: scaleIn 0.4s ease;
}

.form-success-box h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.form-success-box p {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}

@keyframes scaleIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-left {
    display: flex;
    gap: 25px;
}

.menu-right {
    display: flex;
    gap: 20px;
    font-weight: bold;
    font-size: 14px;
    opacity: 0.95;
}

.menu-right span {
    white-space: nowrap;
}
.references {
    padding: 120px 60px;
    text-align: center;
}

.references h1 {
    font-size: 42px;
    margin-bottom: 50px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


.reference-card {
    background: rgba(0,0,0,0.55);
    padding: 15px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.reference-card:hover {
    transform: translateY(-6px);
}

.reference-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.reference-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #f1f1f1;
}
.home-gallery {
    margin-top: 40px;
    padding: 40px 80px;
}
.home-gallery {
    padding: 60px 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.gallery-item {
    background: rgba(0,0,0,0.55);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.gallery-item p {
    font-size: 14px;
    line-height: 1.4;
}

/* =========================
   MOBİL UYUMLULUK (768px ve altı)
   ========================= */
@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    /* ÜST MENÜ – YAN YANA */
    .top-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 12px;
        text-align: center;
    }

    .menu-left,
    .menu-right {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .menu-left a {
        font-size: 13px;
        padding: 6px 10px;
        background: rgba(0,0,0,0.4);
        border-radius: 6px;
    }

    .menu-right {
        font-size: 12px;
    }

    /* ANASAYFA (HERO) – GÖRÜNTÜ DÜZELTME */
    .hero {
        margin-top: 40px;
        padding: 0 15px;
        /* Arka plan görselinin net ve tam durması için: */
        background-size: cover;
        background-position: center;
    }

    .hero-box {
        padding: 25px 20px;
        border-radius: 14px;
    }

    .hero h1 {
        font-size: 24px;
        margin-bottom: 12px;
        letter-spacing: 0.5px;
    }

    .hero-sub {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .hero-slogan {
        font-size: 12px;
        padding: 8px 14px;
    }

    /* REFERANSLAR – GÖRSEL NETLEŞTİRME */
    .references {
        padding: 40px 20px;
    }

    .references-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
        gap: 20px;
    }

    .reference-card {
        padding: 12px;
    }

    .reference-card img {
        width: 100%;        /* Kartın genişliğine tam yayıl */
        height: 200px;      /* Sabit yükseklik (İsteğe göre 180-220 arası yapabilirsin) */
        object-fit: cover;  /* GÖRSELİ EZMEDEN, ORANTILI SIĞDIRIR (En önemli satır) */
        object-position: center;
        display: block;
        border-radius: 8px; /* Köşeleri yumuşatır */
    }

    .reference-card p {
        font-size: 13px;
        line-height: 1.4;
    }

    /* YAN PANEL (SERVICES) */
    .services-panel {
        width: 280px; /* Mobilde biraz daha geniş durması için artırdım */
        right: -100%;
        padding: 14px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
    }

    .services-panel.active {
        right: 0;
    }

    /* HAKKIMIZDA SAYFASI */
    .page-content {
        margin: 60px 15px;
        padding: 20px;
    }

    .page-content h1 {
        font-size: 26px;
    }

    .page-content p {
        font-size: 14px;
    }
} /* Media Query Bitişi */




