@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --primary-dark: #042c64; 
    --accent-blue: #042c64;
    --accent-hover: #021a3d; 
    --bg-light: #f8fafc;
    --text-gray: #475569;
    --card-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--primary-dark);
    line-height: 1.6;
}

/* Navbar (Menü) */
header {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.logo img {
    height: 60px; 
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero { display: flex; align-items: center; justify-content: space-between; padding: 5rem 5%; max-width: 1200px; margin: auto; gap: 4rem; }
.hero-content { flex: 1; }
.hero h2 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.1; letter-spacing: -1px; }
.hero p { font-size: 1.15rem; color: var(--text-gray); margin-bottom: 2rem; }
.hero-image { flex: 1; }
.hero-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.btn-primary { background-color: var(--accent-blue); color: white; padding: 1rem 2.5rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1.1rem; display: inline-block; transition: all 0.3s ease; box-shadow: 0 10px 15px -3px rgba(4, 44, 100, 0.3); }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-2px); }

/* Seksiyon Başlıkları */
.section-title { text-align: center; font-size: 2.2rem; font-weight: 800; margin-bottom: 2.5rem; color: var(--primary-dark); }
.section-title span { color: var(--accent-blue); }

/* ======================================================
   REEL VE HİZMETLER KOMBİNASYONU (TERS ÇEVRİLDİ VE EŞİTLENDİ)
   ====================================================== */
.services-combo-section { padding: 4rem 5%; max-width: 1100px; margin: auto; }
.services-combo-container { 
    display: grid; 
    grid-template-columns: 1fr 300px; /* Sola Hizmetler (1fr), Sağa Reel (300px) */
    gap: 2.5rem; 
    align-items: stretch; /* Her iki sütunun yüksekliğini milimetrik eşitler */
}

/* Sağ Taraf: Reel Kutusu */
.reel-side { 
    background: #ffffff; 
    padding: 1.5rem; 
    border-radius: 20px; 
    box-shadow: 0 15px 30px -10px rgba(4, 44, 100, 0.15); 
    border: 1px solid #e2e8f0; 
    text-align: center; 
    transition: transform 0.3s ease; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* İçeriği dikey olarak eşit dağıtır */
    height: 100%;
}
.reel-side:hover { transform: translateY(-5px); }
.reel-badge { display: inline-block; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 800; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 10px rgba(220, 39, 67, 0.3); }
.reel-video-wrapper { position: relative; width: 100%; padding-top: 177.77%; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 10px rgba(0,0,0,0.05); background-color: #0f172a; margin-bottom: 1rem; }
.reel-video-wrapper video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; outline: none; }

/* Sol Taraf: Hizmet Kutuları */
.services-side { 
    display: flex; 
    flex-direction: column; 
    gap: 1.2rem; 
    height: 100%; /* Sütun yüksekliğini tam kapla */
}
.service-card-hz { 
    display: flex; 
    background: var(--bg-light); 
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
    transition: transform 0.3s ease; 
    border: 1px solid transparent; 
    flex: 1; /* Tüm kutuları dikeyde esneterek alanları eşitle */
}
.service-card-hz:hover { transform: translateY(-5px); border-color: var(--accent-blue); box-shadow: 0 10px 20px -10px rgba(4, 44, 100, 0.15); }
.service-card-hz img { 
    width: 220px; 
    object-fit: cover; 
    height: 100%; /* Resimlerin uzayan kutuyla birlikte dolmasını sağlar */
} 
.service-card-hz .service-content { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; } 
.service-card-hz h3 { margin-bottom: 0.5rem; color: var(--primary-dark); font-size: 1.3rem; } 
.service-card-hz p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.5; margin: 0; }

