﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================ */
/* === TEMEL DEĞİŞKENLER VE AYARLAR === */
/* ============================ */
:root {
    --top-bar-bg: #1e293b;
    --top-bar-height: 40px;
    --header-height: 70px;
    --header-bg: #ffffff;
    --header-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --nav-text-color: #334155;
    --nav-text-hover-color: var(--primary-color);
    --primary-color: #4CAF50;
    --primary-color-dark: #388E3C;
    --secondary-color-light-blue: #a7d8de; /* Alt başlık için açık mavi */
    --white: #fff;
    --gray-dark: #262626;
    --gray-soft: #475569;
    --body-bg: #f8fafc;
    --error-color: #e53e3e;
    --error-bg: #fff1f2;
    --error-border: #fecdd3;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--body-bg);
    color: var(--gray-dark);
    overflow-y: scroll;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================ */
/* === HEADER VE NAVİGASYON === */
/* ============================ */
.top-bar {
    height: var(--top-bar-height);
    background-color: var(--top-bar-bg);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
    overflow: hidden;
}

.top-bar-inner {
    display: flex;
    gap: 1.5em;
    padding: 0 1.1em;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
}

    .top-bar a:hover {
        color: #a7b3c4;
        opacity: 1;
    }

.site-header {
    min-height: var(--header-height);
    height: var(--header-height);
    background: var(--header-bg);
    box-shadow: var(--header-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    top: var(--top-bar-height);
    left: 0;
    z-index: 99;
}

.header-inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.1em;
    height: var(--header-height);
}

.header-left-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-area {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--nav-text-color);
    letter-spacing: -1px;
    user-select: none;
    flex-shrink: 0;
}

    .logo-area .logo-svg {
        width: 38px;
        height: 38px;
        margin-right: 0.5em;
    }

    .logo-area .logo-text {
        font-size: 1.6rem;
        font-weight: 800;
        letter-spacing: -1px;
        color: #1e293b;
    }

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.lang-select-wrapper {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: .4em;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 1.3em;
    color: var(--nav-text-color);
    font-weight: 600;
    font-size: 1em;
    padding: .35em 1.1em;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
    z-index: 1002;
    position: relative;
}

    .lang-btn:hover {
        background-color: #f1f5f9;
        border-color: #94a3b8;
    }

    .lang-btn .arrow {
        margin-inline-start: .12em;
        stroke: var(--nav-text-color);
        stroke-width: 2.5;
    }

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    min-width: 142px;
    top: 115%;
    background: #fff;
    color: #1a1a1a;
    border-radius: 1.15em;
    box-shadow: 0 6px 28px rgba(0, 0, 0, .15);
    padding: .2em 0;
    list-style: none;
    z-index: 1003;
    border: none;
}

[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-dropdown.open {
    display: block;
}

.lang-dropdown li {
    display: flex;
    align-items: center;
    gap: .57em;
    padding: .6em 1.09em;
    font-size: 1.07em;
    cursor: pointer;
    border-radius: 1.1em;
    transition: background .13s;
    direction: ltr;
}

    .lang-dropdown li:hover {
        background: #e8f5e9;
    }

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

    .hamburger svg {
        fill: var(--nav-text-color);
    }

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: 50px;
}

    .main-nav a {
        display: flex;
        align-items: center;
        color: var(--nav-text-color);
        text-decoration: none;
        position: relative;
        font-weight: 600;
        font-size: 1.05em;
        padding: 0.75em 1.25em;
        border-radius: 8px;
        gap: 0.6em;
        white-space: nowrap;
        transition: color 0.2s, background-color 0.2s;
    }

        .main-nav a svg {
            width: 20px;
            height: 20px;
            fill: var(--nav-text-color);
            transition: fill 0.2s;
        }

        .main-nav a:hover, .main-nav a.active {
            color: var(--nav-text-hover-color);
            background-color: #f1f5f9;
        }

            .main-nav a:hover svg, .main-nav a.active svg {
                fill: var(--nav-text-hover-color);
            }

        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: width 0.3s ease;
        }

        .main-nav a:hover::after, .main-nav a.active::after {
            width: 40%;
        }

/* =========================== */
/* === GENEL SAYFA YAPISI === */
/* =========================== */
main {
    padding-top: calc(var(--header-height) + var(--top-bar-height));
}

.page-header-container {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--primary-color-dark);
    color: var(--white);
}

    .page-header-container h1 {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--white);
        margin: 0 0 0.5rem 0;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
    }

    .page-header-container p {
        font-size: 1.1rem;
        color: var(--secondary-color-light-blue);
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
        font-weight: 500;
    }


