:root {
    --primary-dark: #0c2323;
    --primary-medium: #64b289;
    --primary-light: #6dcd9a;
    --bg-gradient-start: #84d8ae;
    --bg-gradient-end: #56ab85;
    --text-dark: #1c2e2e;
    --text-light: #e6fcf5;
    --white: #ffffff;
    --white: #ffffff;
    --font-family: 'Open Sans', sans-serif;
    /* Switched to Open Sans as requested */
    /* Prioritizing Sans */
    /* 
       Dynamic Spacing Logic: 
       centers content to max 1400px, with min 40px padding on edges 
    */
    --max-content-width: 1200px;
    --layout-gutter: max(40px, calc((100vw - var(--max-content-width)) / 2));

    --layout-left-spacing: var(--layout-gutter);
    --layout-right-spacing: var(--layout-gutter);
}

body {
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    /* Smoother text */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* =========================================
   HEADER
   ========================================= */
header {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 100;
    padding-left: var(--layout-left-spacing);
    padding-right: var(--layout-right-spacing);
}

.detail-header {
    position: relative;
    top: 0;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin-left: -5px;
    /* Counteract natural logo padding to perfectly align with the card border */
}

.logo img {
    height: 70px;
    width: auto;
    /* User said "this is the shadowed logo", so we use the image as-is without filters */
}

.nav-pill {
    /* Reference: Translucent white, rounded corners (not full pill) */
    background-color: rgba(255, 255, 255, 0.9);
    padding: 12px 30px;
    /* Reduced padding */
    border-radius: 12px;
    /* Adjusted to match reference clip-path ratio (~11.6px) */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.nav-pill ul {
    display: flex;
    gap: 30px;
    /* Increased gap */
}

.nav-pill a {
    font-weight: 400;
    /* Thinner */
    font-size: 1.2rem;
    /* Larger */
    color: #000;
}

.nav-pill a:hover {
    color: var(--primary-light);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    background: url('../images/hero_appliances.jpg') no-repeat center center/cover;
    position: relative;
    padding-top: 150px;
    padding-left: var(--layout-left-spacing);
    padding-right: var(--layout-right-spacing);
    padding-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 5;
}

.hero-title {
    /* Reference: Large, Regular weight, Dark Emerald, Tight spacing */
    font-size: 90px;
    font-weight: 400;
    line-height: 1.05;
    color: #0c2323;
    margin-bottom: 50px;
    letter-spacing: -2px;
}

.hero-btn {
    background-color: var(--white);
    color: #153333;
    /* Ensuring dark text text */
    padding: 20px 60px;
    /* Even larger button */
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(14, 19, 24, 0.15);
    /* Slightly stronger shadow */
}

.hero-visual {
    flex: 1;
    max-width: 600px;
    height: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-img-container {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1.1 / 1;
    min-height: 0;
    /* Fix flex-item blowout in Safari */
    flex-shrink: 0;
    overflow: hidden;
    transform: translateZ(0);
    /* Fix Safari border-radius overflow bleed */
    border-radius: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.hero-composite-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

/* =========================================
   PROMO SECTION
   ========================================= */
.promo-section {
    background-color: var(--primary-dark);
    /* Align left with hero, align right with hero */
    padding: 100px var(--layout-right-spacing) 100px var(--layout-left-spacing);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-light);
    min-height: 80vh;
}

.promo-content {

    flex: 1;
    max-width: 1100px;
}

.promo-title {

    font-size: 4rem;
    color: #85cb9e;
    line-height: 1.15;
    margin-bottom: 70px;
    font-weight: 400;
    letter-spacing: 0px;
}

.promo-text {
    font-size: 21px;
    /* Reference size */
    color: #85cb9e;
    /* Reference color */
    line-height: 34px;
    /* Reference line-height */
    font-weight: 400;
}

.promo-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    /* Move image slightly up to align with text center if needed */
    z-index: 1;
    /* Ensure image is above background but glow is behind */
}

.promo-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(109, 205, 154, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.promo-image img {
    max-height: 330px;
    width: auto;
    transform: none;
    transform-origin: center center;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

/* =========================================
   PRODUCTS SECTION
   ========================================= */
/* =========================================
   PRODUCTS SECTION
   ========================================= */
.products-section {
    /* Replaced image with extracted gradient as requested */
    background: linear-gradient(180deg, #5fac9c 0%, #c9f9eb 100%);
    padding: 80px var(--layout-right-spacing) 100px var(--layout-left-spacing);
}
.products-section-search{
    /* Replaced image with extracted gradient as requested */
    background: none;
    padding: 80px var(--layout-right-spacing) 100px var(--layout-left-spacing);
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a3c3c;
    margin-bottom: 50px;
    border-bottom: 1px solid #1a3c3c;
    padding-bottom: 20px;
    display: inline-block;
    width: 100%;
}

/* ... (existing code) ... */

/* Show the Pizza Maker image globally */
.footer-image {
    display: flex;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Enforcing 3 columns per row */
    gap: 120px;
    /* Increased gap as requested */
    padding: 0;
    /* Removing inner padding as container handles it */
}

.product-card {
    background-color: var(--white);
    border-radius: 0 50px 0 50px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: none;
    overflow: hidden;
    height: 100%;
    justify-content: space-between;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.product-card:hover {
    transform: translateY(-10px);
}

.card-img-container {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 0 40px 0 40px;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    /* Full fill */
    object-fit: cover;
    /* Ensuring cover */
}

.card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.explore-btn {
    background-color: #f1f1f1;
    color: #333;
    padding: 12px 30px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
    background-color: var(--primary-dark);
    padding: 100px var(--layout-right-spacing) 100px var(--layout-left-spacing);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 700px;
    /* Give vertical space for air cooler */
}

.stats-content {
    flex: 1;
    z-index: 2;
    padding-right: 400px;
    /* Space for image */
}

.stats-header h2 {
    font-size: 3rem;
    color: #6dcd9a;
    font-weight: 300;
    margin-bottom: 20px;
}

.stats-divider {
    height: 1px;
    background-color: #6dcd9a;
    width: 100%;
    margin-bottom: 60px;
    opacity: 0.5;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    /* Reduced vertical gap */
}

.stat-icon {
    width: 80px;
    height: 80px;
    border: 1px solid #6dcd9a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6dcd9a;
    font-size: 2rem;
}

.stat-info h3 {
    font-size: 3rem;
    font-weight: 300;
    /* Thinner font as per reference */
    color: #6dcd9a;
    line-height: 1;
}

.stat-info p {
    color: #ffffff;
    /* White labels as per reference */
    font-size: 1.1rem;
    margin-top: 5px;
}

/* Diagonal Stagger Layout */
/* Note: Using nth-child because stats-header is the 1st child div */
.stat-item:nth-child(2) {
    margin-left: 0;
}

.stat-item:nth-child(3) {
    margin-left: 200px;
}

.stat-item:nth-child(4) {
    margin-left: 400px;
}

.stats-image {
    position: absolute;
    right: var(--layout-right-spacing);
    /* Align to page grid */
    top: 50%;
    transform: translateY(-50%) scale(1.15);
    /* Keep larger size */
    height: 85%;
    /* Reduced from 100% to create top/bottom padding */
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

.stats-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: right center;
    /* Force image to align to container right */
}

/* =========================================
   PHILOSOPHY SECTION ("Sadelik bizim dilimiz")
   ========================================= */
.philosophy-section {
    background: linear-gradient(180deg, #84d8ae 0%, #56ab85 100%);
    padding: 80px var(--layout-right-spacing) 100px var(--layout-left-spacing);
    color: var(--primary-dark);
    text-align: center;
}

.philosophy-content {
    text-align: left;
}

.philosophy-divider {
    height: 1px;
    background-color: var(--primary-dark);
    width: 100%;
    margin-bottom: 40px;
    opacity: 0.8;
}

.philosophy-section h2 {
    font-size: 5rem;
    /* Increased significantly */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #0c2323;
}

.philosophy-section p {
    font-size: 2rem;
    /* Increased readability */
    line-height: 1.5;
    margin-bottom: 25px;
    font-weight: 400;
    color: #0c2323;
}

/* =========================================
   VISION SECTION
   ========================================= */
.vision-section {
    background: linear-gradient(180deg, #5fac9c 0%, #c9f9eb 100%);
    padding: 100px var(--layout-right-spacing) 100px var(--layout-left-spacing);
    color: #052b2b;
}

.vision-header h2 {
    font-size: 3rem;
    font-weight: 400;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 15px;
    margin-bottom: 50px;
    color: #0c2323;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.vision-list p {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #0c2323;
}

.vision-list p:first-child {
    margin-top: 0;
}

/* Stagger Logic Removed as per user request */
/* Flex column stretching for perfect vertical alignment */
.vision-left,
.vision-right {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.vision-img-container img {
    width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.vision-text-bottom {
    font-size: 1.8rem;
    line-height: 1.5;
    text-align: right;
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    color: #0c2323;
    font-weight: 400;
}

/* =========================================
   FOOTER SECTION
   ========================================= */
.footer-contact-section {
    background-color: var(--primary-dark);
    padding: 100px var(--layout-right-spacing) 100px var(--layout-left-spacing);
    display: flex;
    align-items: center;
    gap: 80px;
    color: #6dcd9a;
    position: relative;
    overflow: hidden;
}

.footer-image {
    flex: 0 0 45%;
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
}

.footer-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(109, 205, 154, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.footer-image img {
    max-width: none;
    height: 600px;
    width: auto;
    object-position: left center;
}

.footer-content {
    flex: 1;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-header {
    width: 100%;
    border-top: 1px solid #6dcd9a;
    padding-top: 30px;
    margin-bottom: 30px;
}

.footer-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #6dcd9a;
}

.form-btn {
    background-color: white;
    color: #1c2e2e;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 60px;
    display: inline-block;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: #6dcd9a;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.contact-details p {
    color: #85cb9e;
    font-size: 1rem;
    margin-bottom: 30px;
}

.footer-socials {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    gap: 15px;
    margin-top: -50px;
    /* Pull up next to email */
}

.social-icon {
    width: 35px;
    height: 35px;
    border: 1px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: 0.3s;
    background-color: transparent;
}

.social-icon:hover {
    background-color: white;
    color: var(--primary-dark);
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .promo-section,
    .stats-section,
    .vision-grid,
    .footer-contact-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 50px;
    }

    .hero-img-dispenser,
    .hero-img-icemaker {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        display: inline-block;
        width: 45%;
    }

    .stats-image {
        position: relative;
        transform: none;
        right: auto;
        margin-top: 50px;
        width: 100%;
    }

    .vision-left {
        margin-top: 0;
    }

    .stat-item {
        flex-direction: column;
        margin-left: 0 !important;
    }
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */
.contact-body {
    background-color: #f4f4f4;
    overflow-x: hidden;
}

.contact-body::before {
    content: '';
    display: block;
    width: 100%;
    height: 50px;
    background: linear-gradient(to right, #e2f1e6, #84d8ae, #3d8868);
}

.contact-header {
    background-color: #fff;
    position: relative;
    top: 0;
    left: 0;
    padding: 15px 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 150px;
    z-index: 10;
    box-shadow: none;
    border-bottom: 1px solid #e0e0e0;
}

.contact-header .logo img {
    height: 40px;
    width: auto;
    filter: brightness(0);
}

/* Override nav styles for contact page to remove 'pill' look and blend into header */
.contact-header .nav-pill {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.contact-header nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-header nav ul li a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-split-layout {
    display: flex;
    min-height: 100vh;
}

.contact-left {
    flex: 1;
    background-color: #f4f4f4;
    padding: 80px 50px 50px 40px;
    display: flex;
    flex-direction: column;
}

.contact-hero-content {
    margin-top: 50px;
    margin-left: 100px;
}

.page-title {
    font-size: 3rem;
    /* Reduced size */
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.contact-hero-content h2 {
    font-size: 3rem;
    /* Reduced from 4rem */
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1.2rem;
    /* Reduced from 1.5rem */
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 500;
}

.contact-left-details p {
    font-size: 1.1rem;
    /* Reduced from 1.3rem */
    margin-bottom: 10px;
    color: #1a1a1a;
}

.contact-right {
    flex: 1;
    background: linear-gradient(135deg, #84d8ae 0%, #0c2323 100%);
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 50px 50px 0;
}

.contact-form-card {
    background: #fff;
    padding: 40px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    margin-left: 0;
    transform: translateX(-15%);
}

.contact-form-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.form-desc {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hausberg-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #000;
}

.hausberg-form input,
.hausberg-form textarea {
    width: 100%;
    background-color: #f0f0f0;
    border: none;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-family: inherit;
    resize: none;
    border-radius: 0;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
}

.file-upload-box {
    background-color: #f0f0f0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    border-radius: 0;
}

.form-submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.form-submit-row button {
    background-color: #ccc;
    border: none;
    padding: 10px 30px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 0;
}

.form-submit-row button:hover {
    background-color: #bbb;
}

.contact-footer-strip {
    background-color: #052b2b;
    color: #6dcd9a;
    padding: 50px var(--layout-left-spacing);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-col h4 {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.footer-col p {
    font-size: 1.1rem;
    color: #88c7b0;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .contact-split-layout {
        flex-direction: column;
    }

    .contact-right {
        padding: 20px;
    }

    .contact-form-card {
        left: 0;
        max-width: 100%;
    }

    .contact-footer-strip {
        flex-direction: column;
        gap: 30px;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS (MODERN & FIXED)
   ========================================= */

/* Default: Hide Hamburger on Desktop */
.mobile-menu-btn {
    display: none !important;
}

@media (max-width: 900px) {

    /* --- Hamburger Button (Fixed & Visible) --- */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10000;
        /* Max Z-Index */
        background: #ffffff;
        /* Solid White */
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        width: 55px;
        height: 55px;
        font-size: 32px;
        cursor: pointer;
        color: #0c2323;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease;
    }

    .contact-header .mobile-menu-btn {
        background: rgba(255, 255, 255, 0.6) !important;
        /* Hafif transparan beyaz */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
        /* Soft gölge */
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        color: #000000 !important;
    }

    .mobile-menu-btn ion-icon {
        color: #000000 !important;
        /* Menu icon kesin siyah olacak */
        --ionicon-stroke-width: 45px;
        /* Biraz kalınlaştırdık */
        fill: #000000 !important;
        stroke: #000000 !important;
    }

    .mobile-menu-btn:active {
        transform: scale(0.95);
    }

    .contact-header .mobile-menu-btn {
        display: flex !important;
    }

    /* --- Header & Layout --- */
    header {
        position: absolute;
        /* Overlay on hero */
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        background: transparent;
        box-shadow: none;
        height: auto;
        z-index: 999;
    }

    .header-container {
        flex-direction: row;
        /* Keep row to allow logo left, button right (fixed) */
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo img {
        height: 40px;
        /* Slightly smaller for mobile */
    }

    /* --- Modern Full-Screen Menu Overlay --- */
    .nav-pill,
    .contact-header .nav-pill {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        /* Dynamic viewport height */
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease-in-out;
        border-radius: 0;
        padding: 0;
        z-index: 9995;
        /* Below button */
        display: flex;
        /* Ensure it overrides contact-header display if needed */
    }

    .nav-pill.active,
    .contact-header .nav-pill.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-pill ul,
    .contact-header nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .nav-pill a,
    .contact-header nav ul li a {
        font-family: 'Open Sans', sans-serif;
        font-size: 2rem;
        font-weight: 500;
        color: #0c2323;
        text-decoration: none;
        display: block;
        text-align: center;
    }

    /* --- Hero Section Mobile --- */
    .hero {
        flex-direction: column;
        padding-top: 140px;
        /* Space for header */
        min-height: auto;
        height: auto;
        text-align: center;
        padding-bottom: 40px;
    }

    .hero-content {
        padding: 0 20px 30px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 25px;
    }

    .hero-btn {
        width: 80%;
        max-width: 300px;
    }

    .hero-visual {
        width: 100%;
        height: auto;
        margin-top: 0;
        padding: 0 20px;
        position: relative;
        /* Reset absolute */
        top: auto;
        right: auto;
        display: flex;
        justify-content: center;
        /* Center horizontally */
        align-items: center;
    }

    .hero-img-container {
        width: auto;
        max-width: 100%;
        height: auto;
        aspect-ratio: auto;
        /* Reset aspect ratio cropping if needed, or keep it but center */
        margin: 0 auto;
        position: relative;
        left: auto;
        transform: none;
        padding: 20px;
        /* Add padding to prevent crop */
    }

    .hero-composite-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* --- Contact Page Mobile --- */
    .contact-split-layout {
        flex-direction: column;
        padding-top: 80px;
    }

    .contact-left {
        padding: 0 20px 40px;
        text-align: center;
        width: 100%;
    }

    .page-title {
        font-size: 2.5rem;
        text-align: center;
        /* Force center */
    }

    .contact-hero-content {
        margin: 20px 0 0 0;
        text-align: center;
        /* Force center */
    }

    .contact-right {
        padding: 20px;
        width: 100%;
        background: linear-gradient(135deg, #84d8ae 0%, #0c2323 100%);
    }

    .contact-form-card {
        margin: 0;
        transform: none;
        width: 100%;
        padding: 30px 20px;
    }

    /* --- Sections General --- */
    .promo-section,
    .vision-section,
    .stats-section,
    .footer-contact-section {
        flex-direction: column;
        padding: 60px 20px;
        height: auto;
    }

    /* Force background color on mobile for Products (No Image) */
    .products-section {
        flex-direction: column;
        padding: 60px 20px;
        height: auto;
        background: linear-gradient(180deg, #8fc799 0%, #5eb989 100%) !important;
        background-size: cover !important;
        background-attachment: scroll !important;
    }
    .products-section-search {
        flex-direction: column;
        padding: 60px 20px;
        height: auto;
        /*background: linear-gradient(180deg, #8fc799 0%, #5eb989 100%) !important;*/
        background-size: cover !important;
        background-attachment: scroll !important;
    }

    .promo-content,
    .promo-image,
    .vision-left,
    .vision-right,
    .stats-content,
    .stats-image,
    .footer-content,
    .footer-image {
        width: 100%;
        text-align: center;
        padding: 0;
        margin-bottom: 30px;
    }

    .products-grid,
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Hide desktop-only decorations on mobile if needed */
    /* Hide desktop-only decorations on mobile if needed */
    .footer-image {
        display: none;
    }

    /* --- Image Sizing & Centering Fixes --- */
    .promo-image img,
    .vision-img-container img,
    .stats-image img {
        max-width: 80%;
        /* Shrink oversized images */
        height: auto;
        margin: 0 auto;
        /* Center images */
        display: block;
    }

    /* --- Footer Social Icons Fix --- */
    .footer-socials {
        display: flex;
        flex-direction: row;
        /* Force side-by-side */
        justify-content: center;
        /* Center them */
        gap: 20px;
        margin-top: 20px;
        width: 100%;
    }
}

/* =========================================
   PRODUCT DETAIL PAGE STYLES
   ========================================= */

body.product-detail-page {
    /* Background uses the hero appliances image for gradient effect */
    background: url('../images/hero_appliances.jpg') no-repeat center center / cover fixed;
    background-color: #92d0a7;
    /* Fallback */
    min-height: 100vh;
    padding: 50px 0;
    font-family: var(--font-family);
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 0;
    /* Removing padding from parent let sections handle it */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #7dc7a3;
    /* Light green border around the whole white card */
    overflow: hidden;
    /* Keep children inside border radius */
}



/* --- Section 1: Gallery --- */
.gallery-section {
    display: flex;
    gap: 50px;
    align-items: stretch;
    padding: 10px 40px 40px 40px;
    /* Reduced top padding to bring it closer to header */
}

.gallery-left {
    flex: 1;
    display: flex;
    gap: 20px;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 90px;
}

.thumb {
    width: 90px;
    height: 90px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    padding: 5px;
    cursor: pointer;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.thumb.active {
    border-color: #6dbb8b;
    box-shadow: 0 0 0 2px rgba(109, 187, 139, 0.3);
}

.thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.main-image {
    flex: 1;
    border: 1px solid #6dbb8b;
    /* Thin green border like reference */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* Maintain a roughly square aspect ratio */
    aspect-ratio: 1;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.15s ease-in-out;
    /* Smooth fade when switching images */
}

.gallery-right.title-col {
    width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    /* Title right-aligned */
    text-align: right;
    padding-left: 0;
    padding-right: 40px;
    padding-top: 20px;
}

.brand-small-logo {
    width: 280px;
    margin-bottom: 25px;
    align-self: flex-start;
    margin-right: auto;
    /* Force left alignment */
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.1));
}

.product-title {
    font-size: 3.5rem;
    font-weight: 400;
    color: #799886;
    line-height: 1.0;
    letter-spacing: -2px;
    text-transform: none;
    margin-top: 40px;
    /* Push title down from logo */
}

/* --- Section 2: Info Grid --- */
.info-section {
    padding: 20px 0;
    overflow: hidden;
    background: #e2e3e4;
    border-radius: 20px;
}

.info-row {
    padding-bottom: 0;
}

.row-header {
    padding: 40px 40px 10px 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 0px;
    padding-top: 5px;
    /* Reduced to bring content closer to heading */
}

/* Ensure uniform padding across the info grid for horizontal and vertical alignment */
.spec-image-col {
    padding: 0 40px 10px 40px;
}

.spec-img-box {
    background:white;
    border: 1px solid #7dc7a3;
    border-radius: 30px;
    padding: 20px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-img-box img {
    max-height: 100%;
    width: auto;
}

.spec-list-col {
    padding: 0 40px 10px 0;
}

.spec-list {
    color: #0c2323;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 2;
    list-style: none;
    /* remove bullets if any */
}

.desc-text-col {
    padding: 0 40px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.desc-text {
    color: #0c2323;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 2;
}

.desc-image-col {
    padding: 0 40px 40px 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.lifestyle-img-box {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    min-height: 300px;
    border: 1px solid #7dc7a3 !important;
}

.lifestyle-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spec-heading {
    color: #1a563b;
    /* Dark green match */
    font-size: 4.2rem;
    /* Larger size for Technical Specs */
    font-weight: 500;
    margin: 0;
    /* Boşluklar sıfırlandı */
    line-height: 1;
    /* Exact alignment */
    letter-spacing: -1px;
}

.section-heading {
    color: #1a563b;
    /* Dark green match */
    font-size: 2.8rem;
    /* Smaller size for Description */
    font-weight: 500;
    margin-top: 0;
    /* Align exactly with image box */
    margin-bottom: 10px;
    /* Small push to text */
    line-height: 1;
    letter-spacing: -1px;
}

.spec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0;
    /* Align perfectly with Image Border */
    padding: 0;
}

.spec-list li {
    font-size: 1.2rem;
    color: #333;
    font-family: monospace;
    font-weight: 500;
}

.desc-text {
    font-size: 1.5rem;
    line-height: 1.6;
    /* Tighter line-height */
    color: #333;
    font-family: monospace;
    font-weight: 500;
    margin-top: 0;
    /* Small push away from heading */
}

/* --- Section 3: Related Products --- */
.related-products-section {
    padding: 40px;
    background: #ffffff;
    border-radius: 30px;
    max-width: 1280px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
}
.related-products-section-search {
    padding: 40px;
    background: #ffffff;
    border-radius: 30px;
    max-width: 1280px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.related-item {
    background-color: #ffffff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    border: 1px solid #7dc7a3;
    overflow: hidden;
    text-decoration: none;
}

/* KAREYİ ZORLAYAN KONTEYNIR */
.related-img-container {
    width: 100%;
    position: relative; /* İçindeki resmi konumlandırmak için */
    padding-bottom: 100%; /* Yüksekliği genişliğe eşitleyip KARE yapar */
    background: #ffffff; 
}

.related-img-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Tam ortaya hizalar */
    max-width: 90%; /* Kenarlara yapışmaması için %90 */
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain; /* Oranı asla bozmaz */
}

.related-bottom-section {
    padding: 12px 10px;
    background: #f6fcf8;
    border-top: 1px solid #7dc7a3;
    text-align: center;
    flex-grow: 1; /* Yazı alanlarını eşitlemeye yardımcı olur */
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-product-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
    /* Uzun isimler için 2 satır sınırı */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Placeholders for related items */
.img-ph {
    width: 90%;
    height: 60%;
    background: #eaeaea;
    margin: auto;
    border-radius: 8px;
}

.title-ph {
    width: 60%;
    height: 8px;
    background: #ccc;
    border-radius: 4px;
    margin-bottom: 8px;
}

.color-ph {
    width: 100%;
    height: 15px;
    background: linear-gradient(90deg, #5eb989 50%, #d4e8dd 50%);
    border-radius: 10px;
}

@media (max-width: 900px) {
    .gallery-section {
        flex-direction: column;
    }

    .gallery-right.title-col {
        width: 100%;
        padding-left: 0;
        margin-top: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .spec-image-col,
    .desc-text-col,
    .spec-list-col {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 20px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spec-list {
        margin-top: 0;
    }

    /* --- MOBILE: PRODUCT DETAIL PAGE REFINEMENTS --- */
    .minimal-header {
        padding: 0 0 20px 0;
        /* Reset left align indent for mobile */
        align-items: center;
        /* Center logo on mobile */
    }

    .product-detail-container {
        padding: 0 15px;
        /* Less side padding on small screens */
    }



    /* Gallery Stacking */
    .gallery-left {
        flex-direction: column-reverse;
        /* Main image top, thumbnails bottom */
        align-items: center;
        gap: 20px;
    }

    .thumbnails {
        flex-direction: row;
        /* Horizontal thumbnails */
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .thumb {
        width: 65px;
        /* Smaller thumbnails */
        height: 65px;
    }

    /* Title & Logo Scaling */
    .brand-small-logo {
        width: 100px;
        /* Scale inner logo down */
        margin-bottom: 15px;
    }

    .product-title {
        font-size: 3.5rem;
        /* Resize giant title to fit screens */
    }

    .section-heading {
        font-size: 1.8rem;
    }
}