/* File: styles.css */

/* Genel Reset ve Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1b1b1b;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff4081;
}

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

.nav-links li a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #ff4081;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/cagtay.jpeg') center/cover no-repeat;
    color: #fff;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Modern profesyonel buton efekti */
.btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to bottom, rgba(40,40,40,0.9), rgba(255,64,129,0.8));
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* Hover efekti */
.btn:hover {
    background: linear-gradient(to bottom, rgba(50,50,50,0.95), rgba(255,64,129,1));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.7);
}


/* Ürünler Bölümü */
.products {
    padding: 4rem 2rem;
    text-align: center;
}

.products h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ff4081;
}

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

/* Ürün kartları */
.product-card {
    position: relative;
    background-color: #1a1a1a; /* Kartın koyu arka planı */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.7);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 300px; /* Kart boyutu */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Hover efekti */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px #8a0303;
}

/* Resim ortada küçük kare */
.product-card img {
    width: 150px;        /* Küçük kare boyutu */
    height: 150px;       /* Kare şeklinde */
    object-fit: cover;
    border-radius: 8px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* Overlay: üstten siyah, alta doğru transparan parlaklık */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(255,255,255,0.05));
    pointer-events: none;
}

/* Başlık ve açıklama overlay üstüne yerleştirme */
.product-card h3,
.product-card p {
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0 0.5rem;
    color: #fff;
    z-index: 3;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.product-card h3 {
    top: 10px;
    font-size: 1.2rem;
}

.product-card p {
    bottom: 10px;
    font-size: 0.9rem;
}
/* Müşteri Yorumları */
.reviews {
    padding: 4rem 2rem;
    text-align: center;
}

.reviews h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ff4081;
}

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

.review-card {
    background-color: #1a1a1a;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.7);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px #8a0303;
}

.review-card p:first-child {
    color: #ff4081;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.review-card span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #ccc;
}

/* Hakkımızda */
.about {
    padding: 4rem 2rem;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff4081;
}

.about p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* İletişim */
.contact {
    padding: 4rem 2rem;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff4081;
}

.contact p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #1b1b1b;
    text-align: center;
    padding: 1.5rem 2rem;
    color: #ccc;
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .products h2, .reviews h2, .about h2, .contact h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
    }
}
/* Sayfa içi yumuşak kaydırma */
html {
    scroll-behavior: smooth;
}