:root {
    --primary-color: #2D3748;
    --secondary-color: #4A5568;
    --accent-color: #DC2626;
    --accent-light: #EBF8FF;
    --success-color: #38A169;
    --warning-color: #DD6B20;
    --danger-color: #E53E3E;
    --text-primary: #2D3748;
    --text-secondary: #718096;
    --text-light: #A0AEC0;
    --background-light: #F7FAFC;
    --background-white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--background-light);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.desktop-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.desktop-nav .dropdown {
    position: relative;
}

.desktop-nav .dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--accent-light);
    color: var(--accent-color);
}

.dropdown-menu i {
    width: 20px;
    color: var(--accent-color);
}

.desktop-nav > li > a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.desktop-nav > li > a:hover {
    color: var(--accent-color);
}

.desktop-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.desktop-nav > li > a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    background: #B91C1C;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-nav.active a {
    transform: translateY(0);
    opacity: 1;
}


/* Hero Section */
.hero {
    height: 90vh; /* Mobilde yüksekliği korudum */
    background: url('img/ofisler/sanalofis.jpeg') no-repeat center center/cover; /* Mobil için fallback görseli zaten var, güçlendiriyoruz */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    margin-top: 70px; /* Mobilde header yüksekliğine uygun */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Videonun kapsayıcı şekilde sığmasını sağlar */
    z-index: 0; /* Videonun arka planda kalmasını sağlar */
    opacity: 0.9; /* Hafif opaklık, içerik öne çıksın */
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1; /* İçeriğin videodan önde olması için */
    position: relative;
    background: rgba(0, 0, 0, 0.3); /* Hafif koyu overlay, metin okunurluğunu artırır */
    border-radius: 12px; /* Hafif yuvarlatılmış kenarlar */
}

/* Responsive için video optimizasyonu */
@media (max-width: 768px) {
   
    .hero {
        background: url('img/fallback-hero.jpg') no-repeat center center/cover; /* Mobil için fallback görsel */
    }
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.hero h1 span.mefa,
.hero h1 span.office {
    display: inline-flex;
}

.hero h1 .letter {
    display: inline-block;
    opacity: 0;
    transform: translateX(100px);
}

.hero h1 .mefa .letter {
     font-family: 'Pacifico', cursive; /* OFFICE için Pacifico fontu */
    color: var(--accent-color); /* MEFA kırmızı */
}

.hero h1 .office .letter {
    font-family: 'Pacifico', cursive; /* OFFICE için Pacifico fontu */
    color: white; /* OFFICE siyah */
}

.hero p {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateX(-100px);
}

/* Animasyonlar */
.hero-content.active .letter {
    animation: none; /* JS yönetiyor, CSS animasyonunu kapat */
    transition: opacity 1s ease, transform 1s ease; /* Gölge geçişi yok */
}

.hero-content.active p {
    color: white;
    animation: none; /* JS yönetiyor, CSS animasyonunu kapat */
    transition: opacity 1s ease, transform 1s ease; /* Gölge geçişi yok */
}

.hero h1 .letter {
    color: var(--text-primary); /* Siyah renk korunsun */
    text-shadow: none; /* Gölgeyi kaldır */
}

.hero-content.scrolling p {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero h1 .mefa .letter:nth-child(odd),
.hero h1 .office .letter:nth-child(even) {
    animation: none; /* Eski glow animasyonu kaldır */
    text-shadow: none; /* Gölgeyi kaldır */
    font-family: 'Pacifico', cursive; /* Yeni font */
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px rgba(220, 38, 38, 0.5);
    }
    100% {
        text-shadow: 0 0 20px rgba(220, 38, 38, 0.8), 0 0 30px rgba(220, 38, 38, 0.5);
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--background-white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    margin-top: 100px;
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #DC2626;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

/* Hizmet kartlarının header kısmını güncelle */
.service-header {
    position: relative;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    background: var(--primary-color); /* Varsayılan koyu gri arka plan */
}

/* Görsel ve overlay için */
.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Hafif koyu overlay */
    z-index: 1;
}

/* Hizmet bazlı arka plan görselleri */
.service-card[data-service="hazir-ofis"] .service-header {
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=800&h=500&fit=crop') no-repeat center center;
    background-size: cover;
}

.service-card[data-service="sanal-ofis"] .service-header {
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=800&h=500&fit=crop') no-repeat center center;
    background-size: cover;
}

/* Toplantı salonu görselini güncelle */
.service-card[data-service="toplanti-salonu"] .service-header {
    background: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=800&h=500&fit=crop') no-repeat center center;
    background-size: cover;
}

/* Görsel yüklenmezse varsayılan arka plan */
.service-card[data-service="toplanti-salonu"] .service-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color); /* Görsel yüklenmezse koyu gri */
    z-index: 0;
    opacity: 0.8;
}

