/* Ana CSS dosyanıza ekleyebilir veya ayrı bir dosya olarak kullanabilirsiniz */

/* Temel ayarlar */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f7f9;
    color: #333;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.red-theme {
    /* Canlı kırmızı tonu kullanıldı */
    background: linear-gradient(to right, #ff4136, #e62e24);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Navigasyon stilleri */
.navbar { padding: 20px 0; } /* Menü barı biraz büyütüldü */
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 1.8em; font-weight: 800; color: #fff; text-decoration: none; }
.menu-toggle { display: none; font-size: 1.5em; cursor: pointer; color: #fff; }
.close-btn { display: none; position: absolute; top: 20px; right: 20px; font-size: 2em; color: #fff; cursor: pointer; z-index: 1001; transition: transform 0.3s ease; }
.close-btn:hover { transform: rotate(90deg); }
.nav-links { list-style: none; display: flex; gap: 25px; position: relative; padding: 0; margin: 0; }
.nav-item { position: relative; }
.nav-item a { 
    color: #fff; 
    text-decoration: none; 
    font-weight: 600; 
    transition: color 0.3s ease; 
    display: block; 
    padding: 10px 0; 
}
.nav-item a:hover { color: #f8f8f8; }

/* Dropdown menü stilleri ve animasyonları */
.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e62e24; /* Menü arka planı */
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
    padding: 0;
    list-style: none;
    
    /* Animasyon için başlangıç durumu */
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, visibility 0.4s ease-out;
}

.nav-item.dropdown:hover .dropdown-menu {
    /* Üzerine gelince animasyonlu açılma */
    max-height: 300px; /* Menü içeriğine göre ayarlanabilir */
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: #d82c22;
    color: #fff;
}

/* Hakkımızda Sayfası Stilleri */
.about-us-page {
    padding-top: 0;
    padding-bottom: 50px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/1920/1080?random=1') center/cover no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5em;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5em;
    font-weight: 600;
    margin-top: 15px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Scroll Animation (JS ile tetiklenir) */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Yeni animasyon gecikmeleri */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1s; }
.delay-6 { transition-delay: 1.2s; }
.delay-7 { transition-delay: 1.4s; }


/* Ortak Bölüm Stilleri */
.section-title {
    font-size: 2.5em;
    font-weight: 800;
    color: #34495e;
    text-align: center;
    margin-bottom: 50px;
    padding-top: 80px;
}

/* Hizmetler Bölümü */
.services-section {
    padding-bottom: 50px;
}

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

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #ff4136; /* Daha canlı kırmızı kullanıldı */
}

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

.service-card .icon {
    font-size: 3em;
    color: #ff4136; /* Daha canlı kırmızı kullanıldı */
    margin-bottom: 20px;
    display: block;
}

.service-card h4 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-top: 0;
}

.service-card p {
    font-size: 1em;
    color: #666;
}

/* Hikayemiz Bölümü */
.story-section {
    padding-bottom: 80px;
}

.story-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.story-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 20px;
}

.story-content p:last-child {
    margin-bottom: 0;
}

/* Footer (Mevcut stillerinizle aynıdır) */
.footer { padding: 50px 0; color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-section h3 { font-size: 1.4em; font-weight: 700; margin-bottom: 20px; }
.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li a { color: #fff; text-decoration: none; transition: color 0.3s; }
.footer-section ul li a:hover { color: #f1f1f1; }
.contact-info p { margin-bottom: 10px; }
.social-links a { color: #fff; font-size: 1.2em; margin-right: 15px; transition: color 0.3s; }
.social-links a:hover { color: #f1f1f1; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.9em; }

/* Mobil uyumluluk */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.5em; }
    .hero-content p { font-size: 1.2em; }
    .section-title { font-size: 2em; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links { position: fixed; top: 0; right: -100%; flex-direction: column; justify-content: flex-start; align-items: center; background-color: #e62e24; width: 70%; max-width: 300px; height: 100vh; padding-top: 80px; transition: right 0.4s ease-in-out; z-index: 999; box-shadow: -5px 0 15px rgba(0,0,0,0.2); }
    .nav-links.active { right: 0; }
    .close-btn { display: block; }
    .nav-item { width: 100%; text-align: center; padding: 10px 0; }
    
    /* Mobil dropdown stilleri */
    .dropdown-menu {
        position: static;
        transform: none;
        background-color: transparent;
        box-shadow: none;
        margin-top: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        opacity: 1; /* Mobil görünümde başlangıçta görünmezlik kaldırıldı */
        visibility: visible;
    }
    .nav-item.dropdown:hover .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu li a { padding: 12px 0; }
}