/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-blue: #1E3A8A;
    --light-blue: #3B82F6;
    --accent-yellow: #FACC15;
    --white: #FFFFFF;
    --light-gray: #F3F4F6;
    --text-dark: #1F2937;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light-gray);
}

/* NAVBAR */
.navbar {
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 70px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--accent-yellow);
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
}

.logo i {
    color: var(--accent-yellow);
    margin-left: 10px;
    font-size: 22px;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    position: relative;
    transition: 0.3s ease;
}

/* Hover underline animasyonu */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--light-blue);
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--light-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

/* SSS Buton */
.nav-button {
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 8px;
    transition: 0.3s ease;
}

.nav-button:hover {
    background: var(--light-blue);
}

/* FOOTER */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 80px 20px;
    margin-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.footer-col h3 {
    margin-bottom: 15px;
    color: var(--accent-yellow);
}

.footer-col p {
    line-height: 1.6;
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--white);
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-yellow);
}

.social-links a {
    display: block;
    text-decoration: none;
    color: var(--white);
    margin-bottom: 8px;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

/* HERO */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(30,58,138,0.85), rgba(59,130,246,0.85)), url('hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--accent-yellow);
    color: var(--primary-blue);
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
}
/* PRODUCTS */
.products-section {
    padding: 80px;
    background: white;
    text-align: center;
}

.products-section h2 {
    margin-bottom: 50px;
    color: var(--primary-blue);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.product-card h3 {
    margin: 15px 0 10px;
}

.product-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: var(--primary-blue);
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

/* ABOUT */
.about-section {
    padding: 80px;
    background: var(--light-gray);
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: auto;
}

/* CONTACT */
.contact-section {
    padding: 80px;
    background: white;
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.contact-form button {
    background: var(--primary-blue);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
}

/* Ürünler sayfası kategori başlıkları */
.product-categories {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.product-categories h2 {
    cursor: pointer;
    color: var(--primary-blue);
    font-weight: 600;
    transition: 0.3s;
}

.product-categories h2:hover {
    color: var(--light-blue);
}

/* Products grid zaten ana CSS’de var, 4’lü grid uyumlu */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Ürünler sayfası kategori başlıkları */
.product-categories {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.product-categories h2 {
    cursor: pointer;
    color: var(--primary-blue);
    font-weight: 600;
    transition: 0.3s;
}

.product-categories h2:hover {
    color: var(--light-blue);
}

/* Products grid zaten ana CSS’de var, 4’lü grid uyumlu */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Ürünler sayfası başlığı */
.product-header {
    text-align: center;
    margin-bottom: 40px;
}

.product-header h2 {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 32px; /* Temadaki font boyutuna uyumlu */
}

/* SSS Bölümü */
/* SSS Bölümü */
.faq-section {
    padding: 80px 20px;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 50px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: 0.3s;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-question {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 18px;
    position: relative;
}

.faq-answer {
    margin-top: 15px;
    display: none;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Ürün Detay Bölümü */
.product-detail-section {
    padding: 80px 20px;
    background: var(--light-gray);
}

.product-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1100px;
    margin: auto;
}

.product-images {
    flex: 1;
    min-width: 300px;
}

.product-images .main-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.product-images .thumb {
    width: 30%;
    margin-right: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.product-images .thumb:hover {
    transform: scale(1.05);
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-info h2 {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 20px;
}

.product-info .price {
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 20px;
}

.product-info .description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.product-info .product-btn {
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.product-info .product-btn:hover {
    background: var(--light-blue);
}

/* Hakkımızda & İletişim */
.about-container h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 40px;
}

.about-container p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 25px;
}

/* İletişim */
.contact-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 30px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.contact-form button {
    background: var(--primary-blue);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: var(--light-blue);
}

.contact-info {
    flex: 1;
    min-width: 300px;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 15px;
}