/* Overlay ve içerik için z-index */
.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Hafif koyu overlay */
    z-index: 1;
}

.service-header i,
.service-header h3 {
    z-index: 2; /* Overlay üstünde görünsün */
}

/* İkon ve başlık için z-index */
.service-header i,
.service-header h3 {
    z-index: 2; /* Overlay üstünde görünsün */
}

/* İkon rengini kırmızı yap */
.service-header i {
    color: var(--accent-color); /* #DC2626 */
}

/* Nokta desen animasyonunu kaldır (artık görsel kullanıyoruz) */
.service-header::after {
    display: none; /* Eski ::before desenini kaldır */
}

/* Hover efekti için hafif zoom */
.service-card:hover .service-header {
    transform: scale(1.05); /* Hafif büyütme */
    transition: transform 0.4s ease;
}

@keyframes floatPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.service-header i {
    font-size: 4rem;
    margin-bottom: 1rem;
    z-index: 1;
    position: relative;
}

.service-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    z-index: 1;
    position: relative;
}

.service-content {
    padding: 2.5rem;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
}

.service-features i {
    color: var(--success-color);
    font-size: 0.9rem;
    width: 16px;
}

.service-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-item {
    background: var(--background-light);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.service-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.btn-primary:hover {
    background: #B91C1C;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: white;
}

/* Office List Page Styles */
.office-list {
    padding: 100px 0 2rem 0;
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
}

.office-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.office-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.office-image {
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.office-info {
    padding: 1.5rem;
}

.office-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.office-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.office-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detail-item i {
    width: 16px;
    color: var(--accent-color);
}

/* Office List Page Styles */
.office-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.price-amount {
    font-size: 1.25rem; /* Font boyutunu biraz küçülttüm, uzun metin için */
    font-weight: 600; /* Daha hafif bir ağırlık, okunabilirlik için */
    color: var(--accent-color);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Office Detail Page Styles */
.price-box {
    background: var(--accent-light);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.price-box .price {
    font-size: 1.5rem; /* Font boyutunu küçülttüm, uzun metin için */
    font-weight: 600; /* Daha hafif ağırlık */
    color: var(--accent-color);
}

.price-box .period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Office Detail Page Styles */
.office-detail {
    padding: 100px 0 2rem 0;
}

.office-hero {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.office-gallery {
    height: 600px; /* Yüksekliği 400px'den 600px'e çıkardım, daha büyük ve etkileyici görünecek */
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0; /* Yuvarlak kenarları korudum */
}

/* Galeri navigasyonunu biraz daha optimize ettim, büyük görselde dengeli dursun */
.gallery-nav {
    position: absolute;
    bottom: 2rem; /* Daha büyük alanda daha iyi durması için alta yaklaştırdım */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem; /* Dot'lar arası boşluğu artırdım */
    padding: 0 100px; /* Oklar için daha geniş alan */
    z-index: 2;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 3;
}

.gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow.left {
    left: 10px;
}

.gallery-arrow.right {
    right: 10px;
}

.gallery-arrow i {
    font-size: 1.2rem;
}

.office-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Görselin ortalanmasını sağladım */
    transition: transform 0.5s ease; /* Galeri geçişlerinde yumuşak efekt */
}

.gallery-dot {
    width: 16px; /* Dot'ları biraz büyüttüm, daha tıklanabilir */
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7); /* Hafif opaklık artırdım */
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: white;
}

.detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.main-info {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.sidebar-info {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.detail-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.detail-tabs {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab-buttons {
    display: flex;
    gap: 2rem;
}

.tab-button {
    padding: 1rem 0;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-button.active {
    color: var(--accent-color);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.2rem;
    width: 20px;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--background-light);
    border-radius: 8px;
}

.contact-item i {
    color: var(--accent-color);
    width: 20px;
}

.price-box {
    background: var(--accent-light);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.price-box .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

.price-box .period {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--background-white);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--background-white);
}

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

.contact-info h3,
.contact-map h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info .contact-item {
    background: var(--background-light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info .contact-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 20px;
}

.contact-map {
    position: relative;
}

#map {
    width: 100%;
    height: 400px;
    background: var(--background-light);
    border-radius: 12px;
}

.map-iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-content form {
    padding: 2rem;
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

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

.form-group label span.required {
    color: var(--danger-color);
}

/* Admin Panel Styles */
.admin-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.admin-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.admin-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.admin-body {
    padding: 2rem;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-tab {
    padding: 1rem 0;
    border: none;
    background: none;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.admin-tab.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.admin-form {
    display: grid;
    gap: 1.5rem;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.office-list-admin,
.request-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.office-item-admin,
.request-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.office-thumbnail {
    width: 80px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.office-info-admin,
.request-info {
    flex: 1;
}

.office-info-admin h4,
.request-info h4 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.office-info-admin p,
.request-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.office-actions,
.request-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-edit,
.btn-delete {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.btn-edit:hover {
    background: #B91C1C;
}

.btn-delete:hover {
    background: #C53030;
}

/* Footer */

.footer-copyright a {
    text-decoration: none; /* Mavi alt çizgiyi kaldırır */
    color: inherit; /* Varsayılan mavi rengi kaldırır, üst elementin rengini alır */
}
.footer {
    background: #1A202C;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo .logo {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #A0AEC0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #B91C1C;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section ul li a i {
    width: 16px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

.furkatech-logo {
    height: 20px;
}

.footer-copyright .furkatech {
    color: #fff;
    font-weight: 700;
}

.footer-copyright .tecnology {
    color: #00fefb;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
    .detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .sidebar-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .nav-container {
        padding: 1rem;
    }
    .hero {
        height: 60vh;
        margin-top: 70px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .office-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .admin-content {
        width: 95%;
        max-height: 95vh;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .hero h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .hero p {
        font-size: clamp(1rem, 2vw, 1.5rem);
    }
    .service-card,
    .office-card {
        margin: 0 0.5rem;
    }
    .tab-buttons {
        gap: 1rem;
    }
    .tab-button {
        font-size: 0.9rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hide {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: var(--danger-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B91C1C;
}

/* Call Button */
.call-button {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.call-button:hover {
    transform: scale(1.1);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--background-white);
}

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

.about-vision,
.about-mission,
.about-values {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.about-vision h3,
.about-mission h3,
.about-values h3 {
    font-size: 1.4rem;
    color: #DC2626;
    margin-bottom: 1rem;
}

.about-values ul {
    list-style: none;
    padding-left: 0;
}

.about-values li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.about-values li::before {
    content: '\f058'; /* FontAwesome check icon */
    font-family: "Font Awesome 6 Free";
    color: var(--success-color);
    font-weight: 900;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow);
}

.logo-image {
    height: 60px; /* Navbar için logo yüksekliği */
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-logo .logo-image {
    height: 100px; /* Footer için biraz daha büyük */
}

.footer-logo p {
    color: #A0AEC0;
    line-height: 1.8;
    max-width: 400px;
    font-size: 1rem;
    text-align: center;
}

.contact-item a.contact-link {
    color: black !important; /* Siyah renk, kesin uygular */
    text-decoration: none; /* Alt çizgi yok */
    transition: color 0.3s ease;
}

.contact-item a.contact-link:hover {
    color: var(--accent-color) !important; /* Hover'da kırmızı */
}

