/* Tez Market - Profesyonel Tasarım | Core Web Vitals Optimize */
:root {
    --primary: #0f3460;
    --primary-light: #1a4a7a;
    --primary-dark: #0a2647;
    --accent: #e94560;
    --accent-hover: #ff6b6b;
    --text: #1a202c;
    --text-light: #4a5568;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #38a169;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 20px rgba(15, 52, 96, 0.12);
    --shadow-lg: 0 10px 40px rgba(15, 52, 96, 0.15);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
}

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

/* Header - Profesyonel */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    will-change: transform;
}

.header-top {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 10px 0;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.header-phone, .header-email {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity var(--transition);
}

.header-phone:hover, .header-email:hover {
    opacity: 0.9;
}

.header-badge {
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.main-nav {
    padding: 18px 0;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    padding: 10px 18px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 15px;
    transition: all var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(15, 52, 96, 0.08);
    color: var(--primary);
}

.btn-nav {
    background: var(--accent) !important;
    color: white !important;
}

.btn-nav:hover {
    background: var(--accent-hover) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
}

/* Floating Contact - SVG Icons */
.floating-contact {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: var(--primary);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 52, 96, 0.25);
}

.floating-whatsapp {
    background: #25D366 !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp:hover {
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.floating-icon-svg {
    flex-shrink: 0;
}

/* Hero - Profesyonel Görsel */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-contact {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.8);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-block {
    display: block;
    text-align: center;
}

/* Services - Profesyonel Kartlar */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
    color: var(--primary);
    font-weight: 700;
}

.section-desc {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
    color: var(--text-light);
    font-size: 1.05rem;
}

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

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.65;
}

.btn-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.btn-link:hover {
    gap: 10px;
}

/* Why Us - İstatistik Görünümü */
.why-us {
    background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
    padding: 100px 0;
}

.why-us h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 56px;
    color: var(--primary);
    font-weight: 700;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.why-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: all var(--transition);
}

.why-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 14px;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.why-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary);
    font-weight: 600;
}

.why-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 20px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

.cta-section p {
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-phone {
    margin-top: 28px;
}

.phone-big {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
}

.phone-big:hover {
    text-decoration: underline;
}

/* Tez Types */
.tez-types {
    padding: 100px 0;
    background: var(--white);
}

.tez-types h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 56px;
    color: var(--primary);
    font-weight: 700;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.type-card {
    background: var(--bg);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.type-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.type-card h3 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 600;
}

.type-card p {
    color: var(--text-light);
    line-height: 1.65;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 56px 0;
}

.page-header h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
    font-weight: 700;
}

.page-desc {
    opacity: 0.95;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
    padding: 48px 0;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.trust-card {
    background: var(--primary);
    color: white;
    padding: 32px;
    border-radius: var(--radius-lg);
}

.trust-card h3 {
    margin-bottom: 20px;
}

.trust-card .phone-big {
    display: block;
    margin-bottom: 16px;
}

.about-list {
    list-style: none;
}

.about-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 64px 0;
}

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

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Form Page */
.form-section .container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
    padding: 56px 24px;
}

@media (max-width: 900px) {
    .form-section .container {
        grid-template-columns: 1fr;
    }
}

.form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.tez-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 600px) {
    .tez-form .form-row {
        grid-template-columns: 1fr;
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-group label span {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-success {
    text-align: center;
    padding: 56px 0;
}

.form-success h2 {
    color: var(--success);
    margin-bottom: 20px;
}

.form-error {
    background: #fed7d7;
    color: #c53030;
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.contact-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 36px;
    border-radius: var(--radius-lg);
}

.contact-box h3 {
    margin-bottom: 24px;
}

.contact-box .phone-big {
    display: block;
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.contact-box .btn {
    margin-bottom: 16px;
}

/* Content Page */
.content-main {
    background: var(--white);
    padding: 56px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-top: -32px;
    position: relative;
    border: 1px solid var(--border);
}

.content-main h2 {
    color: var(--primary);
    margin: 40px 0 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main h3 {
    margin: 32px 0 16px;
    font-size: 1.2rem;
}

.content-main p {
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.7;
}

.price-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 32px 0;
}

.phone-link {
    color: var(--accent);
    font-weight: 600;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: -32px;
}

.contact-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
}

.contact-card h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-card a {
    color: var(--accent);
    text-decoration: none;
}

/* Makaleler */
.makale-listesi {
    display: grid;
    gap: 28px;
}

.makale-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.makale-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.makale-card h2 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.makale-card h2 a {
    color: var(--primary);
    text-decoration: none;
}

.makale-card h2 a:hover {
    color: var(--accent);
}

.makale-tarih {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 12px 0;
}

.makale-cta {
    margin-top: 40px;
    text-align: center;
}

.makale-cta .btn {
    margin: 8px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg);
}

.faq-section h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 56px;
    color: var(--primary);
    font-weight: 700;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 32px 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.15rem;
}

.faq-item p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.7;
}

.faq-item a {
    color: var(--accent);
    font-weight: 600;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    margin-top: 100px;
}

.footer-content {
    padding: 64px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-about h3,
.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    display: block;
    padding: 6px 0;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact a {
    color: white;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white !important;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    margin-top: 16px;
    font-weight: 600;
    transition: background var(--transition);
}

.whatsapp-btn:hover {
    background: #20bd5a;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .hero {
        padding: 72px 0;
    }
    
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-text {
        display: none;
    }
}
