html {
    font-size: 18px; /* Normalde 16px'tir. 20px yaparak her şeyi büyüttük. */
}

/* Telefonda ekran patlamasın diye mobilde standarda dönüyoruz */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* -- DOĞAL KAĞIT TEMASI RENKLERİ -- */
    --primary-color: #c0392b; /* Logonuzdaki kırmızıya uyumlu koyu kırmızı */
    --secondary-color: #a93226;
    --accent-color: #27ae60;  /* WhatsApp yeşili */
    
    --text-dark: #2c3e50;     /* Simsiyah yerine koyu lacivert/gri (daha yumuşak) */
    --text-light: #5d6d7e;
    
    /* İŞTE SİHİR BURADA: Arkaplan renklerini değiştirdik */
    --bg-light: #f4f1ea;      /* Bölümler için hafif saman kağıdı rengi */
    --white: #ffffff;         /* Ürün kartları bembeyaz kalsın ki öne çıksın */
    --body-bg: #fdfbf7;       /* Sitenin genel arkaplanı (Kırık Beyaz/Fildişi) */
    
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Gölgeleri yumuşattık */
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Başlık Stilleri */
h1, h2, h3 {
    color: #000000;
    font-weight: bold;
}

/* Hero bölümündeki h1 beyaz kalmalı */
.hero-content h1 {
    color: var(--white);
}

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

/* Navigation */
.navbar {
    background: #2c3e50;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.logo-img {
    height: 130px;
    width: auto;
    object-fit: contain;
    margin-left: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.3) 0%, rgba(185, 28, 28, 0.3) 100%), 
                url('hero-kagit.jpeg') center/cover no-repeat;
    /* Yukarıdaki satırda 'hero-background.jpg' yerine kendi fotoğrafınızın adını yazın */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 2rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Alternatif: Eğer fotoğrafı JavaScript ile dinamik olarak yüklemek isterseniz, 
   yukarıdaki background satırını kaldırıp aşağıdaki CSS'i kullanabilirsiniz */
.hero.has-background-image {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.3) 0%, rgba(185, 28, 28, 0.3) 100%), 
                var(--hero-image) center/cover no-repeat;
    background-size: cover;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    text-align: left;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: bold;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text .subsection-title {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: bold;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-align: left;
}

.product-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.product-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.product-list li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Products Section */
.products {
    background: var(--white);
}

.image-upload-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.upload-instructions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.upload-instructions i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.btn-upload {
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

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

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.product-info {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}



.btn-remove {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: #dc2626;
    font-size: 1.2rem;
    transition: transform 0.3s;
    position: absolute;
    top: 10px;
    right: 10px;
}

.btn-remove:hover {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #000000;
    font-weight: bold;
}

.contact-item p {
    color: var(--text-light);
}

.contact-action {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-action h3 {
    margin-bottom: 1rem;
    color: #000000;
    font-weight: bold;
}

.contact-action p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp i {
    font-size: 1.5rem;
}

.whatsapp-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

        nav-menu a {
            color: var(--text-dark);
            font-size: 1.2rem;
            /* Telefondan daha rahat basılması için biraz büyüttük */
            display: block;
            /* Tıklama alanını genişletir */
            padding: 10px 0;
            /* Linkler arasına boşluk koyar */
        }
    
        /* İsteğe bağlı: Üzerine gelince renk değişimi */
        .nav-menu a:hover {
            color: var(--primary-color);
        }
        }

    .nav-menu.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }
}

/* ===== IMAGE LIGHTBOX ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ===== IMAGE LIGHTBOX (TAM ORTALAMA) ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95); /* Arkaplanı iyice koyu yaptık */
    
    /* MERKEZLEME SİHRİ */
    display: none; /* JS bunu 'flex' yapar */
    flex-direction: column;
    align-items: center; /* Yatayda tam orta */
    justify-content: center; /* Dikeyde tam orta */
    
    z-index: 10000; /* Menünün ve her şeyin üstünde dursun */
    padding: 20px; /* Kenarlara yapışmayı engeller */
    box-sizing: border-box;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh; /* Ekran boyunun %80'inden büyük olmasın */
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8); /* Güzel bir gölge */
    animation: zoomIn 0.3s ease; /* Açılırken hafif efekt */
}

/* Açıklama Yazısı */
.lightbox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 1.2rem; /* Yazıyı biraz büyüttük */
    text-align: center;
    max-width: 800px;
}

/* Açılış Animasyonu */
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}