/* Temel Ayarlar ve Renk Paleti */
:root {
    --primary-color: #0A192F; /* Daha derin bir lacivert */
    --primary-light: #112240;
    --accent-color: #E63946; /* Daha modern bir kırmızı */
    --accent-hover: #D62828;
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth; /* Sayfa içi linklerde yumuşak kaydırma */
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* --- Header ve Navigasyon (Glassmorphism) --- */
header {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px); /* Arka planı flu yapma efekti */
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo a {
    text-decoration: none;
    color: var(--white);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
}

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

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

/* Navigasyon Alt Çizgi Efekti */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Butonlar */
.btn {
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px); /* Tıklama hissi */
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- Hero (Karşılama) Alanı --- */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.7)), url('https://images.unsplash.com/photo-1611314318355-6677461dc03b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: auto;
    padding: 0 20px;
}

.badge {
    background: rgba(255,255,255,0.1);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
    backdrop-filter: blur(5px);
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: #e2e8f0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Animasyon */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Genel Bölüm Ayarları --- */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title.left-align {
    text-align: left;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title.left-align .line {
    margin: 15px 0 0;
}

.subtitle {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* --- Hakkımızda --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: 800;
}

.stat-item span {
    font-weight: 600;
    color: var(--primary-color);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- Ürünler --- */
.products {
    background-color: var(--light-bg);
}

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

.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image-wrapper img {
    transform: scale(1.08); /* Hover durumunda fotoğrafa zoom efekti */
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 10px; /* Ok işaretini sağa itme animasyonu */
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: #cbd5e1;
    padding: 70px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-col h3 span {
    color: var(--accent-color);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info li i {
    color: var(--accent-color);
    margin-top: 5px;
}

.contact-info a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.social-links a {
    background: rgba(255,255,255,0.05);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* --- Mobil Uyumluluk (Responsive) --- */
@media(max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1; /* Mobilde resmi üste alır */
    }
    .hero h2 {
        font-size: 2.8rem;
    }
}

@media(max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .nav-links li {
        margin: 0 5px;
    }
    .hero {
        height: auto;
        padding: 150px 0 100px;
    }
    .hero h2 {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
}
