/*
Theme Name: Tatvan TV Servisi
Theme URI: https://tatvantvtamir.com
Author: Tatvan TV Servisi
Description: Tatvan TV ve Uydu Servisi için profesyonel WordPress teması
Version: 3.0.0
License: GPL v2 or later
Text Domain: tatvan-starter
*/

:root {
    --primary: #1a56db;
    --primary-dark: #1e40af;
    --secondary: #f97316;
    --success: #25d366;
    --danger: #ef4444;
    --light: #f8fafc;
    --dark: #1f2937;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --white: #ffffff;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', -apple-system, sans-serif;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius: 0.75rem;
    --radius-lg: 1rem;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background: var(--gray-100); }
.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(26,86,219,0.35); color: var(--white); }

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), #ea580c);
    color: var(--white);
}
.btn-secondary:hover { box-shadow: 0 10px 30px rgba(249,115,22,0.35); color: var(--white); }

.btn-success {
    background: linear-gradient(135deg, var(--success), #128c7e);
    color: var(--white);
}
.btn-success:hover { box-shadow: 0 10px 30px rgba(37,211,102,0.35); color: var(--white); }

.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { box-shadow: var(--shadow-lg); color: var(--primary); }

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

.btn-lg { padding: 18px 36px; font-size: 1.125rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* GRID */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 50px 0; }
}

/* HEADER */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-top {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.875rem;
}
.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.header-top-left { display: flex; align-items: center; gap: 24px; }
.header-top-item { display: flex; align-items: center; gap: 6px; }
.header-top-item a { color: var(--white); }
.header-top-item svg { width: 16px; height: 16px; }

.header-main { padding: 16px 0; }
.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding img { height: 50px; width: auto; }
.site-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}
.site-title a { color: inherit; }
.site-tagline { font-size: 0.75rem; color: var(--gray-500); margin: 0; }

.main-navigation ul { display: flex; align-items: center; gap: 32px; }
.main-navigation a {
    color: var(--gray-600);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: var(--primary); }

.header-actions { display: flex; gap: 12px; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-600);
    transition: 0.3s;
}

@media (max-width: 1024px) {
    .header-top-left > *:not(:first-child) { display: none; }
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px;
        box-shadow: var(--shadow-lg);
    }
    .main-navigation.active { display: block; }
    .main-navigation ul { flex-direction: column; gap: 0; }
    .main-navigation li { width: 100%; border-bottom: 1px solid var(--gray-100); }
    .main-navigation a { display: block; padding: 14px 0; }
    .header-actions { display: none; }
    .menu-toggle { display: flex; }
}

/* FOOTER */
.site-footer {
    background: linear-gradient(180deg, var(--dark) 0%, #111827 100%);
    color: var(--white);
    padding-top: 80px;
}
.footer-main {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { color: var(--gray-400); margin: 20px 0; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-social svg { width: 20px; height: 20px; }

.footer-column h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul a { color: var(--gray-400); }
.footer-column ul a:hover { color: var(--white); }

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--gray-400);
}
.footer-contact-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.footer-contact-item a { color: var(--gray-400); }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p { color: var(--gray-500); font-size: 0.875rem; margin: 0; }

@media (max-width: 1024px) {
    .footer-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .footer-main { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* FLOATING BUTTONS */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: 0.3s;
}
.floating-btn:hover { transform: scale(1.1); color: var(--white); }
.floating-btn svg { width: 24px; height: 24px; }
.floating-btn-whatsapp { background: var(--success); animation: pulse-green 2s infinite; }
.floating-btn-phone { background: var(--secondary); }

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    50% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16,185,129,0.2);
    color: #10b981;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--secondary); }
.hero-text p { font-size: 1.125rem; opacity: 0.9; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-features { display: flex; gap: 32px; }
.hero-feature { display: flex; align-items: center; gap: 10px; }
.hero-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-feature-icon svg { width: 20px; height: 20px; }

.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: 0 25px 50px rgba(0,0,0,0.3); }
.hero-stats {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: flex;
    gap: 32px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
}
.hero-stat-label { font-size: 0.75rem; color: var(--gray-500); }

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-features { justify-content: center; flex-wrap: wrap; }
    .hero-image { display: none; }
}
@media (max-width: 768px) {
    .hero { padding: 50px 0; }
    .hero-features { flex-direction: column; gap: 16px; }
}