/* Teknoloji Section */
.machines-section { padding: 5rem 5%; max-width: 1200px; margin: auto; }
.machine-row { display: flex; align-items: center; gap: 3rem; margin-bottom: 3rem; }
.machine-row:nth-child(even) { flex-direction: row-reverse; }
.machine-content { flex: 1; }
.machine-content h3 { font-size: 1.8rem; color: var(--accent-blue); margin-bottom: 1rem; }
.machine-content ul { list-style-position: inside; color: var(--text-gray); margin-top: 1rem; font-size: 0.95rem; }
.machine-content li { margin-bottom: 0.5rem; }
.machine-image { flex: 1; }
.machine-image img { width: 100%; border-radius: 16px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

/* Galeri Sayfası */
.gallery-section { padding: 4rem 5% 6rem 5%; max-width: 1200px; margin: auto; }
.gallery-category { margin-bottom: 4rem; }
.gallery-category h3 { font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 0.5rem; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.gallery-category p { color: var(--text-gray); margin-bottom: 2rem; max-width: 800px; font-size: 1.05rem; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.video-box { background: #e2e8f0; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); position: relative; border: 1px solid #cbd5e1; }
.video-box video, .video-box iframe { width: 100%; height: 100%; object-fit: cover; border: none; }

/* Uyarı Bölümü */
.warning-section { padding: 4rem 5%; background-color: #f1f5f9; border-top: 1px solid #e2e8f0; }
.warning-container { max-width: 900px; margin: auto; background: white; padding: 2.5rem; border-radius: 16px; border-left: 8px solid #f59e0b; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05); }
.warning-container h3 { color: #b45309; font-size: 1.6rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 10px; }
.warning-list { list-style: none; }
.warning-list li { margin-bottom: 1rem; position: relative; padding-left: 2rem; color: var(--primary-dark); font-size: 1rem; font-weight: 600; }
.warning-list li::before { content: "⚠️"; position: absolute; left: 0; top: 0; font-size: 1.1rem; }
.warning-list li span { display: block; font-weight: 400; color: var(--text-gray); font-size: 0.9rem; margin-top: 0.25rem; }

/* İletişim Sayfası */
.contact-section { padding: 5rem 5%; max-width: 1000px; margin: auto; }
.contact-container { background: white; padding: 3rem 2rem; border-radius: 24px; box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05); border: 1px solid #e2e8f0; text-align: center; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.contact-item { padding: 2rem 1.5rem; background: var(--bg-light); border-radius: 16px; transition: all 0.3s ease; border: 1px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact-item:hover { transform: translateY(-5px); border-color: var(--accent-blue); box-shadow: 0 10px 20px -10px rgba(4, 44, 100, 0.15); }
.contact-item h4 { font-size: 0.95rem; color: var(--text-gray); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 1px; }
.contact-item p a { font-size: 1.2rem; font-weight: 800; color: var(--primary-dark); text-decoration: none; transition: color 0.3s ease; }
.contact-item p a:hover { color: var(--accent-blue); }
.qr-image { width: 120px; height: auto; border-radius: 12px; margin-top: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.qr-image:hover { transform: scale(1.05); }

/* Yüzen Butonlar */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 1.1rem; padding: 12px 24px; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4); z-index: 1000; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 10px; transition: all 0.3s ease; white-space: nowrap; }
.whatsapp-float:hover { transform: scale(1.05); box-shadow: 0 6px 14px rgba(37, 211, 102, 0.6); }
.instagram-float { position: fixed; bottom: 90px; right: 30px; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #FFF; border-radius: 50px; text-align: center; font-size: 1.1rem; padding: 12px 24px; box-shadow: 0 4px 10px rgba(220, 39, 67, 0.4); z-index: 1000; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 10px; transition: all 0.3s ease; white-space: nowrap; }
.instagram-float:hover { transform: scale(1.05); box-shadow: 0 6px 14px rgba(220, 39, 67, 0.6); }

footer { background-color: var(--primary-dark); color: white; text-align: center; padding: 2.5rem 5%; }

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .services-combo-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .reel-side { max-width: 380px; margin: 0 auto; width: 100%; height: auto; }
    .services-side { height: auto; }
    .service-card-hz { flex-direction: column; flex: none; height: auto; }
    .service-card-hz img { width: 100%; height: 200px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background-color: #ffffff; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); padding: 0; gap: 0; z-index: 99; }
    .nav-links.active { display: flex; }
    .nav-links li { text-align: center; width: 100%; }
    .nav-links li a { display: block; padding: 1rem; border-bottom: 1px solid #f1f5f9; }
    .hero, .machine-row { flex-direction: column !important; text-align: center; gap: 2rem; }
    .machine-content ul { text-align: left; }
    .hero h2 { font-size: 2.5rem; }
    .contact-container { padding: 2rem 1rem; }
    .video-grid { grid-template-columns: 1fr; }
    .warning-container { padding: 1.5rem; }
    .whatsapp-float, .instagram-float { font-size: 0.85rem; padding: 10px 16px; right: 15px; max-width: 85vw; }
    .instagram-float { bottom: 80px; }
    .whatsapp-float { bottom: 20px; }
}

@media (max-width: 400px) {
    .whatsapp-float, .instagram-float { font-size: 0.8rem; padding: 8px 12px; right: 10px; }
    .instagram-float { bottom: 70px; }
}