/* ============================================
   eniyisigorta - Ana CSS Dosyası
   PHP 8.3 Uyumlu Frontend
   ============================================ */

:root {
    --primary: #c41e3a;
    --primary-light: #e63950;
    --primary-dark: #9b1530;
    --secondary: #3e0b0b;
    --dark: #2a0606;
    --light: #f5f0eb;
    --cream: #f8f5f0;
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #888888;
    --border: #e8e8e8;
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; transition: var(--transition); }

img { max-width: 100%; height: auto; display: block; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196,30,58,0.3);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-light {
    background: white;
    color: var(--text);
}

.text-accent { color: var(--primary); }

/* ============================================
   HEADER
   ============================================ */
.main-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.main-header.scrolled .logo-text { color: var(--secondary); }
.main-header.scrolled .nav-list > li > a { color: var(--text); }
.main-header.scrolled .header-phone { color: var(--text); }

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

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.logo-accent { color: var(--primary); }

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-list > li > a {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-list > li > a:hover { color: white; }

.nav-list > li > a i { font-size: 10px; }

.has-dropdown { position: relative; }

.dropdown {
    position: absolute;
    top: 140%;
    left: 0;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-size: 14px;
}

.dropdown li a:hover {
    background: var(--cream);
    color: var(--primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-phone i { color: var(--primary); }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.main-header.scrolled .mobile-toggle { color: var(--secondary); }

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 60px;
}

.hero-content { max-width: 700px; }

.hero-label {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 56px;
    font-weight: 300;
    color: white;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-title span { font-weight: 700; }

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

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

.hf-item {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hf-item i {
    font-size: 20px;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hs-item { display: flex; align-items: baseline; gap: 4px; }

.hs-number {
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.hs-plus {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.hs-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-left: 4px;
}

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
    padding: 160px 0 80px;
    color: white;
    position: relative;
}

.banner-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 16px;
}

.banner-title span { font-weight: 700; color: var(--primary); }

.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover { color: white; }

.breadcrumb span:last-child { color: var(--primary); }

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section { padding: 80px 0; }

.section-header {
    margin-bottom: 50px;
}

.section-label {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-label::before {
    content: '//';
    color: #4ade80;
}

.section-title {
    font-size: 36px;
    font-weight: 300;
    color: var(--secondary);
    line-height: 1.3;
}

.section-title span { font-weight: 700; color: var(--primary); }

.section-desc {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 500px;
}

.bg-dark {
    background: var(--secondary);
    color: white;
    border-radius: var(--radius);
    margin: 0 20px;
}

.bg-dark .section-title { color: white; }

.bg-white-card {
    background: white;
    border-radius: var(--radius);
    margin: 0 20px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-images img {
    border-radius: var(--radius);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary);
    color: white;
    padding: 24px;
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 140px;
}

.about-badge .ab-number {
    font-size: 28px;
    font-weight: 700;
    display: block;
}

.about-badge .ab-text {
    font-size: 13px;
    opacity: 0.9;
}

.about-content ul {
    list-style: none;
    margin: 24px 0;
}

.about-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text);
}

.about-content ul li i {
    color: var(--primary);
    font-size: 16px;
}

.about-meta {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.about-meta .am-avatars {
    display: flex;
}

.about-meta .am-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    object-fit: cover;
}

.about-meta .am-avatars img:first-child { margin-left: 0; }

.about-meta .am-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.about-meta .am-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.services-left .section-title { margin-bottom: 20px; }

.services-left p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-card {
    text-align: left;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.service-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

.services-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.services-cta .btn-free {
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.services-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0;
}

.services-cta a { color: var(--primary-light); font-weight: 600; }

/* ============================================
   STATS / WHO WE ARE
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-circle {
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    flex-shrink: 0;
}

.stat-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
}

.stats-image img {
    border-radius: var(--radius);
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.products-list { display: flex; flex-direction: column; gap: 16px; }

.product-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(196,30,58,0.08);
}

.product-card.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.product-card.active .product-features li,
.product-card.active .product-features li i { color: rgba(255,255,255,0.9); }

.product-name {
    font-weight: 600;
    font-size: 15px;
    min-width: 150px;
}

.product-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

.product-card.active .product-divider { background: rgba(255,255,255,0.2); }

.product-features {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.product-features li i { color: var(--primary); font-size: 14px; }

/* ============================================
   EXPERTISE SECTION
   ============================================ */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}

.expertise-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.expertise-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.expertise-tag img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-card {
    position: relative;
}

.process-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.process-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary);
}

.process-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
    overflow: hidden;
    padding: 30px 0;
    background: var(--cream);
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.marquee-item {
    font-size: 42px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 20px;
}

.marquee-item i {
    font-size: 24px;
    color: #4ade80;
    -webkit-text-stroke: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.blog-list { display: flex; flex-direction: column; gap: 24px; }

.blog-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: center;
}

.blog-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary);
}

.blog-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
    border-radius: var(--radius) var(--radius) 0 0;
    margin: 0 20px;
}

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

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 16px;
}

.footer-logo span { color: var(--primary); }

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.contact-form-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196,30,58,0.1);
}

textarea.form-control { resize: vertical; min-height: 120px; }

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-info-item p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.contact-info-item .ci-value {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
}

.contact-info-item .ci-value i {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-post-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.blog-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post-card .content {
    padding: 24px;
}

.blog-post-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary);
}

.blog-post-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.blog-detail { max-width: 800px; margin: 0 auto; }

.blog-detail img { border-radius: var(--radius); margin-bottom: 30px; }

.blog-detail h1 { font-size: 36px; font-weight: 700; margin-bottom: 20px; color: var(--secondary); }

.blog-detail .meta { color: var(--text-muted); font-size: 14px; margin-bottom: 30px; }

.blog-detail .content { font-size: 16px; line-height: 1.8; color: var(--text); }

.blog-detail .content p { margin-bottom: 20px; }

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.product-detail {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 30px;
}

.product-detail h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.product-detail ul {
    list-style: none;
    margin: 20px 0;
}

.product-detail ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text);
}

.product-detail ul li i { color: var(--primary); }

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .mobile-toggle { display: block; }
    
    .main-nav {
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 280px;
        background: white;
        z-index: 1001;
        padding: 80px 20px 20px;
        transform: translateX(-100%);
        transition: var(--transition);
    }
    
    .main-nav.active { transform: translateX(0); }
    
    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-list > li > a {
        color: var(--text);
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--cream);
        display: none;
    }
    
    .has-dropdown.active .dropdown { display: block; }
    
    .hero-title { font-size: 36px; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    
    .about-grid,
    .stats-grid,
    .expertise-grid,
    .products-layout,
    .services-layout,
    .blog-layout,
    .contact-layout { grid-template-columns: 1fr; }
    
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    
    .blog-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .bg-dark, .bg-white-card, .main-footer { margin: 0; border-radius: 0; }
    
    .header-phone { display: none; }
    .hero-features { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 28px; }
    .section-title { font-size: 28px; }
    .process-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .product-card { flex-wrap: wrap; }
    .blog-card { grid-template-columns: 1fr; }
    .contact-form-card { padding: 24px; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.p-4 { padding: 2rem; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }
