/* ==========================================================================
   1. RESET & GENEL AYARLAR (Modern Tipografi ve CSS Değişkenleri)
   ========================================================================== */
:root {
    --primary-color: #0d2c54;   /* Broşürdeki Derin Lacivert */
    --secondary-color: #0077b6; /* Broşürdeki Canlı Mavi */
    --light-bg: #f8f9fa;        /* Soft Gri Arka Plan */
    --white: #ffffff;
    --text-dark: #2b2d42;
    --text-light: #6c757d;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* JS yedekli pürüzsüz kaydırma */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* ==========================================================================
   2. HEADER & NAVİGASYON (Sabit ve Şık Menü)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 10px 0;
    background: var(--primary-color);
}

header.scrolled .logo-text, 
header.scrolled .nav-links a {
    color: var(--white);
}

header.scrolled .slogan {
    color: #cbd5e1;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
    line-height: 1;
}

.slogan {
    font-size: 10px;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ==========================================================================
   3. HERO SECTION (Giriş Karşılama Alanı)
   ========================================================================== */
#hero {
    padding: 180px 0 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #e6f0fa 100%);
    overflow: hidden;
}

.flex-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 800;
}

.subtitle {
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 25px;
}

.divider {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--primary-color);
    margin-bottom: 35px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(13, 44, 84, 0.2);
    transition: var(--transition-smooth);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 119, 182, 0.3);
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite; /* Sıra dışı havada durma efekti */
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   4. HAKKIMIZDA & DEĞERLER (İkon Kartları)
   ========================================================================== */
#hakkimizda {
    padding: 100px 0;
    background: var(--white);
}

h2 {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    font-weight: 800;
}

#hakkimizda p {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
    color: var(--text-light);
    font-size: 17px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 100%);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.value-item {
    background: var(--light-bg);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    transition: var(--transition-smooth);
}

.value-item:hover {
    transform: translateY(-10px);
    background: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

.value-item h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.value-item:hover h3 {
    color: var(--white);
}

/* ==========================================================================
   5. BAYRAM TATİLİ VURGUSU (Broşürdeki Özel Alan)
   ========================================================================== */
#announcement {
    padding: 60px 0;
    background: linear-gradient(rgba(13, 44, 84, 0.9), rgba(13, 44, 84, 0.9)), url('path/to/bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.promo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
}

.promo-circle {
    width: 140px;
    height: 140px;
    background: var(--white);
    border: 5px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    margin-bottom: 25px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite; /* Dikkat çekici nabız efekti */
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 119, 182, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(0, 119, 182, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 119, 182, 0); }
}

.promo-date { font-size: 28px; font-weight: 800; line-height: 1; }
.promo-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; margin-top: 5px;}
.promo-text { font-size: 20px; font-weight: 700; margin-bottom: 25px; letter-spacing: 0.5px; }

.promo-button {
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.promo-button:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ==========================================================================
   6. HİZMET BÖLÜMLERİ (Sıra Dışı Değişimli Grid Düzeni)
   ========================================================================== */
#ev-temizligi, #ofis-temizligi, #hastane-temizligi, #otel-temizligi {
    padding: 100px 0;
}

#ofis-temizligi, #otel-temizligi {
    background: var(--light-bg);
}

.flex-service {
    display: flex;
    align-items: center;
    gap: 60px;
}

.flex-service.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    position: relative;
}

.service-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
}

.service-image::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
    z-index: -1;
    transition: var(--transition-smooth);
}

.flex-service:hover .service-image img {
    transform: scale(1.03);
}

.flex-service:hover .service-image::after {
    top: 15px;
    left: 15px;
}

.service-content {
    flex: 1;
}

.service-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.service-content p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 30px;
}

.service-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
    transition: var(--transition-smooth);
}

.service-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    padding-left: 5px;
}

/* ==========================================================================
   7. SİTE YÖNETİMİ & İLETİŞİM (Kurumsal Formlar)
   ========================================================================== */
#site-apartman-yonetimi {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--white);
}

#site-apartman-yonetimi h2 { color: var(--white); }
#site-apartman-yonetimi p { color: #cbd5e1; margin-bottom: 40px;}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.service-item {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition-smooth);
}

.service-item:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.05);
}

#iletisim {
    padding: 100px 0;
    background: var(--light-bg);
}

.flex-contact {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 { text-align: left; margin-bottom: 30px; }
.contact-info p { margin-bottom: 15px; font-size: 16px; font-weight: 500; }

.contact-form-wrapper {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form-wrapper h3 { margin-bottom: 20px; color: var(--primary-color); }

form input, form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    transition: var(--transition-smooth);
}

form input:focus, form textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 119, 182, 0.1);
}

form textarea { height: 120px; resize: none; }

form button {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    border: none;
    color: var(--white);
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

form button:hover { background: var(--primary-color); }

/* ==========================================================================
   8. FOOTER & JAVASCRIPT ANIMASYON HAZIRLIK SINIFLARI
   ========================================================================== */
footer {
    background: #061527;
    color: #cbd5e1;
    padding: 40px 0;
    font-size: 14px;
}

.slogan-footer { font-style: italic; margin-top: 10px; color: var(--secondary-color); font-weight: 600;}

/* JS Scroll Animasyon Sınıfları */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Mobil Uyum Altyapısı */
@media (max-width: 768px) {
    .flex-hero, .flex-service, .flex-service.reverse, .flex-contact {
        flex-direction: column;
        text-align: center;
    }
    .service-content h2, .contact-info h2 { text-align: center; }
    .nav-links { display: none; } /* Sade tasarım için mobilde gizleme basiti */
}