/* =============================================== */
/* TEMEL SAYFA AYARLARI                            */
/* =============================================== */
html {
    font-size: 16px;
}

/* DEĞİŞİKLİK BURADA */
body {
    font-family: 'Sen', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
    font-size: 1rem;
    line-height: 1.6;

    /* YENİ EKLENEN 3 SATIR */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Sayfanın en az ekran boyu kadar uzun olmasını sağlar */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* DEĞİŞİKLİK BURADA */
main {
    padding-top: 90px;
    
    /* YENİ EKLENEN SATIR */
    flex-grow: 1; /* Ana içerik alanının mevcut tüm boşluğu doldurmasını sağlar */
}


/* =============================================== */
/* HEADER (ÜST MENÜ)                               */
/* =============================================== */
header {
    background-color: white;
    padding: 0 5%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    z-index: 1000;
    height: 90px;
}

nav.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* BU KURAL SORUNU ÇÖZECEK OLAN KURALDIR */
.nav-left {
    display: flex;
    align-items: center;
    gap: 40px; 
}

nav .logo img {
    width: 70px;
    height: 70px;
    display: block; 
}

nav .nav-links ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    font-weight: 500;
    font-size: 1.1rem;
}

nav .nav-links a:hover {
    color: #00b4d8;
}

nav .contact-info {
    display: flex;
    gap: 20px;
}

nav .contact-info div {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* =============================================== */
/* HERO (ANA BAŞLIK ALANI)                          */
/* =============================================== */
.hero-section, .page-hero {
    position: relative; /* İçindeki absolute elemanlar için referans noktası */
    height: calc(100vh - 90px); /* main'deki padding-top ile aynı */
    width: 100%;
    color: white;
    overflow: hidden; /* Taşan kısımları gizler */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* En alt katman */
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* DEĞİŞİKLİK: Metni dikeyde AŞAĞIYA yaslar */
    align-items: flex-start;
    padding: 0 10% 5%; /* DEĞİŞİKLİK: Alttan %10'luk bir boşluk bırakır */
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.2);
}

/* Sayfalara özel hero-content ayarı */
.page-hero .hero-content {
    justify-content: flex-end; /* Diğer sayfalarda metin altta */
    align-items: center; /* Diğer sayfalarda metin ortada */
    text-align: center;
    padding-bottom: 5%;
}


.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 20px;
    max-width: 600px;
}


/* =============================================== */
/* GENEL İÇERİK ALANLARI                           */
/* =============================================== */
.container {
    padding: 80px 10%;
    text-align: center;
}

.container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.container p {
    font-size: 1.2rem;
    max-width: 900px; 
    margin: 20px auto 0 auto;
}


/* =============================================== */
/* FOOTER (ALT BİLGİ) - YENİLENMİŞ HALİ            */
/* =============================================== */
footer {
    position: relative;
    z-index: 10;
    background-color: #02252a;
    width: 100%;
    color: #fff;
    padding: 0 10%;
    box-sizing: border-box; /* padding'in genişliğe dahil olmasını sağlar */
}

.footer-first-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}
.footer-contact a:hover {
    color: #00b4d8;
}

.footer-social-icons {
    /* Mevcut kurallarınız */
    display: flex;
    align-items: center;
    
    /* YENİ EKLENECEK 2 SATIR */
    flex-grow: 1; /* Ortadaki alanın tüm boşluğu kaplamasını sağlar */
    justify-content: center; /* İçindeki tek elemanı yatayda ortalar */
}

.footer-social-icons a {
    font-weight: bold;
    font-size: 1.1rem;
}
.footer-social-icons a:hover {
    color: #00b4d8;
}

.footer-about a {
    font-weight: 500;
}
.footer-about a:hover {
    color: #00b4d8;
}

.footer-second-section {
    position: relative;
    text-align: center;
    padding: 40px 0;
    z-index: 5;
}

/* Logoyu çevreleyen çizgiyi oluşturuyoruz */
.footer-second-section::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -1;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    background-color: #02252a; /* Çizginin logonun arkasından geçmemesi için */
    padding: 0 20px;
}

.footer-third-section {
    padding-bottom: 20px;
    text-align: center;
    font-size: 11px;
    line-height: 28px;
}

/* =============================================== */
/* HİZMETLER SAYFASI STİLLERİ - NİHAİ DÜZELTME      */
/* =============================================== */
.services-scopes {
    width: 80%;
    margin: 80px auto;
    display: flex;
    gap: 40px;
}

.services-scopes .column {
    flex-basis: 50%; /* Her sütunun genişliği %50 */
}

.services-scopes .service-item {
    display: flex; 
    align-items: baseline; /* DÜZELTME: Öğeleri metin taban çizgisine göre hizalar */
    margin-bottom: 16px;
    font-size: 1.1rem; 
    color: #4b5563; 
    line-height: 1.5;
}

.services-scopes .service-item span {
    color: #dc2626; 
    margin-right: 12px;
    font-weight: bold;
    font-size: 1.5rem; 
    /* DÜZELTME: margin-top kaldırıldı, hizalamayı artık align-items:baseline yapıyor */
}

.services-scopes .service-item p {
    margin: 0; 
    flex: 1; 
}


