@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #2A2A2A;
    /* Charcoal */
    --accent-color: #D4AF37;
    /* Gold */
    --soft-accent: #FADCD9;
    /* Soft Blush */
    --text-info: #555555;
    --background-light: #FFFFFF;
    --white: #ffffff;
    --border-color: #EEEEEE;
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--primary-color);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 0;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--soft-accent);
    color: var(--primary-color);
    border: none;
}

.btn-secondary:hover {
    filter: brightness(0.95);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
}

/* Dropdown Menü */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1001;
    margin-top: 10px;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: transparent;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-content:hover {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: var(--transition);
    font-weight: 400;
}

.dropdown-content a:hover {
    background-color: var(--background-light);
    color: var(--primary-color);
}

.dropdown-arrow {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-type {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: capitalize;
}

.logo-type span {
    color: var(--accent-color);
    font-weight: 400;
    font-style: italic;
}

.navbar-menu {
    display: flex;
    gap: 30px;
}

.navbar-menu a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--accent-color);
}

.navbar-menu a.active:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--accent-color);
}

.navbar-icons {
    display: flex;
    gap: 20px;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 10px;
}

.navbar-icons a:hover {
    color: var(--primary-color);
}

/* Banner */
.banner {
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), url(https://images.pexels.com/photos/1083895/pexels-photo-1083895.jpeg);
    background-size: cover;
    background-position: center;
    padding: 160px 0;
    text-align: center;
    color: var(--primary-color);
}

.banner h1 {
    font-size: 68px;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.banner p {
    font-size: 18px;
    color: var(--text-info);
    margin-bottom: 48px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Ürünler Bölümü */
.products {
    padding: 120px 0;
}

.section-title {
    font-size: 42px;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -0.5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: var(--white);
    border: 1px solid #f0f0f0;
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--soft-accent);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: -1;
}

.product-card:hover::after {
    opacity: 1;
}

.product-image {
    height: 280px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.product-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 0;
    color: var(--primary-color);
    font-weight: 500;
}

.product-description {
    color: var(--secondary-text);
    margin-bottom: 16px;
    font-size: 14px;
}

.product-price {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.product-actions {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.product-actions .btn {
    width: 100%;
}

.section-footer {
    text-align: center;
}

/* Özellikler Bölümü */
.features {
    background-color: var(--background-light);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 40px;
    background-color: #fafafa;
    transition: var(--transition);
}

.feature-item:hover {
    background-color: var(--soft-accent);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--secondary-text);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    /* Dark Gray / Charcoal */
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--accent-color);
}

.footer-column p,
.footer-column li {
    margin-bottom: 12px;
    opacity: 0.8;
    font-size: 15px;
}

.footer-column a {
    color: var(--white);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    font-size: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.6;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }

    /* Mobil için dropdown stilleri */
    .navbar-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 1000;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        margin-top: 0;
        padding-left: 20px;
        display: none;
        opacity: 1;
        transform: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .banner h1 {
        font-size: 36px;
    }

    .banner p {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

/* --- Kategori Sayfası Stilleri (category.php) --- */
.category-banner {
    background-color: var(--background-light);
    padding: 60px 0;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
}

.category-banner h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--secondary-text);
}

.breadcrumb a {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* --- Hakkımızda Sayfası Stilleri (about.php) --- */
.about-section {
    padding: 60px 0;
}

.about-section .lead-text {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #555;
    text-align: center;
}

.mission-vision-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

.mission-card,
.vision-card {
    flex: 1;
    background-color: #f7f7f7;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.mission-card .card-title,
.vision-card .card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-top: 0;
}

.team-section .section-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.team-section ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.team-section ul li {
    background-color: #ffffff;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent-color);
    border-radius: 0;
    box-shadow: var(--shadow-soft);
}

.team-section ul li strong {
    color: #1d1d1f;
    font-weight: 600;
    margin-right: 5px;
}

/* --- İletişim Sayfası Stilleri (contact.php) --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* İki sütunlu düzen */
    gap: 60px;
    padding: 60px 0;
}

.contact-info {
    padding-right: 30px;
}

.contact-details {
    margin: 40px 0;
    display: grid;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.detail-item .icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--accent-color);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #f0f0f5;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    margin-top: 30px;
}

.contact-form-wrapper {
    background-color: #f7f7f7;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'SF Pro Display', sans-serif;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        padding-right: 0;
    }

    .mission-vision-grid {
        flex-direction: column;
    }
}

/* --- Yasal Sayfalar Stilleri (Mesafeli Satış, İptal-İade, Teslimat) --- */
.legal-section {
    padding: 60px 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-block {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.legal-block h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.legal-block h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px 0;
}

.legal-block p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.legal-block ul,
.legal-block ol {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-block ul {
    list-style: disc;
}

.legal-block ol {
    list-style: decimal;
}

.legal-block li {
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.legal-block strong {
    color: var(--text-color);
}

/* Önemli Bilgi Bloğu */
.highlight-block {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-left: 4px solid var(--primary-color);
}

.highlight-block h2 {
    color: var(--primary-color);
}

.highlight-block h2 i {
    margin-right: 10px;
}

/* Teslimat Tablosu */
.delivery-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.delivery-table th,
.delivery-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.delivery-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.delivery-table tr:last-child td {
    border-bottom: none;
}

.delivery-table tr:hover td {
    background-color: #f9f9f9;
}

/* Yasal Sayfa Linkler */
.legal-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-block a:hover {
    color: var(--primary-dark);
}

/* Mobil uyumluluk - Yasal sayfalar */
@media (max-width: 768px) {
    .legal-section {
        padding: 40px 0;
    }

    .legal-block {
        padding: 20px;
    }

    .legal-block h2 {
        font-size: 1.2rem;
    }

    .delivery-table th,
    .delivery-table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}