/* ========================================================= */
/* === ★ HAKKIMIZDA SAYFASI - YENİ ZARİF VERSİYON ★ === */
/* ========================================================= */
.about-page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-header {
    background-color: var(--primary-color-dark);
    color: var(--white);
    padding: 3.5rem 0;
    text-align: center;
}

    .about-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin: 0;
        letter-spacing: -0.5px;
    }

.about-main-content {
    background-color: var(--white);
    padding: 4rem 0;
    border-bottom: 1px solid #e2e8f0;
}

    .about-main-content p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--gray-soft);
        margin: 0 0 1.5em 0;
    }

        .about-main-content p:last-child {
            margin-bottom: 0;
        }

.about-mission-vision {
    background-color: var(--body-bg);
    padding: 4rem 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-card, .vision-card {
    background-color: var(--white);
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.card-icon {
    width: 28px;
    height: 28px;
    fill: var(--primary-color);
    flex-shrink: 0;
}

.mission-card h2, .vision-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin: 0;
}

.mission-card p, .vision-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-soft);
    margin: 0;
}

.about-slogan {
    background-color: var(--top-bar-bg);
    color: var(--white);
    text-align: center;
    padding: 2.5rem 0;
}

    .about-slogan p {
        font-size: 1.5rem;
        font-weight: 600;
        margin: 0;
        font-style: italic;
        opacity: 0.9;
    }

/* ======================================= */
/* === ÜRÜNLER SAYFASI STİLLERİ === */
/* ======================================= */

.product-promo-banner {
    width: 100%;
    height: 100px;
    background: linear-gradient(90deg, var(--primary-color-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
}

    .product-promo-banner p {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    }


.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eaeaea;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease-out forwards;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.07);
    }

.product-card-image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-image {
    transform: scale(1.05);
}

.product-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[dir="rtl"] .product-card-category {
    left: auto;
    right: 12px;
}

.product-card-content {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

[dir="rtl"] .product-card-content {
    text-align: right;
}

.product-card-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin: 0 0 0.5rem 0;
}

.product-card-desc {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

#loader {
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: #888;
    display: none;
    grid-column: 1 / -1;
}


/* ======================================= */
/* === İLETİŞİM SAYFASI STİLLERİ === */
/* ======================================= */
.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.contact-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef0f2;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .contact-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(76, 175, 80, 0.1);
    }

.contact-icon {
    width: 48px;
    height: 48px;
    fill: var(--primary-color);
    margin-bottom: 1.25rem;
}

.contact-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin: 0 0 0.25rem 0;
}

.contact-title {
    font-size: 0.95rem;
    color: #667;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    background-color: #e8f5e9;
    color: #1e8e3e;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s, color 0.2s;
    border: 1px solid #a5d6a7;
    margin-top: auto;
}

    .contact-phone:hover {
        background-color: var(--primary-color);
        color: var(--white);
        border-color: var(--primary-color);
    }

.contact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.25rem;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 1px #eef0f2, 0 4px 10px rgba(0,0,0,0.08);
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
    word-break: break-all;
}

    .contact-email:hover {
        color: var(--primary-color);
        background-color: #f0fdf4;
    }

    .contact-email svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
        flex-shrink: 0;
    }

.contact-phone svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.order-wip-container {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e8e8e8;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    margin: 2rem;
}

.order-wip-icon {
    width: 60px;
    height: 60px;
    fill: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.order-wip-container h2 {
    font-size: 1.8rem;
    color: var(--gray-dark);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.order-wip-container p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* =========================== */
/* === RESPONSIVE AYARLARI === */
/* =========================== */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
        margin-left: 0;
        margin-right: 0;
    }

    .hamburger {
        display: block;
    }

    nav#main-nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        gap: 0.5rem;
        position: fixed;
        top: calc(var(--header-height) + var(--top-bar-height));
        height: calc(100vh - (var(--header-height) + var(--top-bar-height)));
        width: min(85vw, 320px);
        padding: 1.5rem;
        background: #1e293b;
        z-index: 98;
        box-shadow: 4px 0 22px rgba(0, 0, 0, 0.2);
        left: -100%;
        transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transform: translateX(0);
    }

    [dir="ltr"] nav#main-nav.open {
        left: 0;
        transform: translateX(-100%);
    }

        [dir="ltr"] nav#main-nav.open.is-open {
            transform: translateX(0);
        }

    [dir="rtl"] nav#main-nav.open {
        left: auto;
        right: 0;
        transform: translateX(100%);
    }

        [dir="rtl"] nav#main-nav.open.is-open {
            transform: translateX(0);
        }

    nav#main-nav.open a {
        color: #e2e8f0;
        width: 100%;
        box-sizing: border-box;
    }

        nav#main-nav.open a svg {
            fill: #e2e8f0;
        }

        nav#main-nav.open a:hover, nav#main-nav.open a.active {
            background-color: rgba(71, 85, 105, 0.5);
            color: var(--white);
        }

            nav#main-nav.open a:hover svg, nav#main-nav.open a.active svg {
                fill: var(--white);
            }

        nav#main-nav.open a::after {
            display: none;
        }
}

