/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 100%;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #333;
}

.btn {
    display: inline-block;
    background: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn:hover {
    background: #45a049;
}

/* Küçük buton stili */
.btn-small {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 6px 16px;
    border: 1px solid #333;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-small:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

/* Header Stili */
header {
    width: 100%;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    margin-bottom: 80px;
    background-color: #fff;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.logo a {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s;
}

nav ul li a:hover {
    opacity: 0.7;
    color: #000;
}

/* Ana Sayfa Ürün Listesi */
.product-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.product-item {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.product-image {
    width: 615px;
    height: 769px;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s;
    border-radius: 0;
}

.product-image:hover {
    transform: scale(1.02);
}

.product-name {
    font-size: 14px;
    color: #000000;
    margin-bottom: 5px;
    font-weight: 400;
}

.product-date {
    color: #000000;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-price {
    font-size: 22px;
    font-weight: 600;
    color: #4CAF50;
    margin-bottom: 20px;
}

/* Ürünler Sayfası Stili */
.page-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #000000;
}

.products-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    width: 100%;
}

.product-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    width: 100%;
    max-width: 800px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card .product-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .product-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    color: #999;
}

.product-card .product-info {
    padding: 20px;
}

.product-card .product-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 600;
}

.product-card .product-price {
    font-size: 20px;
    font-weight: 600;
    color: #4CAF50;
    margin: 0 0 10px;
}

.product-card .product-date {
    color: #000000;
    font-size: 14px;
}

/* Ürün Detay Sayfası */
.product-detail {
    padding: 50px 0;
    width: 100%;
    display: block;
}

.product-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-top: 50px;
    justify-content: center;
}

.gallery-item {
    width: 450px;
    height: 576px;
    overflow: hidden;
    border-radius: 0;
    background-color: #e9e9e9;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    position: absolute;
    top: 0;
    left: 0;
}

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

.product-description {
    width: 100%;
    line-height: 1.8;
}

.product-description h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.product-info-detail {
    margin-top: 30px;
    padding: 20px;
    background-color: #ffffff;
    width: 100%;
    margin-left: 0;
}

.product-info-detail h1 {
    font-size: 14px;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 400;
    text-align: center;
}

.product-info-detail .product-price {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 25px;
    text-align: center;
}

.product-info-detail .product-description {
    color: #000000;
    margin-top: 20px;
    font-weight: 400;
    font-size: 14px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.product-info-detail .product-content {
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.product-info-detail .product-meta {
    margin-top: 30px;
    color: #000000;
    font-size: 14px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: center;
}

/* Sayfa Başlık Stili */
.page-header {
    background-color: #f9f9f9;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.page-header h1 {
    font-size: 36px;
    color: #000000;
    font-weight: 600;
}

/* İçerik Stili */
.content {
    background: #fff;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    width: 100%;
}

/* Hakkımızda Sayfası Stili */
.about-info h2 {
    color: #000000;
    margin: 20px 0 15px;
    font-weight: 600;
}

/* İletişim Sayfası Stili */
.contact-info, .contact-form {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-item {
    flex: 0 0 calc(33.33% - 20px);
    margin-right: 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

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

.error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
}

.success-message {
    background: #dff0d8;
    color: #3c763d;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Footer Stili */
footer {
    padding: 30px 0;
    background-color: #fff;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width: 100%;
}

.footer-left {
    text-align: center;
    font-size: 10px;
    color: #000;
    flex: 1;
}

.footer-left a {
    color: #000;
    text-decoration: none;
    font-size: 10px;
    transition: color 0.3s;
}

.footer-left a:hover {
    color: #000;
}

.center-contact-info {
    text-align: center;
    font-size: 10px;
    line-height: 1.6;
    color: #000;
    flex: 2;
}

.center-contact-info p {
    margin: 5px 0;
}

.footer-right {
    text-align: center;
    flex: 1;
    font-size: 10px;
    color: #000;
}

.footer-copyright {
    text-align: center;
    font-size: 10px;
    color: #000;
}

/* Lightbox Stili */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: lightboxFadeIn 0.3s ease-in-out;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    margin: auto;
    animation: imageFadeIn 0.3s ease-in-out;
    cursor: default;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

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

@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Ürün Galerisi Güncelleme */
.gallery-item {
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

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

/* Header altındaki içerik için padding eklendi */
main {
    padding-top: 100px; /* Header'ın yüksekliği + ekstra boşluk */
}

/* Ana sayfa için özel margin ayarı */
.container.home-container {
    margin-top: 50px; /* Header'dan sonra boşluk */
    padding-top: 20px;
}

/* Responsive Tasarım */
@media (max-width: 760px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    
    header .container,
    .footer-content {
        padding: 0 20px;
    }
    
    nav ul {
        gap: 20px;
    }
    
    .product-gallery {
        flex-direction: column;
        width: 100%;
    }
    
    .gallery-item {
        width: 100%;
        max-width: 455px;
        height: auto;
        aspect-ratio: 460/576;
    }
    
    .product-info-detail {
        width: 100%;
        margin-left: 0;
    }
    
    .contact-item, .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .product-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 4/5;
        margin: 0 auto 15px auto;
    }
    
    .product-item {
        padding: 1px;
    }
    
    .product-list {
        padding: 30px 0;
    }
    
    .container.home-container {
        margin-top: 100px;
    }
}

@media (max-width: 480px) {
    header .container,
    .footer-content {
        padding: 0 15px;
    }
    
    .logo a {
        font-size: 18px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    nav ul li a {
        font-size: 14px;
    }
    
    .product-gallery,
    .product-info-detail {
        width: 100%;
    }
    
    .product-info-detail {
        margin-top: 20px;
        padding: 15px;
    }
    
    .product-info-detail h1 {
        font-size: 18px;
    }
    
    .product-info-detail .product-price {
        font-size: 15px;
    }
    
    .product-info-detail .product-description {
        font-size: 13px;
    }
    
    .product-image {
        aspect-ratio: 3/4;
    }
}

