/* Temel CSS - Tailwind CDN yüklenmezse kullanılacak */
:root {
    --primary: #2f4153;
    --secondary: #a78847;
    --dark-bg: #1f2937;
    --dark-card: #374151;
    --dark-text: #e5e7eb;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--gray-50);
    transition: background-color 0.3s, color 0.3s;
}

/* Dark Mode */
body.dark {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 50;
    transition: background-color 0.3s;
}

.dark nav {
    background-color: var(--dark-card);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-link {
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

.dark .nav-link {
    color: var(--gray-200);
}

.nav-link:hover {
    color: var(--primary);
    text-decoration: none;
}

/* Mobile Menu */
#mobileMenu {
    background-color: white;
    transition: background-color 0.3s;
}

.dark #mobileMenu {
    background-color: var(--dark-card);
}

/* Buttons */
.bg-primary {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    display: inline-block;
    transition: background-color 0.2s;
}

.bg-primary:hover {
    background-color: var(--secondary);
    text-decoration: none;
}

button {
    cursor: pointer;
}

/* Sections */
section {
    padding: 4rem 0;
}

section:first-of-type {
    padding-top: 8rem;
}

/* Cards */
.bg-white {
    background-color: white;
}

.dark .bg-white {
    background-color: var(--dark-card);
}

.shadow-md {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rounded-lg {
    border-radius: 0.5rem;
}

.p-6 {
    padding: 1.5rem;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--gray-700);
}

.dark label {
    color: var(--gray-300);
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    background-color: var(--gray-50);
    color: var(--gray-900);
    transition: border-color 0.2s, background-color 0.2s;
}

.dark input[type="text"],
.dark input[type="email"],
.dark textarea {
    border-color: var(--gray-600);
    background-color: var(--gray-700);
    color: white;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-xl {
    max-width: 36rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

/* Brand Text - single color (no gradient) */
.gradient-text {
    color: var(--secondary);
}

/* Text Colors */
.text-gray-600 {
    color: var(--gray-600);
}

.dark .text-gray-600 {
    color: var(--gray-400);
}

.text-gray-700 {
    color: var(--gray-700);
}

.dark .text-gray-700 {
    color: var(--gray-300);
}

/* Footer */
footer {
    background-color: var(--gray-100);
    padding: 2rem 0;
    text-align: center;
    color: var(--gray-600);
}

.dark footer {
    background-color: var(--gray-800);
    color: var(--gray-400);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .md\:hidden {
        display: none;
    }
}

/* Animations */
[data-aos] {
    transition: opacity 0.8s, transform 0.8s;
}

/* Card Hover Effect */
.card-hover {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
/* Fallback utilities for header logo (in case Tailwind CDN fails) */
.site-logo {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
    border-radius: 0.375rem;
    object-fit: cover;
    vertical-align: middle;
}

/* Tailwind-like minimal utilities */
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.mr-2 { margin-right: 0.5rem; }
.rounded { border-radius: 0.25rem; }
/* Inline SVG and utility fallbacks (in case Tailwind CDN fails) */
.fill-current { fill: currentColor; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }

/* Brand single-color text helper */
.text-secondary { color: var(--secondary); }

/* Hover utilities (fallback) */
.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-secondary:hover { color: var(--secondary); }