@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .about-main-content, .about-mission-vision {
        padding: 3rem 0;
    }

    .product-promo-banner p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .top-bar-inner, .header-inner {
        padding: 0 15px;
    }

    .page-header-container h1 {
        font-size: 1.8rem;
    }

    .page-header-container p {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .logo-area .logo-text {
        display: none;
    }
}

/* ================================================= */
/* === YENİ FLEX SATIR KART SİSTEMİ ve 3x2 DİZİLİŞ === */
/* ================================================= */
.product-row-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.product-row-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
    overflow: hidden;
    position: relative;
    min-height: 180px;
    transition: box-shadow .18s, transform .15s;
    opacity: 0;
    transform: translateY(36px);
    animation: fadeIn 0.7s cubic-bezier(.45,.27,.46,.9) forwards;
}

    .product-row-card:hover {
        box-shadow: 0 8px 36px rgba(76,175,80,0.12), 0 4px 14px rgba(0,0,0,0.13);
        transform: translateY(-4px) scale(1.02);
    }

.product-row-img-wrap {
    flex: 0 0 150px;
    min-width: 150px;
    max-width: 200px;
    background: #f8fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f2f2f2;
}

    .product-row-img-wrap img {
        max-width: 100%;
        max-height: 140px;
        border-radius: 6px;
        object-fit: cover;
        box-shadow: 0 0 0 1px #e9ecef;
    }

.product-row-content {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.1rem 1.5rem;
}

.product-row-header {
    width: fit-content;
    padding: 0.5rem 1.3rem;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    border-radius: 10px 0 16px 0;
    letter-spacing: 0.6px;
    position: absolute;
    left: 0;
    top: 0;
    min-height: 34px;
    z-index: 1;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,0.06);
}

.product-row-title {
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    color: #1b2231;
}

.product-row-desc {
    font-size: 1.03rem;
    color: #525e6a;
    margin-bottom: 0.2rem;
    line-height: 1.5;
    word-break: break-word;
    font-weight: 500;
}

@media (max-width: 1100px) {
    .product-row-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .product-row-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
        padding: 1.1rem;
    }

    .product-row-card {
        min-height: 120px;
    }

    .product-row-img-wrap {
        min-width: 90px;
        max-width: 100px;
    }
}


/* ==================================================================== */
/* === ★★★ YENİ EKLENEN MANŞET VE MOBİL DÜZELTME STİLLERİ ★★★ === */
/* ==================================================================== */

/* 1. Manşet Stilini Oluşturma */
.product-row-card[id*="headline-"] {
    all: unset !important;
    display: block !important;
    grid-column: 1 / -1 !important;
    text-align: center !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
    padding: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

    .product-row-card[id*="headline-"] .product-row-header,
    .product-row-card[id*="headline-"] .product-row-img-wrap,
    .product-row-card[id*="headline-"] .product-row-desc,
    .product-row-card[id*="headline-"] .product-row-content:not(:has(.product-row-title)) {
        display: none !important;
    }

    .product-row-card[id*="headline-"] .product-row-title {
        font-size: clamp(1.6rem, 4vw, 2rem) !important;
        font-weight: 800 !important;
        color: var(--gray-dark) !important;
        padding-bottom: 0.5rem !important;
        border-bottom: 3px solid var(--primary-color) !important;
        display: inline-block !important;
        background: none !important;
        margin: 0 !important;
    }

/* 2. Ürün İsimlerini Daha Kalın Yap */
.product-row-card:not([id*="headline-"]) .product-row-title {
    font-weight: 800;
}

/* 3. Menşei Bilgisi İçin Şık Stil */
.product-origin {
    margin-top: 1em;
    font-size: 0.9em;
    color: var(--gray-soft);
}

    .product-origin strong {
        color: var(--gray-dark);
        font-weight: 600;
    }

/* 4. Mobil Görünüm Düzeltmeleri */
@media (max-width: 700px) {
    .product-row-card:not([id*="headline-"]) {
        flex-direction: column;
        min-height: auto;
    }

        .product-row-card:not([id*="headline-"]) .product-row-header {
            border-radius: 20px;
            top: 12px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.8rem;
            padding: 6px 14px;
            width: auto;
            white-space: nowrap;
            box-shadow: none;
        }

        .product-row-card:not([id*="headline-"]) .product-row-img-wrap {
            min-width: 100%;
            width: 100%;
            max-width: 100%;
            border-right: none;
            border-bottom: 1px solid #f2f2f2;
            padding: 3.5rem 1rem 1.5rem 1rem;
            box-sizing: border-box;
        }

            .product-row-card:not([id*="headline-"]) .product-row-img-wrap img {
                max-height: 150px;
                object-fit: contain;
            }

        .product-row-card:not([id*="headline-"]) .product-row-content {
            text-align: center;
            padding: 1rem 1.5rem 1.5rem 1.5rem;
        }
}

/* ========================================================= */
/* === ★★★ GÜNCELLENMİŞ SİPARİŞ SAYFASI STİLLERİ ★★★ === */
/* ========================================================= */
.content-container.order-form-layout {
    max-width: 800px;
    margin: 2.5rem auto 5rem;
    padding: 0 1rem;
    box-sizing: border-box;
}

#order-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-grid .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--gray-soft);
    font-size: 0.9rem;
}

