/* --- Genel Stil ve Sıfırlama --- */
:root {
    --primary-color: #0d47a1; /* Koyu Mavi */
    --secondary-color: #1976d2; /* Orta Mavi */
    --accent-color: #ffc107; /* Vurgu Rengi - Altın Sarısı */
    --background-color: #f4f6f8;
    --text-color: #333;
    --light-gray: #e0e0e0;
    --white: #fff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* --- Başlık (Header) --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(13,71,161,0.06);
    border-bottom: 2px solid #e3e8ef;
    padding: 0.7rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 0.3rem;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    vertical-align: middle;
}

header nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

header nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding: 0.2rem 0;
    transition: color 0.3s;
}

header nav a:hover {
    color: var(--secondary-color);
}

header nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
    position: absolute;
    left: 0;
    bottom: -4px;
}

header nav a:hover::after {
    width: 100%;
}

/* --- Ana İçerik (Main) --- */
main {
    padding-top: 2rem;
}

section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: var(--white);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* --- Hero Bölümü --- */
#hero {
    background: linear-gradient(rgba(13, 71, 161, 0.8), rgba(25, 118, 210, 0.7)), url('https://images.unsplash.com/photo-1553775282-20af807797d2?q=80&w=2070&auto=format&fit=crop') center center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
}

#hero h2 {
    color: var(--white);
    font-size: 3rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #ffca28;
    transform: translateY(-3px);
}

/* --- Ürünler Bölümü --- */
#kategori-filtreleri {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.kategori-btn {
    background-color: var(--light-gray);
    color: var(--text-color);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.kategori-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.kategori-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(13, 71, 161, 0.4);
}

#urun-listesi {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    transition: opacity 0.4s ease-in-out;
}

#urun-listesi.fading-out {
    opacity: 0;
}

.urun-karti {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.urun-karti:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.urun-karti img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.urun-karti h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* --- Hakkımızda Bölümü --- */
.hakkimizda-icerik {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* --- Markalar Bölümü --- */
#markalar {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.marka-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.marka-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    padding: 0.5rem;
}

.marka-logo img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.marka-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}

/* --- İletişim Bölümü --- */
.iletisim-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 3rem;
    text-align: left;
}

.iletisim-detaylari, .map-container {
    flex: 1;
    min-width: 300px;
}

.iletisim-detaylari h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.iletisim-item {
    margin-bottom: 1.5rem;
}

.iletisim-item strong {
    font-size: 1.1rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.25rem;
}

