:root {
    --bg: #f7f4ef;
    --bg-soft: #fbf9f6;
    --white: #ffffff;
    --text: #1f1f1f;
    --text-soft: #6b645c;
    --border: #e7dfd4;
    --accent: #b7925a;
    --accent-dark: #9b7742;
    --dark: #171717;
    --shadow: 0 12px 35px rgba(25, 25, 25, 0.08);
    --shadow-soft: 0 8px 24px rgba(25, 25, 25, 0.05);
    --radius: 18px;
    --radius-lg: 28px;
    --container: 1240px;
    --transition: all 0.3s ease;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg-soft);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button,
input,
select,
textarea {
    font: inherit;
}

ul,
ol {
    list-style: none;
}

/* LAYOUT */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    position: relative;
}

main section:last-child {
    margin-bottom: 0;
}

/* TOPBAR */
.topbar {
    background: var(--dark);
    color: #f2ede6;
    font-size: 14px;
    padding: 10px 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(231, 223, 212, 0.9);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 56px;
    width: auto;
}

/* MENU */
.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex: 1;
    flex-wrap: nowrap;
}

.menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    padding: 8px 0;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    margin: auto;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
    transition: var(--transition);
}

.menu a:hover {
    color: var(--accent-dark);
}

.menu a:hover::after {
    width: 100%;
}

.menu a.active {
    font-weight: 700;
    color: #000;
}

.menu a.active::after {
    width: 24px;
}

/* RU ONLY MENU FIX */
html[lang="ru"] .menu {
    gap: 10px;
    flex-wrap: wrap;
}

html[lang="ru"] .menu a {
    white-space: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.2;
    max-width: 110px;
    min-height: 42px;
    padding: 6px 8px;
    font-size: 14.5px;
}

/* HEADER ACTIONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* LANGUAGE SWITCH */
.lang-switch {
    display: flex;
    gap: 5px;
    font-size: 13px;
    padding: 4px;
    border-radius: 999px;
    background: #f5f5f5;
    flex-shrink: 0;
}

.lang-switch a {
    padding: 6px 10px;
    border-radius: 999px;
    background: transparent;
    color: #444;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lang-switch a:hover {
    background: #e9e9e9;
    color: #111;
}

.lang-switch a.active {
    background: #000;
    color: #fff;
}

/* BUTTONS */
.btn,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    box-shadow: 0 10px 24px rgba(183, 146, 90, 0.22);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: rgba(255, 255, 255, 0.14);
    transition: width 0.35s ease;
}

.btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn:hover::after {
    width: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--white);
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-2px);
}

