/*
Theme Name: EAS Kurumsal Tema
Theme URI: https://eas.tr/
Author: Enes - 3. Kuşak
Author URI: https://eas.tr/hakkimizda
Description: EAS Kuyumculuk için özel olarak tasarlanmış, sade ve şık kurumsal tanıtım teması.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: eas-theme
Tags: custom-layout, minimalist, corporate, gold
*/

/* --- GENEL AYARLAR --- */
:root {
    --primary-text: #222;
    --gold-color: #c5a059;
    --gold-dark: #9e7e3e;
    --bg-light: #fdfdfd;
    --dark-bg: #111;
    --gray-bg: #f4f4f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

/* LOGO FONTU BURADA TANIMLI */
h1, h2, h3, .logo-font { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- HEADER --- */
header {
    background: #fff;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-img { height: 50px; width: auto; display: none; } 

nav ul { display: flex; gap: 30px; }
nav a { font-weight: 500; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; color: #444; }
nav a:hover { color: var(--gold-color); }

.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO (ANASAYFA) --- */
.hero {
    height: 90vh;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3)), url('https://eas.tr/grs/ban.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10%;
    color: #fff;
    position: relative;
}

.hero::before {
    content: ''; position: absolute; left: 10%; top: 35%; width: 60px; height: 4px; background: var(--gold-color);
}

.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 1rem; color: #fff; }
.hero h1 span { color: var(--gold-color); font-style: italic; }
.hero p { font-size: 1.3rem; max-width: 600px; margin-bottom: 2.5rem; color: #ddd; font-weight: 300; }

.btn {
    background: var(--gold-color);
    color: #fff;
    padding: 16px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--gold-color);
    display: inline-block;
}
.btn:hover { background: transparent; color: var(--gold-color); }

/* --- GÜVEN BANDI (TRUST BAR) --- */
.trust-bar {
    background: #f9f9f9;
    padding: 2rem 5%;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
}
.trust-item i { font-size: 2rem; color: var(--gold-color); }
.trust-item div h4 { font-size: 1rem; font-weight: bold; }
.trust-item div p { font-size: 0.85rem; color: #666; }

/* --- BÖLÜM BAŞLIKLARI --- */
.section-padding { padding: 2rem 5%; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.8rem; margin-bottom: 10px; color: #111; }
.section-header p { color: #777; font-size: 1.1rem; }

/* --- MARKALARIMIZ (KARTLAR) --- */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.brand-card {
    background: #fff;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--gold-color);
}

/* LOGO BOYUTLANDIRMA STİLİ */
.brand-card img {
    max-width: 300px;
    height: 300px; 
    object-fit: contain; 
    margin: 0 auto 1.5rem; 
}
.brand-card i { 
    font-size: 3rem; 
    color: var(--gold-color); 
    margin-bottom: 1.5rem; 
    display: block; 
} 

.brand-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.brand-link { color: var(--gold-dark); font-weight: bold; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }

/* --- KATEGORİ VİTRİNİ --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.cat-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 4px;
}
.cat-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.cat-card:hover img { transform: scale(1.1); }
.cat-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: #fff;
}
.cat-overlay h3 { font-size: 1.5rem; margin-bottom: 5px; }
.cat-overlay a { color: var(--gold-color); font-size: 0.9rem; font-weight: bold; }

/* --- MAĞAZALARIMIZ --- */
.services-section { background: var(--gray-bg); }
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}
.store-card { background: #fff; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.store-img { height: 250px; background-color: #ddd; background-size: cover; background-position: center; }
.store-info { padding: 2rem; }
.store-info h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.store-info p { color: #666; margin-bottom: 1.5rem; }
.store-btn { 
    padding: 10px 25px; border: 1px solid #333; color: #333; 
    text-transform: uppercase; font-weight: bold; font-size: 0.8rem; 
}
.store-btn:hover { background: #333; color: #fff; }

/* --- FOOTER STYLES --- */
.site-footer {
    background-color: var(--dark-bg);
    color: #f1f1f1;
    padding-top: 50px;
    border-top: 5px solid var(--gold-color);
}
.footer-inner-wrapper {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 5%;
    
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 30px;
    
    border-bottom: 1px solid #333; 
}
.footer-col h4 {
    color: var(--gold-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.footer-col .logo-font {
    color: var(--gold-color);
    font-size: 1.8rem;
    font-weight: 700;
}
.footer-about {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a, .footer-col address a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}
.footer-links a:hover, .footer-col address a:hover {
    color: var(--gold-color);
}
.footer-col address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #ccc;
}
.footer-col address i {
    color: var(--gold-color);
    margin-right: 8px;
    width: 18px; 
    text-align: center;
}
.footer-bottom {
    background-color: var(--dark-bg); /* En alttaki çubuğu yine koyu yapar */
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid #333;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: #999;
}


/* --- HAKKIMIZDA SAYFASI ÖZEL STİLLERİ --- */
.hakkimizda-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://eas.tr/grs/ban.jpg');
    height: 50vh; 
    background-attachment: fixed; 
    background-position: center; 
    background-size: cover;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff; 
    text-align: center;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 0.5rem; letter-spacing: 2px; }
.hero span {
    display: block; 
    font-family: 'Roboto', sans-serif; 
    font-size: 1.1rem;
    font-weight: 600; 
    letter-spacing: 4px; 
    text-transform: uppercase; 
    color: var(--gold-color);
}
.container { 
    max-width: 1000px; 
    margin: -60px auto 0; 
    background: #fff; 
    padding: 4rem; 
    border-radius: 4px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    position: relative; 
    z-index: 10; 
}
.story-section { margin-bottom: 3rem; text-align: center; }
.section-title { font-size: 2.2rem; color: var(--gold-color); margin-bottom: 1.5rem; position: relative; display: inline-block; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--gold-color); margin: 10px auto 0; }
.lead-text { font-size: 1.25rem; font-weight: 500; color: #444; margin-bottom: 2rem; }
.page-content p { margin-bottom: 1.5rem; text-align: justify; }

.philosophy-section { 
    margin: 4rem 0; 
    background-color: var(--gray-bg); 
    padding: 3rem 2rem; 
    border-radius: 8px; 
    border: 1px solid #eee; 
}
.ticaret-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 1.5rem; 
    margin-top: 2rem; 
}
.ticaret-item { 
    background: #fff; 
    padding: 1.5rem; 
    border-left: 3px solid #ddd; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.02); 
    transition: 0.3s; 
}
.ahlak-wrapper { 
    grid-column: 1 / -1; 
    display: flex; 
    justify-content: center; 
    margin: 1rem 0; 
}
.ahlak-card { 
    background: var(--gold-color); 
    color: #fff; 
    padding: 2rem; 
    text-align: center; 
    width: 100%; 
    border-radius: 4px; 
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3); 
    position: relative; 
}
.ahlak-card .letter { color: #fff; font-size: 3rem; margin-bottom: 0; }
.ahlak-card .word-title { color: #fff; font-size: 1.5rem; margin-bottom: 10px; display: block; }
.ahlak-card .word-desc { color: #f9f9f9; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.ahlak-card::before { 
    content: '★ TİCARETİN KALBİ ★'; 
    position: absolute; 
    top: -12px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: #fff; 
    color: var(--gold-color); 
    padding: 2px 15px; 
    font-size: 0.8rem; 
    font-weight: bold; 
    border-radius: 10px; 
}
.certificates-section { margin-top: 5rem; text-align: center; }
.certificates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; margin-top: 2rem; }
.cert-img { width: 100%; height: 250px; background-color: #f0f0f0; object-fit: contain; margin-bottom: 10px; }
.cert-title { font-size: 0.95rem; font-weight: bold; color: #444; }


/* --- RESPONSIVE OVERRIDES --- */
@media (max-width: 768px) {
    .footer-inner-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col {
        margin-bottom: 20px;
    }
    .footer-col address {
        text-align: left;
        padding-left: 20%; 
    }
    .container { margin: 0; width: 100%; padding: 2rem 1.5rem; box-shadow: none; }
    .ticaret-grid { grid-template-columns: 1fr; }
    .page-content p { text-align: left; }

    nav { display: none; }
    .menu-toggle { display: block; }
    .hero { align-items: center; text-align: center; padding-left: 20px; }
    .hero::before { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .trust-bar { justify-content: flex-start; }
    .store-grid { grid-template-columns: 1fr; }
}
/* --- SAYFA İÇERİĞİ GÖRSEL ORTALAMA --- */

.page-content img {
    /* Görselin ortalanması için olmazsa olmaz kural */
    margin: 0 auto; 
    
    /* Gerekli olduğunda block element olmasını sağla */
    display: block; 
    
    /* Maksimum genişlikten taşmasını engeller */
    max-width: 100%; 
    height: auto;
}

/* Editörden gelen paragraf içeriğindeki align center ayarını destekler */
.aligncenter {
    display: block;
    margin: 0 auto;
}