/* ==========================================================================
   GLOBAL DEĞİŞKENLER (VARIABLES)
   ========================================================================== */
   :root {
    /* Kurumsal ve Güven Veren Renk Paleti (Mavi, Gri, Beyaz tonları) */
    --color-primary: #0F52BA; /* Sapphire Blue - Güven veren ana renk */
    --color-primary-light: #4A7BCE;
    --color-secondary: #F4F7F6; /* Çok açık gri-mavi arkaplan */
    --color-text-main: #2C3E50; /* Okunabilir koyu gri/mavi metin */
    --color-text-muted: #7F8C8D;
    --color-white: #FFFFFF;
    --color-border: #E0E6ED;
    --color-accent: #27AE60; /* Başarı / Aksiyon rengi (Yeşil) */

    --font-main: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ==========================================================================
   RESET & TEMEL AYARLAR
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background-color: var(--color-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-light);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   ERİŞİLEBİLİRLİK (ACCESSIBILITY)
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px;
    z-index: 100;
}
.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-main);
    padding: 5px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    letter-spacing: -1.5px;
    display: inline-flex;
    align-items: center;
}
.logo-text-esnaf {
    font-weight: 700;
    color: #0F172A;
}
.logo-text-siteleri {
    font-weight: 900;
    background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    color: var(--color-text-main);
    padding: 10px 0;
    position: relative;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* ==========================================================================
   STANDART ALT SAYFA HERO (PAGE-HERO)
   ========================================================================== */
.page-hero {
    background-color: var(--color-secondary);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
    font-size: 36px;
    color: var(--color-text-main);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-hero p {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   CTA BUTONLARI
   ========================================================================== */
.cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 15px 35px;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   İÇERİK BÖLÜMLERİ
   ========================================================================== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
    color: var(--color-text-main);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.feature-icon {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--color-text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 20px 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--color-text-muted);
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ==========================================================================
   İLETİŞİM BİLGİ KARTLARI
   ========================================================================== */
.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}
.contact-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.contact-card h3 {
    margin-bottom: 10px;
    color: var(--color-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBİL UYUMLULUK)
   ========================================================================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        padding: 15px 0;
    }
    
    .header-brand {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        display: none; /* Kapalı başlar */
        width: 100%;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--color-border);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 12px 0;
        font-size: 18px;
    }
    
    .grid-2-col {
        grid-template-columns: 1fr;
    }
    
    /* Vitrin / Kiralık Site Öğesi Mobil Düzeltmesi */
    .site-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 15px !important;
    }
    .site-item > div {
        width: 100%;
        min-width: 0 !important;
        text-align: center !important;
        margin-bottom: 15px;
    }
    .site-item > div:first-child {
        word-break: break-all; /* Uzun domainlerin taşmasını engeller */
        margin-bottom: 25px;
    }
    .site-item > div:last-child {
        margin-bottom: 0;
    }
}

/* ==========================================================================
   ANİMASYONLAR (ANIMATIONS)
   ========================================================================== */
@keyframes ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(0); }
    100% { transform: rotate(0); }
}

.animate-ring {
    animation: ring 2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.animate-pulse-bg {
    position: relative;
}
.animate-pulse-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background-color: var(--color-accent);
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: -1;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}