/* Zorunlu alanların etiketine yıldız ekler. */
label[for]:has(+ .input-icon-group input[required])::after,
label[for]:has(+ input[required])::after,
label[for]:has(+ textarea[required])::after {
    content: ' *';
    color: var(--error-color, #e53e3e);
    font-weight: 700;
    margin-left: 2px;
}


/* Input ve Textarea için temel stil */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fdfdff;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    }

.input-icon-group {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-icon-group input {
        padding-right: 2.75rem;
    }

.input-icon {
    position: absolute;
    right: 0.9rem;
    pointer-events: none;
    color: #a0aec0;
    transition: color 0.2s;
}

    .input-icon svg {
        display: block;
        fill: currentColor;
    }

.input-icon-group input:focus ~ .input-icon {
    color: var(--primary-color);
}

.form-group input:required:invalid:not(:placeholder-shown),
.form-group textarea:required:invalid:not(:placeholder-shown) {
    border-color: var(--error-border);
    background-color: var(--error-bg);
}

    .form-group input:required:invalid:not(:placeholder-shown):focus,
    .form-group textarea:required:invalid:not(:placeholder-shown):focus {
        border-color: var(--error-color);
        box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.2);
    }

.form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
}

    .btn:hover:not(:disabled) {
        background-color: var(--primary-color-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.25);
    }

    .btn:active:not(:disabled) {
        transform: translateY(0);
        box-shadow: none;
    }

    .btn:disabled {
        background-color: #94a3b8;
        cursor: wait;
    }

    .btn .btn-loader {
        display: none;
        width: 20px;
        height: 20px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        border-top-color: var(--white);
        animation: spin 1s ease-in-out infinite;
    }

    .btn.loading .btn-text {
        display: none;
    }

    .btn.loading .btn-loader {
        display: block;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =================================================================== */
/* === ★★★ NİHAİ VE DOĞRU BİLDİRİM SİSTEMİ STİLLERİ ★★★ === */
/* =================================================================== */
.form-status {
    position: fixed; /* Sayfaya göre sabitlenir */
    top: calc(var(--header-height) + var(--top-bar-height) + 20px); /* Header'ın 20px altına */
    left: 50%;
    transform: translateX(-50%); /* Yatayda ortalar */

    width: auto; /* İçeriğe göre genişler */
    min-width: 320px;
    max-width: 90%;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center; /* İkon ve metni dikeyde hizalar */
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-20px); /* Başlangıç pozisyonu (yukarıda) */
    z-index: 10001; /* Her şeyin üzerinde görünür */

    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.2);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Önceki display: none kuralını geçersiz kılar */
    display: none;
}

    .form-status.show {
        display: flex; /* Görünür yapmak için */
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0); /* Aşağı kayarak gelir */
    }

    .form-status .status-icon {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
    }

    .form-status .status-text {
        margin: 0;
        line-height: 1.6;
        text-align: left;
    }

    .form-status.success {
        background-color: #f0fdf4;
        color: #166534;
        border: 1px solid #bbf7d0;
    }

        .form-status.success .status-icon svg {
            fill: #22c55e;
        }

    .form-status.error {
        background-color: #fff1f2;
        color: #9f1239;
        border: 1px solid #fecdd3;
    }

        .form-status.error .status-icon svg {
            fill: #f43f5e;
        }

/* Sipariş Formu için Mobil Ayarlar */
@media (max-width: 768px) {
    .content-container.order-form-layout {
        margin: 2rem auto 4rem;
        padding: 0 1rem;
    }

    #order-form {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

        .form-grid .form-group {
            margin-bottom: 1.5rem;
        }
}

/* ========================================================= */
/* === ★★★ KRİTİK: SPAM KORUMASI (HONEYPOT) ★★★ === */
/* ========================================================= */
.honeypot-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
    visibility: hidden;
}
