/* --- TEMEL AYARLAR VE DEĞİŞKENLER --- */
:root {
    --primary-color: #4FC3F7; /* Açık Mavi */
    --secondary-color: #81D4FA; /* Daha Açık Mavi */
    --text-dark: #1A2B48; /* Koyu Mavi Yazı */
    --text-light: #5A6B89; /* Açık Gri Yazı */
    --bg-light: #FFFFFF;
    --bg-accent: #F5FAFF; /* Çok Açık Mavi Arka Plan */
    --border-color: #E0E7FF;
    --shadow: 0px 10px 30px rgba(79, 195, 247, 0.2);
    --font-main: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- ARKA PLAN VİDEOSU --- */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER VE NAVİGASYON --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
    background: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li { margin-left: 35px; }
.main-nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}
.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.4s ease;
}
.main-nav ul li a:hover { color: var(--primary-color); }
.main-nav ul li a:hover::after { width: 100%; }
.menu-btn { display: none; background: none; border: none; color: var(--text-dark); font-size: 1.5rem; cursor: pointer; z-index: 1001; }

/* --- MOBİL NAVİGASYON --- */
.mobile-nav {
    display: flex;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    z-index: 999;
    flex-direction: column; justify-content: center; align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.mobile-nav.active { transform: translateY(0); }
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav ul li { margin: 20px 0; text-align: center; }
.mobile-nav ul li a { color: var(--text-dark); text-decoration: none; font-size: 2rem; font-weight: 600; }

/* --- BUTONLAR VE RIPPLE EFEKTİ --- */
.btn {
    display: inline-block; padding: 12px 35px; border-radius: 50px;
    text-decoration: none; font-weight: 600; transition: all 0.3s ease;
    border: 2px solid transparent; cursor: pointer; position: relative; overflow: hidden;
}
.btn-primary { background-color: var(--primary-color); color: var(--bg-light); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-secondary { background-color: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--bg-light); }

.ripple {
    position: absolute; border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(0); animation: ripple-animation 0.7s linear;
}
@keyframes ripple-animation {
    to { transform: scale(4); opacity: 0; }
}

/* --- BÖLÜMLER VE BAŞLIKLAR --- */
.section-padding { padding: 100px 0; }
.bg-accent { background-color: var(--bg-accent); }
.section-title {
    font-size: 2.8rem; text-align: center;
    margin-bottom: 60px; font-weight: 700;
    color: var(--text-dark);
}

/* --- HERO BÖLÜMÜ --- */
.hero-section {
    height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
    padding-top: 80px; /* Header boşluğu */
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; font-weight: 700; }
.hero-content p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 30px; color: var(--text-light); }

/* --- DALGA AYRAÇ (SVG) --- */
.wave-divider {
    overflow: hidden; line-height: 0;
}
.wave-divider svg {
    position: relative; display: block;
    width: calc(100% + 1.3px); height: 120px; /* Yükseklik ayarlanabilir */
}
.wave-divider .shape-fill { fill: var(--bg-accent); }
.wave-divider.wave-reverse { transform: rotate(180deg); }
#products { padding-top: 0; }
#features.section-padding { padding-top: 150px; }

/* --- ÜRÜNLER BÖLÜMÜ --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.product-card {
    background: var(--bg-light); border: 1px solid var(--border-color);
    border-radius: 15px; padding: 30px; text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.product-card img { max-width: 100%; height: 160px; object-fit: contain; margin-bottom: 20px; }
.product-card h3 { color: var(--text-dark); margin-bottom: 10px; font-size: 1.4rem; }
.product-card p { color: var(--text-light); font-size: 0.95rem; }
.product-card .price { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); margin: 20px 0; }

/* --- AVANTAJLAR BÖLÜMÜ --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.feature-item { text-align: center; }
.feature-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background-color: var(--secondary-color); color: white;
    display: inline-flex; justify-content: center; align-items: center;
    font-size: 2.5rem; margin-bottom: 20px;
}
.feature-item h3 { font-size: 1.4rem; margin-bottom: 10px; }
.feature-item p { color: var(--text-light); }

/* --- SİPARİŞ FORMU --- */
.order-form { max-width: 600px; margin: 0 auto; }
.form-intro { text-align: center; color: var(--text-light); margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
    width: 100%; background: var(--bg-light); border: 1px solid var(--border-color);
    color: var(--text-dark); font-size: 1rem; padding: 15px; border-radius: 10px;
    font-family: var(--font-main); transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #aaa; }
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.2);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.order-form .btn { width: 100%; font-size: 1.1rem; padding: 15px 30px; }

/* --- FOOTER --- */
.main-footer { padding: 30px 0; text-align: center; background-color: var(--bg-accent); }
.social-links a { color: var(--text-light); font-size: 1.5rem; margin: 0 10px; transition: color 0.3s ease; }
.social-links a:hover { color: var(--primary-color); }

/* --- ANİMASYONLAR --- */
.fade-in {
    animation: fadeInAnimation 1s ease-in-out forwards;
}
@keyframes fadeInAnimation {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content p { animation-delay: 0.2s; }
.hero-content .btn { animation-delay: 0.4s; }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* --- MOBİL UYUMLULUK --- */
@media(max-width: 768px) {
    .main-nav { display: none; }
    .menu-btn { display: block; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .section-title { font-size: 2rem; }
    .section-padding { padding: 60px 0; }
    #features.section-padding { padding-top: 100px; }
}