/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Montserrat:wght@600;700&display=swap');

/* Temel Sıfırlama ve Ayarlar */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* --- Header --- */
.site-header {
    background-color: #1a1a1a;
    color: white;
    padding: 20px 0;
    border-bottom: 3px solid #007bff; /* Prestijli bir mavi dokunuş */
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

.site-header nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
}

/* --- Ana İçerik --- */
main {
    min-height: 70vh;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* Ürün Listeleme (index.html) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #eee;
}

.product-card-content {
    padding: 20px;
}

.product-card-content h3 {
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 10px 0;
}

.product-card-content .price {
    font-size: 1.1em;
    font-weight: 700;
    color: #007bff;
}

/* Ürün Detay Sayfası (urunX.html) */
.product-detail {
    display: flex;
    gap: 40px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.product-image {
    flex: 1;
}

.product-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    background-color: #eee;
}

.product-info {
    flex: 1;
}

.product-info .price {
    font-size: 1.8em;
    font-weight: 700;
    color: #007bff;
    margin-top: 0;
}

.product-info .description {
    font-size: 1.1em;
}

.buy-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.2s ease;
}

.buy-button:hover {
    background-color: #0056b3;
}


/* --- Footer --- */
.site-footer {
    background-color: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}