/* ========================================
   GENEL AYARLAR
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}
img {
    max-width: 100%;
    display: block;
    height: auto;
}
ul { list-style: none; }
button { cursor: pointer; font-family: 'Poppins', sans-serif; }

/* ========================================
   NAVBAR
======================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #111;
    position: sticky;
    top: 0;
    z-index: 999;
}
.navbar .logo {
    height: 60px;
}
.nav-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
.nav-links a {
    color: #fff;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
}
.nav-links a.active,
.nav-links a:hover {
    background-color: #333;
}

/* ========================================
   HERO BÖLÜMÜ
======================================== */
.hero {
    background: url("../images/hero.jpg") center/cover no-repeat;
    height: 80vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    color: #fff;
    padding-left: 5%;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}
.hero-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 50px 25px;
    animation: fadeInUp 1.5s ease forwards;
}
.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}
.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #ccc;
}
.btn {
    display: inline-block;
    background-color: #444;
    color: #fff;
    padding: 12px 25px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    transition: all 0.3s;
}
.btn:hover {
    background-color: #666;
    transform: translateY(-2px);
}

/* ========================================
   ANİMASYONLAR
======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}

/* ========================================
   ABOUT SAYFASI DÜZELTME
======================================== */
.about-main {
    padding-top: 100px; /* navbar üstüne çakışmayı önler */
}
@media(max-width: 768px){
    .about-main {
        padding-top: 120px;
    }
}
@media(max-width: 576px){
    .about-main {
        padding-top: 140px;
    }
}

/* ========================================
   HAKKIMIZDA
======================================== */
.about-section {
    padding: 60px 5%;
    background-color: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.about-section h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 40px;
}
.about-section p {
    max-width: 900px;
    color: #ccc;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ========================================
   SERVİSLER / ÜRÜNLER
======================================== */
.services {
    text-align: center;
    padding: 60px 5%;
    background-color: #111;
}
.services h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 30px;
}
.service-card {
    background: #222;
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(255,255,255,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}
.service-card img {
    border-radius: 15px;
    margin-bottom: 15px;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.service-card h3 {
    margin: 15px 0;
    font-size: 1.3rem;
    color: #fff;
}
.service-card p {
    color: #ccc;
    margin-bottom: 15px;
}
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(255,255,255,0.1);
}

/* ========================================
   CONTACT / FORM
======================================== */
.contact-section {
    padding: 60px 5%;
    background-color: #111;
    text-align: center;
}
.contact-section h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 40px;
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}
.contact-form-wrapper, .contact-info-wrapper {
    flex: 1;
    min-width: 320px;
}
.contact-form {
    background: #222;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input, .contact-form textarea, .contact-form select {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #555;
    background-color: #111;
    color: #fff;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none;
    border-color: #888;
    box-shadow: 0 0 8px rgba(255,255,255,0.2);
}
.contact-form button {
    background-color: #444;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
}
.contact-form button:hover {
    background-color: #666;
}

/* ========================================
   FOOTER
======================================== */
footer {
    width: 100%;
    background: #25262A;
    color: #fff;
    padding: 50px 20px 20px;
}
footer .container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}
footer .container h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}
footer .container h3::after {
    content: "";
    display: block;
    height: 2px;
    width: 50px;
    background: #fff;
    margin: 5px auto 0;
}
footer .col-1, footer .col-2, footer .col-3, footer .col-4 {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
footer .col-1 img {
    width: 200px;
    margin-bottom: 20px;
}
footer .col-1 p {
    color: #fff;
    font-size: 15px;
    line-height: 20px;
}
footer .col-2 ul, footer .col-3 ul {
    list-style: none;
    padding: 0;
}
footer .col-2 ul li, footer .col-3 ul li {
    margin-bottom: 10px;
}
footer .col-2 ul li a, footer .col-3 ul li a {
    color: #fff;
    text-decoration: none;
}
footer .col-2 ul li a:hover, footer .col-3 ul li a:hover {
    color: #e701e7;
    transition: 0.5s;
}
footer .col-4 .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
footer .col-4 .social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}
footer .col-4 .social-icons a img {
    width: 24px;
    height: 24px;
    display: block;
}
footer .col-4 .social-icons a:hover {
    background: #e701e7;
}
.footer-2 {
    width: 100%;
    background: #25262A;
    color: #fff;
    padding-top: 20px;
    text-align: center;
    margin-top: 20px;
}

/* ========================================
   RESPONSIVE OPTİMİZASYON
======================================== */
@media(max-width: 992px){
    .navbar { 
        flex-direction: column; 
        align-items: center;
        gap: 10px;
        padding: 15px 3%;
    }
    .service-grid { 
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    }
    footer .container {
        justify-content: space-around;
    }
}
@media(max-width: 768px){
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 10px 5%;
    }
    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    .nav-links a {
        padding: 5px 10px;
        font-size: 0.95rem;
    }
    .navbar .logo {
        margin-bottom: 10px;
    }
    .about-section, .services, .contact-section {
        padding-left: 3%;
        padding-right: 3%;
    }
    .hero { 
        height: 50vh;
        justify-content: center; 
        text-align: center; 
        padding-left: 0; 
    }
    .hero-text { 
        max-width: 90%; 
        padding: 20px; 
    }
    .service-grid { 
        grid-template-columns: 1fr; 
    }
    .service-card {
        padding: 20px 15px;
    }
    .contact-form-wrapper, .contact-info-wrapper {
        min-width: 100%;
    }
    .contact-container {
        gap: 30px;
    }
    footer .container { 
        flex-direction: column; 
        align-items: center; 
        gap: 30px; 
        text-align: center; 
    }
    footer .col-1, footer .col-2, footer .col-3, footer .col-4 {
        min-width: 100%;
        max-width: 400px;
    }
}
@media(max-width:576px){
    .navbar .logo {
        height: 40px;
    }
    .hero-text h1 { 
        font-size: 2rem; 
    }
    .hero-text p { 
        font-size: 0.95rem; 
    }
    .about-section h2, .services h2, .contact-section h2 {
        font-size: 2rem;
    }
    .btn { 
        padding: 10px 20px; 
        font-size: 0.95rem; 
    }
    .service-card {
        aspect-ratio: auto;
        padding: 15px 10px;
    }
    /* Footer iconlar ortalanıyor */
    footer .col-4 .social-icons {
        justify-content: center;
    }
}
