/* Custom utilities complementing TailwindCSS */
:root {
    color-scheme: light;
    /* Ana Renkler */
    --primary-color: #212529;
    --accent-color: #f71515;
    --accent-hover: #d40e0e;
    --text-on-dark: #ffffff;
    --text-on-light: #212529;
    --bg-light: #ffffff;
    --bg-dark: #212529;
    --border-color: #e5e7eb;
    --text-muted: #6b7280;
    
    /* Boyutlar */
    --header-height: 4rem;
    --container-padding: 1rem;
    --border-radius: 0.375rem;
    --transition: all 0.3s ease;
}

/* Temel Stiller */
body {
    background-color: var(--bg-light);
    color: var(--text-on-light);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
}

/* Hero Bölümü */
.hero-gradient {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 4rem 0;
}

/* Başlıklar */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 3rem;
    height: 0.25rem;
    background-color: var(--accent-color);
    border-radius: 0.125rem;
}

/* Kartlar */
.card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Butonlar */
.cta-primary {
    background: var(--accent-color);
    color: var(--text-on-dark);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.cta-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Navigasyon Linkleri */
.nav-link {
    position: relative;
    color: var(--text-on-light);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Form Elemanları */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    color: var(--text-on-light);
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(247, 21, 21, 0.1);
}

/* Yardımcı Sınıflar */
.text-accent {
    color: var(--accent-color);
}

.bg-accent {
    background-color: var(--accent-color);
    color: var(--text-on-dark);
}

.hover\:bg-accent:hover {
    background-color: var(--accent-hover);
}

.border-accent {
    border-color: var(--accent-color);
}

/* Responsive Düzen */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-gradient {
        padding: 3rem 0;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(1rem); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
    opacity: 0;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.feature-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.75rem;
}

.map-iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 1rem;
}
