/* ============================================
   OpenMesa Danışmanlık - Ana Stil Dosyası
   ============================================ */

:root {
    --primary: #1a3a52;
    --primary-dark: #0f2438;
    --accent: #c89b3c;
    --accent-light: #e0b85c;
    --text: #2c2c2c;
    --text-light: #5a5a5a;
    --bg: #fafaf7;
    --bg-alt: #f0ede5;
    --white: #ffffff;
    --border: #e5e0d3;
    --success: #2d6a4f;
    --shadow: 0 2px 20px rgba(26, 58, 82, 0.08);
    --shadow-lg: 0 10px 40px rgba(26, 58, 82, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Serif Pro', 'Georgia', serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    color: var(--primary);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 0.8em;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p {
    margin-bottom: 1.2em;
    color: var(--text-light);
}

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

a:hover {
    color: var(--accent);
}

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

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

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

/* ============================================
   Header & Navigation
   ============================================ */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
}

.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-nav a {
    color: var(--text);
    font-family: 'Source Serif Pro', serif;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

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

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
    padding: 100px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 155, 60, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 40px;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: 'Source Serif Pro', serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

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

/* ============================================
   Sections
   ============================================ */

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-eyebrow {
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

/* Services Grid */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-alt);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* About Section */

.about-section {
    background: var(--bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-image {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 8px;
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(200, 155, 60, 0.2), transparent);
}

/* Process Section */

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step p {
    font-size: 0.95rem;
}

/* CTA Section */

.cta-section {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 80px 24px;
}

.cta-section h2,
.cta-section .section-eyebrow {
    color: var(--white);
}

.cta-section .section-eyebrow {
    color: var(--accent-light);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
}

.cta-section .btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.cta-section .btn-primary:hover {
    background: var(--accent-light);
}

/* ============================================
   Forms
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

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

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-alt);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.info-content strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
    font-family: 'Playfair Display', serif;
}

.info-content {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

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

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s ease;
}

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

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.form-checkbox input {
    width: auto;
    margin-top: 4px;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
    font-weight: 400;
}

.form-message {
    padding: 16px;
    border-radius: 4px;
    margin-top: 16px;
    display: none;
}

.form-message.success {
    background: #d4f1de;
    color: var(--success);
    border: 1px solid var(--success);
    display: block;
}

.form-message.error {
    background: #fde8e8;
    color: #c53030;
    border: 1px solid #c53030;
    display: block;
}

/* ============================================
   Legal/Content Pages
   ============================================ */

.page-header {
    background: var(--bg-alt);
    padding: 80px 24px 60px;
    text-align: center;
}

.page-header .section-eyebrow {
    color: var(--accent);
}

.content-page {
    padding: 60px 0 80px;
}

.content-page h2 {
    margin-top: 40px;
    font-size: 1.6rem;
}

.content-page h3 {
    margin-top: 30px;
    font-size: 1.25rem;
}

.content-page ul,
.content-page ol {
    margin-left: 24px;
    margin-bottom: 1.2em;
    color: var(--text-light);
}

.content-page li {
    margin-bottom: 8px;
}

.content-page strong {
    color: var(--primary);
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

/* Team Cards */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    text-align: center;
    background: var(--white);
    padding: 32px 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.team-role {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.team-card p {
    font-size: 0.9rem;
}

/* FAQ */

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-toggle {
    color: var(--accent);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 0;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 24px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-col h4 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

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

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

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .main-nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        padding: 60px 24px 50px;
    }

    section {
        padding: 60px 0;
    }
}

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

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeUp 0.6s ease forwards;
}

.hero-tag { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-buttons { animation-delay: 0.4s; }