/* CARDS */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px;
    transition: 0.3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }

.service-card { text-align: center; border: 1px solid var(--gray-200); }
.service-card:hover { border-color: var(--primary); }
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(26,86,219,0.1), rgba(30,64,175,0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.service-icon svg { width: 32px; height: 32px; color: var(--primary); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--gray-500); margin-bottom: 24px; }

.card-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}
.card-primary h4 { color: var(--white); }

/* SECTION HEADER */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.section-label {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--gray-500); }

/* PAGE HERO */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 64px 0;
    text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { opacity: 0.9; font-size: 1.125rem; }

/* BREADCRUMB */
.breadcrumb {
    background: var(--gray-100);
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}
.breadcrumb ul { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; }
.breadcrumb li:not(:last-child)::after { content: '›'; color: var(--gray-400); }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li:last-child { color: var(--primary); font-weight: 500; }

/* TWO COLUMN */
.two-column { display: grid; grid-template-columns: 1fr 350px; gap: 40px; }
@media (max-width: 1024px) { .two-column { grid-template-columns: 1fr; } }

.sidebar .card { margin-bottom: 24px; }
.sidebar .card:last-child { margin-bottom: 0; }
.sidebar h4 { margin-bottom: 16px; }
.sidebar ul li { padding: 10px 0; border-bottom: 1px solid var(--gray-200); }
.sidebar ul li:last-child { border-bottom: none; }
.sidebar ul a { color: var(--gray-600); display: flex; align-items: center; gap: 8px; }
.sidebar ul a:hover { color: var(--primary); }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { font-size: 1.125rem; opacity: 0.9; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* AREA TAGS */
.area-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.area-tag {
    background: var(--gray-100);
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 0.9375rem;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    transition: 0.2s;
    text-decoration: none;
}
.area-tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* TESTIMONIALS */
.testimonial-card { position: relative; }
.testimonial-stars { color: #fbbf24; margin-bottom: 16px; display: flex; gap: 4px; }
.testimonial-stars svg { width: 20px; height: 20px; }
.testimonial-text { font-size: 1rem; line-height: 1.7; margin-bottom: 24px; color: var(--gray-600); }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}
.testimonial-name { font-weight: 600; color: var(--gray-800); }
.testimonial-location { font-size: 0.875rem; color: var(--gray-500); }

/* FAQ */
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.faq-question {
    padding: 20px;
    background: var(--gray-100);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--gray-800);
}
.faq-question:hover { background: var(--gray-200); }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--primary); transition: 0.2s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0; max-height: 0; overflow: hidden; transition: 0.3s; }
.faq-item.active .faq-answer { padding: 20px; max-height: 500px; }
.faq-answer p { color: var(--gray-600); line-height: 1.7; }

/* FORMS */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--gray-600); }
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: 0.2s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(26,86,219,0.1); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* BRANDS */
.brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid var(--gray-200);
    min-height: 100px;
    text-decoration: none;
}
.brand-card:hover { border-color: var(--primary); }
.brand-card span { font-weight: 600; color: var(--gray-600); }

/* ENTRY CONTENT */
.entry-content > * { margin-bottom: 24px; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { margin-top: 40px; }
.entry-content h3 { margin-top: 32px; }
.entry-content ul, .entry-content ol { padding-left: 24px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 8px; }

/* CONTACT BOX */
.contact-box {
    background: var(--gray-100);
    padding: 24px;
    border-radius: var(--radius);
    margin: 24px 0;
}
.contact-box p { margin-bottom: 12px; }
.contact-box p:last-child { margin-bottom: 0; }

/* WORDPRESS DEFAULTS */
.alignleft { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.aligncenter { display: block; margin: 0 auto 24px; }
.wp-block-image img { border-radius: var(--radius); }

/* PRINT */
@media print {
    .site-header, .site-footer, .floating-buttons, .breadcrumb, .cta-section { display: none !important; }
}
