/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-font: 'Inter', sans-serif;
    --heading-font: 'Playfair Display', serif;
    --primary-color: #000;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e5e5e5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--primary-font);
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Typography */
h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

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

.logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--light-gray), white);
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #333;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: white;
}

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

.service-card {
    padding: 2rem;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.icon-container {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--light-gray);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--primary-font);
    transition: border-color 0.3s ease;
}

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

/* Advanced Contact Section */
.contact-flex {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1 1 300px;
    background: var(--light-gray);
    border-radius: 10px;
    padding: 2rem 2rem 1.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
}

.contact-desc {
    color: #666;
    margin-bottom: 1.5rem;
}

.contact-list {
    list-style: none;
    margin-bottom: 1.5rem;
}
.contact-list li {
    margin-bottom: 0.7rem;
    font-size: 1rem;
}
.contact-list a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}
.contact-list a:hover {
    color: #0077b5;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-link {
    color: #888;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, color 0.2s;
    font-size: 1.2rem;
}
.social-link:hover {
    background: #0077b5;
    color: #fff;
}

.contact-form-wrapper {
    flex: 2 1 400px;
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.footer p {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Sticky Header Shadow */
.navbar {
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}

/* Hero Arka Plan Deseni */
.hero {
    position: relative;
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(135deg, #f5f5f5 0 2px, transparent 2px 40px);
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}
.hero .container {
    position: relative;
    z-index: 1;
}

/* Service Card Animation */
.animated-card {
    transition: transform 0.4s cubic-bezier(.4,2,.3,1), box-shadow 0.3s;
    will-change: transform, box-shadow;
}
.animated-card:hover {
    transform: translateY(-12px) scale(1.03) rotateZ(-1deg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

/* Footer Ekstra Bilgi */
.footer-extra {
    margin-top: 1.5rem;
    color: #bbb;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Scroll to Top Butonu */
#scrollToTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, background 0.2s;
    z-index: 999;
}
#scrollToTop.show {
    opacity: 1;
    pointer-events: auto;
}
#scrollToTop:hover {
    background: #333;
}

/* General Modern Touches */
.btn-primary {
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    letter-spacing: 0.5px;
}

input, textarea {
    background: #fafafa;
}

input:focus, textarea:focus {
    background: #fff;
    border-color: #0077b5;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

@media (max-width: 900px) {
    .contact-flex {
        flex-direction: column;
        gap: 2rem;
    }
    .contact-info, .contact-form-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .contact-info, .contact-form-wrapper {
        padding: 1rem;
    }
    #scrollToTop {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Mobile Menu */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
} 