.iletisim-item p, .iletisim-item a {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.iletisim-item a:hover {
    color: var(--white);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    min-height: 350px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--light-gray);
    padding: 4rem 0 0 0; /* Üst boşluk, alt sıfır */
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-col .logo {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a,
.footer-col .iletisim-item a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover,
.footer-col .iletisim-item a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-col .iletisim-item .adres-detay {
    display: block;
    margin-left: 26px; /* İkonla hizalamak için */
}

.footer-map {
    margin-top: 1.5rem;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    justify-content: flex-start; /* İkonları sola hizala */
    margin-top: 1.5rem;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
}

.social-media a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    font-size: 1.3rem;
    color: #fff;
    border: none;
    padding: 0;
    text-decoration: none !important;
}

.social-media a:hover {
    transform: scale(1.13) translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    background: var(--accent-color);
    color: var(--primary-color);
}

.social-link.facebook { background: #1877F2; }
.social-link.instagram { background: #E4405F; }
.social-link.whatsapp { background: #25D366; }
.social-link.x-twitter { background: #000; }
.social-link.youtube { background: #FF0000; }

.social-link i {
    font-size: 1.5rem;
    color: #fff;
}

.footer-col .iletisim-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--light-gray);
    font-size: 1rem;
    line-height: 1.5;
}

.footer-col .iletisim-item a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s;
    word-break: break-word;
}

.footer-col .iletisim-item a:hover {
    color: var(--white);
}

.footer-col .iletisim-item .adres-detay {
    display: block;
    margin-left: 0;
    margin-top: 2px;
    font-size: 0.97em;
    color: var(--light-gray);
}

.footer-col .iletisim-item .fa-map-marker-alt {
    margin-top: 3px;
    color: var(--accent-color);
    font-size: 1.2em;
}

.footer-col .iletisim-item .fa-phone,
.footer-col .iletisim-item .fa-envelope {
    color: var(--accent-color);
    font-size: 1.1em;
    margin-top: 3px;
}

.footer-map {
    margin-top: 1.2rem;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Eski İletişim Stillerini Temizle/Değiştir --- */
.iletisim-container { display: none; } /* Eski konteyneri gizle */

footer p {
    color: var(--light-gray);
    margin: 0.5rem 0 0;
}

footer .company-title {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* --- Yukarı Çık Butonu --- */
#yukari-cik {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.4s ease, background-color 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

#yukari-cik:hover {
    background-color: #ffcd38; /* Vurgu renginin biraz daha açığı */
    transform: translateY(-5px);
}

#yukari-cik.goster {
    display: flex;
    opacity: 1;
}

/* --- Responsive Tasarım --- */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    header .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    #hero {
        padding: 4rem 0;
    }

    #hero h2 {
        font-size: 2.2rem;
    }
    
    #urun-listesi {
        grid-template-columns: 1fr;
    }

    .iletisim-container {
        flex-direction: column;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 0.7rem;
        top: 50%;
        transform: translateY(-50%);
    }
    header .container {
        position: relative;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
    .logo {
        margin-right: auto;
    }

    .site-logo {
        max-width: 90px;
        max-height: 36px;
    }
    .logo-text {
        font-size: 1.3rem;
    }

    .kategori-btn {
        font-size: 1rem;
        padding: 0.6rem 1.1rem;
        min-width: 120px;
        margin: 0.3rem auto;
    }
    #kategori-filtreleri {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
    }
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.social-link i {
    font-size: 20px;
    color: #fff;
}

.social-link.facebook { background-color: #1877F2; }
.social-link.instagram { background-color: #E4405F; }
.social-link.whatsapp { background-color: #25D366; }
.social-link.x-twitter { background-color: #000000; }
.social-link.youtube { background-color: #FF0000; }

.copyright-bar {
    background: var(--background-color);
    color: #333;
    text-align: center;
    font-size: 0.98rem;
    padding: 1.1rem 0 0.7rem 0;
}
.copyright-bar .company-title {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.2rem;
    color: #555;
}

#urunler,
#hakkimizda,
#markalar {
    scroll-margin-top: 80px;
}

.site-logo {
    max-width: 120px;
    max-height: 50px;
    height: auto;
    display: block;
    margin: 0;
}

.footer-col .site-logo {
    max-width: 300px;
    max-height: 150px;
    margin-bottom: 0.5rem;
    background: none;
    border-radius: 0;
    box-shadow: 0 6px 32px rgba(0,0,0,0.18);
    padding: 0;
    display: block;
}

.footer-social-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-top: 1.2rem;
    margin-bottom: 0.7rem;
    letter-spacing: 0.5px;
    text-align: left;
}

.footer-content.footer-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    align-items: start;
}

.footer-col:first-child {
    padding-top: 0;
}

.footer-col h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
    text-align: left;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-about,
.footer-col ul li a,
.footer-col .iletisim-item,
.social-media a {
    font-size: 1.05rem;
}

.footer-col ul li a {
    font-weight: 500;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .footer-content.footer-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-content.footer-4col {
        grid-template-columns: 1fr;
    }
}

/* Hamburger Menü Butonu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1100;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    header nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        width: 220px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        padding: 1.5rem 1rem;
        gap: 1.5rem;
        display: none;
    }
    header nav.active {
        display: flex;
    }
    header .container {
        position: relative;
    }
} 