* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #b84238;
    --secondary-color: #ffffff;
    --text-color: #2D1B12;
    --bg-color: #ff9a8b;
    --dark-bg: #e87a6b;
    --gray: #5C4033;
    --light-bg: #f9fafb;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(to left, #ff6b6b 0%, #ff9f43 45%, #ffdd59 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* İç sayfalar formatı (anasayfa hariç) */
body.content-page {
    background: #ffffff;
}

body.content-page .products-header {
    padding: 35px 20px;
}

body.content-page .products-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

body.content-page .products-header p {
    font-size: 1rem;
}

body.content-page .product-hero {
    padding: 2rem 20px;
}

body.content-page .product-hero h1 {
    font-size: 2rem;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.about-image {
    flex-shrink: 0;
    width: 480px;
    max-width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.about-text {
    flex: 1;
    min-width: 0;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: linear-gradient(to left, #ff6b6b 0%, #ff9f43 45%, #ffdd59 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-left: 0;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 280px;
    background: transparent;
    margin-right: auto;
    margin-left: -60px;
}

.navbar-contact {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: -100px;
}

.nav-contact-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    min-width: 140px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.navbar-contact a[href*="wa.me"] {
    background: #25D366;
    border-color: #25D366;
}

.navbar-contact a[href*="wa.me"]:hover {
    background: #20bd5a;
    border-color: #20bd5a;
}

.navbar-contact a[href^="mailto"] {
    background: #4285f4;
    border-color: #4285f4;
}

.navbar-contact a[href^="mailto"]:hover {
    background: #3367d6;
    border-color: #3367d6;
}

.nav-contact-box:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.8);
}

.nav-contact-box svg {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    color: #ffffff;
    background: transparent;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 280px;
    min-width: 180px;
    object-fit: contain;
    background: transparent;
}

.nav-menu {
    flex: 1;
    display: flex;
    list-style: none;
    gap: 1.2rem;
    min-width: 0;
    justify-content: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    transition: opacity 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffffff;
    opacity: 0.9;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(to left, #ff6b6b 0%, #ff9f43 45%, #ffdd59 100%);
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    list-style: none;
    padding: 0.5rem 0;
}

.nav-menu > li:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: #ffffff;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
}

/* Slider */
.slider-section {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 460px;
    max-height: 700px;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slider-slide.active {
    opacity: 1;
    z-index: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.slider-arrow-left {
    left: 20px;
}

.slider-arrow-right {
    right: 20px;
}

/* Brands Section */
.brands-section {
    padding: 2rem 20px;
    background: linear-gradient(to left, #ff6b6b 0%, #ff9f43 45%, #ffdd59 100%);
}

.brands-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

.brand-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-card:hover {
    transform: translateY(-5px);
}

.brand-logo {
    max-width: 100%;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* Home Products Section */
.home-products-section {
    background-color: #fff;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.home-products-section .section-title {
    text-align: center;
    font-size: 1.75rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.products-by-brand-hint {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.products-brand-block {
    display: none;
}

.products-brand-block.active {
    display: block;
}

.home-product-category-row {
    margin-bottom: 1.25rem;
}

.home-category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

/* Product Items */
.product-items-wrapper {
    position: relative;
}

.product-items-wrapper--scroll-arrows {
    padding: 0 40px;
}

.product-items {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 1rem;
    padding: 0.5rem 0;
}

.product-items--fit-row {
    flex-wrap: nowrap;
}

.product-item {
    flex: 0 0 auto;
    width: 180px;
    min-width: 180px;
    min-height: 380px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    transform: translateY(-4px);
}

.product-item img {
    width: 100%;
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.product-item-content {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-item-no {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.product-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    flex: 1;
}

.product-item-btn {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    margin-top: auto;
    align-self: flex-start;
}

.product-item-btn:hover {
    background: var(--dark-bg);
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.3s, box-shadow 0.3s;
}

.scroll-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.scroll-arrow-left {
    left: 0;
}

.scroll-arrow-right {
    right: 0;
}

/* Product Categories */
.product-categories-section {
    padding: 2rem 20px;
}

.product-categories-title {
    font-size: 1.9rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.product-category {
    margin-bottom: 2rem;
}

.product-category-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.product-category-card:last-child {
    margin-bottom: 0;
}

.product-category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    text-align: center;
}

.product-category-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray);
    margin: 0 auto 1.25rem;
    text-align: center;
    max-width: 700px;
}

/* Product Hero */
.product-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    color: var(--white);
    padding: 3rem 20px;
    text-align: center;
}

.product-hero-logo {
    margin-bottom: 1rem;
}

.product-brand-logo {
    max-width: 220px;
    max-height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

body.products-page .product-brand-logo {
    filter: none;
}

.product-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.product-hero p {
    opacity: 0.95;
}

/* Products Header */
.products-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.products-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.products-header p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-bg);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--text-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--gray);
}

/* Contact Page */
.contact-section {
    padding: 3rem 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 10px;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Neden Biz Section (Hakkımızda) */
.why-us {
    padding: 4rem 20px;
    background-color: #f9f9f9;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.why-us-text h2 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.why-us-text p {
    font-size: 1.1rem;
    color: #333333;
    line-height: 1.8;
}

.why-us-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-item {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.feature-item h3 {
    font-size: 1.1rem;
    color: #000000;
    margin: 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    .why-us-features {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background-color: var(--gray);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.footer-section p {
    margin: 0;
    line-height: 1.6;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-map-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: opacity 0.3s, transform 0.2s;
}

.footer-map-link:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.footer-map-img {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
}

.footer-phone-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    background: #4285f4;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.2s;
}

.footer-phone-box:hover {
    background: #3367d6;
    transform: translateY(-2px);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 50%;
    transition: background 0.3s, color 0.3s;
}

.footer-social-link:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-contact {
        display: none;
    }

    .logo {
        margin-left: 0;
    }

    .logo-img {
        height: 50px;
        min-width: 160px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slider-arrow-left {
        left: 10px;
    }

    .slider-arrow-right {
        right: 10px;
    }

    .slider-section {
        height: 45vh;
        min-height: 300px;
    }

    .brand-logo {
        max-height: 100px;
    }
}