/* =============================================== */
/* HAKKIMIZDA SAYFASI STİLLERİ                     */
/* =============================================== */
.about-page-container {
    padding: 80px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-page-container .about-content h1 {
    font-size: 2.5rem; /* ABOUT US başlığı */
    font-weight: 800;
    margin-bottom: 30px;
    border-bottom: 3px solid #eee;
    padding-bottom: 15px;
}

.about-page-container .about-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}


/* ALINTI BÖLÜMÜ STİLLERİ */
.quote-section {
    padding: 40px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 40px auto;
}

.quote-section .quote-text {
    flex-basis: 45%;
}

.quote-section .quote-image {
    flex-basis: 55%;
}

.quote-section .quote-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.quote-section blockquote {
    font-size: 1.75rem;
    font-family: "Georgia", serif;
    font-style: italic;
    color: #333;
    padding-left: 50px;
    position: relative;
    border-left: 4px solid #00b4d8;
}

.quote-section blockquote::before {
    content: "\201C";
    position: absolute;
    left: 10px;
    top: -20px;
    font-size: 4rem;
    color: #e0e0e0;
    z-index: -1;
}

/* YENİ EKLENEN KISIM BURASI */
.quote-section blockquote::after {
    content: "\201D"; /* Kapanış tırnak işareti */
    font-size: 4rem;
    color: #e0e0e0;
    vertical-align: -0.6em; /* Tırnağı dikeyde aşağıya hizalar */
    line-height: 0;
    display: inline-block; /* Dikey hizalamanın çalışması için gereklidir */
}

/* =============================================== */
/* İLETİŞİM SAYFASI STİLLERİ - YENİLENMİŞ HALİ       */
/* =============================================== */
.contact-page-content {
    padding: 80px 10%;
    max-width: 900px; /* İçeriği daraltıp ortalar */
    margin: 0 auto;
    text-align: center;
}

.contact-page-content .intro-text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 60px;
}

.contact-info-container h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex; /* Etiket ve bilgiyi yan yana getirir */
    justify-content: center; /* Ortaya hizalar */
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.contact-info-item span {
    font-weight: 600; /* Etiketleri (Phone:, Email:) kalın yapar */
    width: 80px; /* Etiketler için sabit genişlik */
    text-align: right; /* Etiketleri sağa yaslar */
    margin-right: 15px;
}

.contact-info-item p, .contact-info-item a {
    text-align: left; /* Bilgiyi sola yaslar */
}

.contact-info-item a {
    color: #666; /* Link rengini belirginleştirir */
}

/* =============================================== */
/* PAZAR YERİ SAYFASI STİLLERİ                     */
/* =============================================== */
.page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}
.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Duyarlı galeri yapısı */
    gap: 30px; /* Kartlar arası boşluk */
    text-align: left;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden; /* Taşan kısımları (resim gibi) gizler */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px); /* Üzerine gelince hafifçe yukarı kalkar */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-card .product-image {
    width: 100%;
    height: 250px; /* Tüm resimlerin aynı yükseklikte olmasını sağlar */
    background-color: #f7f7f7;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin kutuya orantılı şekilde sığmasını sağlar */
}

.product-card .product-info {
    padding: 20px;
    flex-grow: 1; /* Kartın kalan tüm boşluğunu doldurur */
    display: flex;
    flex-direction: column;
}

.product-card .product-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.product-card .product-info .product-price {
    font-size: 1.2rem;
    font-weight: 500;
    color: #007bff;
    margin-top: auto; /* Fiyatı kartın en altına iter */
}
/* =============================================== */
/* ÜRÜN DETAY SAYFASI STİLLERİ                     */
/* =============================================== */
.product-detail-container {
    display: flex;
    gap: 50px;
    align-items: flex-start; /* Sütunları yukarıdan hizalar */
    text-align: left;
}

.product-detail-image {
    flex-basis: 50%; /* Sol sütun genişliği */
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.product-detail-info {
    flex-basis: 50%; /* Sağ sütun genişliği */
}

.product-detail-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 30px;
}

.product-detail-description h3 {
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.product-detail-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.contact-for-purchase {
    margin-top: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.contact-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #28a745;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.contact-button:hover {
    background-color: #218838;
    color: white;
}
/* =============================================== */
/* İLETİŞİM PENCERESİ (MODAL) STİLLERİ             */
/* =============================================== */
.modal {
    display: none; /* Varsayılan olarak gizli */
    position: fixed; /* Sayfada sabit kalır */
    z-index: 2000; /* Her şeyin önünde olmasını sağlar */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Gerekirse kaydırma çubuğu çıkar */
    background-color: rgba(0,0,0,0.6); /* Yarı saydam siyah arkaplan */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* Dikeyde ve yatayda ortalar */
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    text-align: center;
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-contact-info {
    margin-top: 20px;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* =============================================== */
/* ANA SAYFA SLIDER STİLLERİ                       */
/* =============================================== */
.slider-section {
    padding: 80px 0; /* Üstten ve alttan boşluk */
    background-color: #f8f9fa; /* Arka plan rengi */
    overflow: hidden; /* Taşan kısımları gizle, bu çok önemli */
}

.slider-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.slider-container {
    width: 100%;
    position: relative;
}



.slide {
    width: 250px; /* Her bir resmin genişliği */
    height: 200px; /* Her bir resmin yüksekliği */
    margin: 0 15px; /* Resimler arası boşluk */
    flex-shrink: 0; /* Resimlerin sıkışmasını önler */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resimleri kutuya sığdırır */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