/* HERO */
.hero {
    padding: 82px 0 64px;
    background: linear-gradient(180deg, rgba(247, 244, 239, 0.9), rgba(251, 249, 246, 1));
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.hero-text h1 {
    font-size: 54px;
    line-height: 1.08;
    letter-spacing: -1.2px;
    margin-bottom: 22px;
    max-width: 760px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-soft);
    max-width: 680px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-image,
.about-image {
    background: linear-gradient(135deg, #efe7dc, #f9f6f1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.35s ease;
}

.hero-image:hover,
.about-image:hover {
    transform: scale(1.02);
}

.hero-image {
    min-height: 500px;
}

.about-image {
    min-height: 420px;
}

.hero-image::before {
    content: "Görsel Alan";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #9f8f7b;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-image::before {
    content: "";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #9f8f7b;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-image img,
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TRUST */
.trust {
    padding: 0 0 80px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.trust-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.trust-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.25;
}

.trust-item p {
    color: var(--text-soft);
    font-size: 15px;
}

/* ABOUT */
.about {
    padding: 40px 0 90px;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text h2,
.section-title,
.cta h2 {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin-bottom: 18px;
}

.about-text p {
    font-size: 17px;
    color: var(--text-soft);
    margin-bottom: 18px;
    max-width: 620px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* PRODUCTS */
.products {
    padding: 20px 0 90px;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(25, 25, 25, 0.11);
}

.product-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: linear-gradient(135deg, #f0e8de, #faf7f2);
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 22px;
    line-height: 1.3;
    padding: 24px 22px 26px;
}

/* CTA */
.cta {
    padding: 90px 0;
}

.cta .container {
    background: linear-gradient(135deg, #1c1b19, #2a2723);
    color: #fff;
    text-align: center;
    border-radius: 30px;
    padding: 64px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.cta h2 {
    max-width: 780px;
    margin: 0 auto 26px;
}

/* FOOTER */
.footer {
    margin-top: 90px;
    background: #141414;
    color: #e9e2d9;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    padding: 54px 20px;
    align-items: start;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.footer p {
    color: #cfc4b7;
    font-size: 15px;
    margin-top: 8px;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 18px 20px;
    font-size: 14px;
    color: #bcae9f;
}

/* FORMS */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9b9288;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(183, 146, 90, 0.14);
}

.contact-form button {
    margin-top: 8px;
}

/* QUOTE FORM */
.quote-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 36px;
    box-shadow: var(--shadow);
}

.quote-form-header {
    margin-bottom: 26px;
}

.quote-form-header h2 {
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 10px;
}

.quote-form-header p {
    color: var(--text-soft);
    font-size: 16px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-section-title {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.form-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.quote-lines-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.add-line-btn {
    min-height: 44px;
    padding: 0 18px;
}

.quote-table-head {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) 110px;
    gap: 12px;
    padding: 0 4px 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-soft);
}

#quote-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quote-line {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) 110px;
    gap: 12px;
    align-items: stretch;
}

.quote-line input {
    margin: 0;
}

.remove-line-btn {
    min-height: 52px;
    border: 1px solid #e2cfcf;
    background: #fff7f7;
    color: #a64b4b;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.remove-line-btn:hover {
    background: #fff0f0;
    border-color: #d8b4b4;
}

/* OPTIONAL WHATSAPP BUTTON */
.whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25D366;
    color: white;
    padding: 14px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 999;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}

/* ANIMATION HELPER */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .hero-inner,
    .about-inner {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 46px;
    }

    .trust-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu {
        gap: 18px;
    }
}

@media (max-width: 1024px) {
    .header-inner {
        min-height: 76px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 14px 0;
    }

    .menu,
    .header-actions {
        display: none !important;
    }

    .mobile-bar-right {
        display: flex !important;
        align-items: center;
        gap: 10px;
    }

    .mobile-lang-switch {
        display: flex !important;
        align-items: center;
        gap: 4px;
        padding: 4px;
        border-radius: 999px;
        background: #f3f3f3;
    }

    .mobile-lang-switch a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 34px;
        min-height: 32px;
        padding: 0 8px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 700;
        color: #444;
        background: transparent;
    }

    .mobile-lang-switch a.active {
        background: #000;
        color: #fff;
    }

    .mobile-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border: none;
        border-radius: 14px;
        background: #f5f5f5;
        cursor: pointer;
        position: relative;
        z-index: 1000;
    }

    .mobile-overlay,
    .mobile-panel {
        display: block !important;
    }
}
/* BREADCRUMB */
.breadcrumb-wrap {
    padding: 18px 0 8px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: var(--text-soft);
}

.breadcrumb a {
    color: var(--text-soft);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-dark);
}

.breadcrumb-separator {
    opacity: 0.6;
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 600;
}

@media (max-width: 640px) {
    .breadcrumb-wrap {
        padding: 14px 0 6px;
    }

    .breadcrumb {
        font-size: 13px;
        gap: 6px;
        line-height: 1.5;
    }
}
@media (max-width: 640px) {
    .topbar .container {
        justify-content: center;
        text-align: center;
    }

    .logo img {
        height: 48px;
    }

    .mobile-lang-switch a {
        min-width: 32px;
        padding: 0 7px;
        font-size: 10px;
    }

    .mobile-panel {
        width: 100%;
        max-width: none;
        padding: 20px 16px;
    }
}

    .hero {
        padding: 60px 0 44px;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .about-text h2,
    .section-title,
    .cta h2 {
        font-size: 32px;
    }

    .hero-image,
    .about-image {
        min-height: 340px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .quote-form-wrapper {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .form-grid-two,
    .quote-table-head,
    .quote-line {
        grid-template-columns: 1fr;
    }

    .quote-table-head {
        display: none;
    }

    .quote-line {
        gap: 10px;
        padding: 14px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: #fcfaf7;
    }

    .remove-line-btn {
        min-height: 46px;
    }

    .quote-form-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 560px) {
    .topbar .container {
        justify-content: center;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 31px;
        line-height: 1.12;
    }

    .hero-text p,
    .about-text p {
        font-size: 16px;
    }

    .trust-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .btn,
    .btn-outline {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .logo img {
        height: 48px;
    }

    .product-card img {
        height: 220px;
    }

    .cta .container {
        padding: 46px 18px;
        border-radius: 24px;
    }

    .quote-lines-top {
        flex-direction: column;
        align-items: stretch;
    }

    .add-line-btn {
        width: 100%;
    }

    .about-image {
        transition: transform 0.4s ease;
    }

    .about-image:hover {
        transform: scale(1.03);
    }
    
}