/* Genel Stil Ayarları */
:root {
    --primary-white: #ffffff;
    --primary-black: #2a2a2a; /* Daha koyu griye yakın siyah */
    --accent-brown: #7a5f4d;  /* Kahverengi tonu */
    --light-gray: #f2f2f2;
    --medium-gray: #cccccc;
    --dark-gray: #555555;
    --text-color: #444444;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-white);
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-black);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-brown);
}

ul {
    list-style: none;
}

/* Başlıklar */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-black);
    margin-bottom: 0.8em;
    font-weight: 600;
}

h1 { font-size: 3.2em; line-height: 1.1; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }
p { margin-bottom: 1em; }


/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-brown);
    color: var(--primary-white);
    border-color: var(--accent-brown);
}

.btn-primary:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
    color: var(--primary-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-brown);
    border-color: var(--accent-brown);
}

.btn-secondary:hover {
    background-color: var(--accent-brown);
    color: var(--primary-white);
}

/* Bölüm Boşlukları ve Ortalamalar */
.section-spacing {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }


/* Header */
.header {
    background-color: var(--primary-white);
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

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

.logo a img {
    height: 40px; /* Logo boyutunu ayarlayın */
    width: auto;
}

.main-nav {
    flex-grow: 1; /* Menünün alanı kaplamasını sağlar */
    display: flex;
    justify-content: flex-start; /* Menüyü sola hizala */
}

.main-nav .nav-list {
    display: flex;
    gap: 30px;
}

.main-nav .nav-list li a {
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    color: var(--dark-gray); /* Menü linkleri için koyu gri */
}

.main-nav .nav-list li a:hover,
.main-nav .nav-list li a.active {
    color: var(--accent-brown);
}

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

.main-nav .nav-list li a:hover::after,
.main-nav .nav-list li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Mobil için varsayılan olarak gizli */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 1001;
    margin-right: 20px; /* Logo ile arasında boşluk */
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-black);
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.menu-toggle span:last-child {
    margin-bottom: 0;
}

/* Hamburger menü animasyonu */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* Hero Section (Ana Sayfa) */
.hero-section {
    background-color: var(--light-gray);
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: 70vh;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.hero-content h1 {
    font-size: 3.8em;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2em;
    color: var(--dark-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: right;
}

.hero-image img {
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Featured Products (Ana Sayfa) & Products Page */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--primary-white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.03);
}

.product-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-black);
}

.product-card p {
    font-size: 0.95em;
    color: var(--text-color);
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-card .price {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--accent-brown);
    margin-bottom: 20px;
    display: block;
}


/* About Section */
.about-section .about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.2em;
}

.about-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.about-image img {
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Lightbox Stilleri */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s forwards;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    animation: zoomIn 0.3s forwards;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: var(--primary-white);
    padding: 10px 0;
    font-size: 1.2em;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--primary-white);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-brown);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: var(--primary-white);
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; border-radius: 3px 0 0 3px; }

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(122,95,77,0.8); /* Accent brown renginin opak hali */
}


/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    background-color: var(--primary-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-brown);
    outline: none;
    box-shadow: 0 0 0 2px rgba(122,95,77,0.2); /* Accent brown opak gölge */
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: #e6ffe6; /* Açık yeşil, başarı için */
    color: #1a6d1a; /* Koyu yeşil */
    border: 1px solid #c9f0c9;
    font-weight: 500;
    animation: fadeIn 0.5s forwards;
}

.contact-info {
    flex: 1;
    min-width: 250px;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-info h2 {
    font-size: 2em;
    margin-bottom: 25px;
}

.contact-info ul {
    margin-bottom: 30px;
}

.contact-info ul li {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--dark-gray);
}

.contact-info ul li strong {
    color: var(--primary-black);
    display: inline-block;
    min-width: 90px;
}

.contact-info ul li a {
    color: var(--dark-gray);
}

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

.contact-info .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.contact-info .social-links .fab {
    font-size: 28px; /* Font Awesome ikon boyutu */
    color: var(--dark-gray); /* İkon rengi */
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-info .social-links a:hover .fab {
    color: var(--accent-brown); /* Hover'da kahverengi */
    transform: translateY(-3px);
}


/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9em;
}

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

.footer p {
    margin: 0;
    flex-basis: auto;
}

.footer .social-links {
    display: flex;
    gap: 20px;
}

.footer .social-links .fab {
    font-size: 24px;
    color: var(--primary-white); /* Footer ikonları beyaz */
    transition: color 0.3s ease;
}

.footer .social-links a:hover .fab {
    color: var(--accent-brown); /* Hover'da kahverengi */
}


/* Scroll Animasyonları (Fade-in) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gecikmeler */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }


/* Responsive Tasarım */
@media (max-width: 992px) {
    .hero-section .container,
    .about-section .about-content,
    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-content, .hero-image,
    .about-text, .about-image,
    .contact-form, .contact-info {
        padding-right: 0;
        min-width: unset;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 3em;
    }

    .hero-image img {
        max-width: 100%;
    }

    .about-image {
        order: -1;
    }
    .about-image img {
        max-width: 100%;
    }

    .footer .container {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }

    .header .container {
        flex-wrap: wrap;
        justify-content: space-between; /* Logo sağda, hamburger solda */
    }

    .logo {
        order: 2; /* Logo sağa kayar */
        margin-left: auto; /* Otomatik sol boşluk */
        margin-right: 0;
    }
    .logo a img {
        height: 35px; /* Mobil için daha küçük logo */
    }

    .main-nav {
        order: 1; /* Hamburger menü sola kayar */
        flex-grow: 0;
        margin-right: 0;
    }

    .menu-toggle {
        display: block;
        margin-left: 0; /* Sol boşluğu kaldır */
    }

    .main-nav .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Header yüksekliğine göre ayarla */
        left: 0;
        width: 100%;
        background-color: var(--primary-white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.05);
        padding: 20px 0;
        border-top: 1px solid var(--light-gray);
        animation: slideDown 0.3s ease-out forwards;
    }

    .main-nav .nav-list.open {
        display: flex;
    }

    .main-nav .nav-list li {
        text-align: center;
        margin: 10px 0;
    }
    .main-nav .nav-list li a::after {
        display: none;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .product-grid, .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.3em; }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .hero-content h1 {
        font-size: 2.2em;
    }
    .hero-content p {
        font-size: 1em;
    }

    .section-spacing {
        padding: 60px 0;
    }

    .product-card h3 {
        font-size: 1.3em;
    }

    .product-card .price {
        font-size: 1.4em;
    }

    .contact-info ul li {
        font-size: 1em;
    }

    .footer p {
        font-size: 0.8em;
    }
}

/* Keyframe Animasyonları */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}