/* GLOBAL CONTAINER */

:root {
    --header-height: 90px;
}

html,
body {
    font-family: "Outfit", sans-serif;
}

body {
    padding-top: var(--header-height);
    background: #F8F8F8;
    overflow-x: hidden;
    overflow-y: scroll;
}

sup {
    font-size: 14px;
    vertical-align: super;
    line-height: 0;
}

.container {
    width: 100%;
    padding-left: 90px;
    padding-right: 90px;
    box-sizing: border-box;
}


/* GLOBAL BREADCRUMB CURRENT (link olarak) */

a.breadcrumb-current {
    color: #000;
    text-decoration: none;
    pointer-events: auto;
}

a.breadcrumb-current:hover {
    color: #000;
    text-decoration: none;
}


/* ---------------------------------------------------
   HEADER (DESKTOP ONLY)
--------------------------------------------------- */

.site-header {
    width: 100%;
    background: #FCE300;
    padding: 10px 0;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
}


/* Inner container layout */

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* -----------------------------------------------
   MENU COMMON
----------------------------------------------- */

.header-menu {
    display: flex;
    align-items: center;
    gap: 38px;
}

.header-menu-item {
    list-style: none;
}

.header-menu-item-has-children {
    position: relative;
}

/* Menü ile dropdown arası boşluğu kapatacak görünmez köprü */
.header-menu-item-has-children::after {
    content: '';
    position: absolute;
    left: -20px;
    right: -20px;
    bottom: -35px;
    height: 35px;
    /* background: transparent; */
}

.header-menu-link {
    font-size: 16px;
    color: #222;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s ease;
}

.header-menu-link:hover {
    opacity: 0.7;
}

.header-menu-caret {
    width: 10px;
    height: 10px;
    border-bottom: 1.5px solid #222;
    border-right: 1.5px solid #222;
    transform: rotate(45deg);
    display: inline-block;
}


/* -----------------------------------------------
   LEFT MENU
----------------------------------------------- */

.header-nav-left {
    flex: 1;
}

.header-nav-left .header-menu-link {
    font-size: 16px;
}


/* -----------------------------------------------
   LOGO (CENTER)
----------------------------------------------- */

.site-header-logo img {
    height: 50px;
    padding: 10px 0px;
    width: auto;
    display: block;
    box-sizing: content-box;
}


/* -----------------------------------------------
   RIGHT MENU
----------------------------------------------- */

.header-nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.header-nav-right .header-menu {
    gap: 32px;
}


/* LANGUAGE SELECTOR */

.header-menu-item-lang {
    position: relative;
}

.header-lang-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.header-lang-icon img {
    width: 19px;
    height: auto;
}

.header-lang-code {
    font-size: 16px;
}

.header-lang-caret {
    width: 10px;
    height: 10px;
    border-bottom: 1.5px solid #222;
    border-right: 1.5px solid #222;
    transform: rotate(45deg);
    display: inline-block;
}

.header-lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 12px;
    list-style: none;
    min-width: 80px;
    z-index: 1000;
}

.header-lang-dropdown-inner {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    overflow: hidden;
}

.header-menu-item-lang:hover .header-lang-dropdown,
.header-menu-item-lang.open .header-lang-dropdown {
    display: block;
}

.header-lang-dropdown li {
    list-style: none;
}

.header-lang-dropdown a {
    display: block;
    padding: 6px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s;
}

.header-lang-dropdown a:hover {
    background: #f5f5f5;
}

.header-lang-dropdown a.active {
    font-weight: 600;
    color: #000;
    background: #FCE300;
}


/* SEARCH ICON */

.header-search-btn img {
    width: 21px;
    height: 21px;
}

.header-search-btn:hover {
    opacity: 0.7;
}

header .container {
    max-width: none;
}


/* ---------------------------------------------------
   FOOTER — Desktop Only (No Responsive)
--------------------------------------------------- */

.footer {
    background: #000;
    color: #fff;
    padding: 50px 0 40px;
}


/* İç alan */

.footer-main {
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    gap: 60px;
}


/* Logo */

.footer-logo-wrap img {
    width: 160px;
    margin-bottom: 50px;
}


/* 4 kolon */

.footer-links-wrap {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}


/* Başlık */

.footer-col-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #F4D324;
    /* Figma Yellow */
}


/* Items */

.footer-col-list li {
    margin-bottom: 10px;
}

.footer-col-list a {
    font-size: 15px;
    color: #d6d6d6;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col-list a:hover {
    color: #fff;
}


/* Contact icons lines */

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-contact-item img {
    width: 18px;
}


/* Address */

.footer-address {
    font-size: 14px;
    color: #cecece;
    line-height: 1.5;
    margin-top: 20px;
}


/* ---------------------------------------------------
   SOCIAL BAR
--------------------------------------------------- */

.footer-social {
    margin: 70px auto 0;
    padding: 0 0px;
    display: flex;
    border: 1px solid #2f2f2f;
}

.footer-social-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-right: 1px solid #2f2f2f;
    position: relative;
    color: #fff;
    font-size: 15px;
}

.footer-social-item:hover {
    color: black;
}

.footer-social-item:hover img {
    filter: brightness(100) invert(100%);
}

.footer-social-item::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    content: '';
    height: 100%;
    transition: .3s all linear;
    background: #F4D324;
}

.footer-social-item:hover::before {
    width: 100%;
}

.footer-social-item span {
    position: relative;
    z-index: 1;
    transition: .3s all linear;
}

.footer-social-item:last-child {
    border-right: none;
}

.footer-social-item img {
    width: 20px;
}

.footer-social-arrow {
    margin-left: auto;
    font-size: 18px;
}


/* ---------------------------------------------------
   COPY BAR
--------------------------------------------------- */

.footer-copy {
    margin: 35px auto 0;
    padding: 20px 0px 0;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy-left {
    font-size: 14px;
    color: #888;
}

.footer-copy-right a {
    margin-left: 32px;
    font-size: 14px;
    color: #bcbcbc;
    transition: 0.2s;
}

.footer-copy-right a:hover {
    color: #fff;
}


/* ----------------------------------------------
   MENU OVERLAY (Dark background when opened)
---------------------------------------------- */

#menu-overlay {
    position: fixed;
    top: var(--header-height);
    /* header height */
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 1900;
}


/* Show overlay */

#menu-overlay.active {
    display: block;
}


/* ----------------------------------------------
   TOPBOX WRAPPERS
---------------------------------------------- */

.header-topbox {
    width: 100%;
    height: 350px;
    background: #000;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0px 80px;
    color: #fff;
    z-index: 1950;
}


/* Show topbox */

.header-topbox.active {
    display: flex;
    justify-content: space-between;
}


/* ----------------------------------------------
   LEFT LINK LIST
---------------------------------------------- */

.header-topbox-links {
    border-right: 1px solid rgba(255, 255, 255, .1);
    width: 25%;
}

.header-topbox-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 30px;
}

.header-topbox-links li {
    margin-bottom: 10px;
}


/* default state */

.header-topbox-links a {
    position: relative;
    font-size: 15px;
    color: #e5e5e5;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: color 0.25s ease;
}


/* çizgi (span) default kapalı */

.header-topbox-links a span {
    display: inline-block;
    width: 0px;
    height: 2px;
    background: #F4D324;
    border-radius: 2px;
    transition: width 0.35s ease;
}


/* aktif olduğunda */

.header-topbox-links a:hover {
    color: #F4D324;
}


/* çizgi animasyonu: soldan sağa açılır */

.header-topbox-links a:hover span {
    width: 26px;
    /* figma’daki genişlik */
}


/* ----------------------------------------------
   QUOTE
---------------------------------------------- */

.header-topbox-quote {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 30%;
    position: relative;
}

.header-quote {
    color: var(--Foundation-mr-Grauscale-Color-Light, #F8F8F8);
    font-family: Outfit;
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px;
    width: 90%;
    position: absolute;
    bottom: 30px;
    right: 30px;
    text-align: right;
}


/* ----------------------------------------------
   RIGHT IMAGE PREVIEW
---------------------------------------------- */

.header-topbox-image {
    width: 30%;
    position: relative;
}

.header-topbox-image img {
    display: block;
    height: 350px;
    width: 100%;
    object-fit: cover;
    float: right;
}


/* Görsel üstü link butonu - Figma tasarımına göre */

.header-topbox-link {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.header-topbox-link a {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    border: 1px solid #FCE300;
    border-radius: 2px;
    color: #f8f8f8;
    font-size: 12px;
    transition: all 0.3s ease;
}

.header-topbox-link a:hover {
    background: rgba(0, 0, 0, 0.9);
}


/* ----------------------------------------------
   PRODUCT GRID (Topbox 3)
---------------------------------------------- */


/* ----------------------------------------------
   PRODUCT GRID (Topbox 3)
---------------------------------------------- */


/* PRODUCT CARD */

.header-topbox-product {
    background: #0d0d0d;
    padding: 20px 18px 25px;
    border-radius: 12px;
    transition: opacity .3s ease, transform .3s ease;
    cursor: pointer;
    opacity: 0.5;
    margin-top: 20px;
    position: relative;
}

.header-topbox-product:hover {
    opacity: 1;
    /* sadece opacity transition */
    transform: translateY(-3px);
    /* hafif hover hareketi */
}


/* PRODUCT TITLE */

.header-topbox-product h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.3;
    height: 40px;
    padding-top: 15px;
    position: relative;
    margin-bottom: 20px;
}

.header-topbox-product h3::before {
    content: '';
    position: absolute;
    top: 0;
    lefT: 0;
    widtH: 20px;
    height: 2px;
    background-color: #F4D324;
}


/* IMAGE */

.header-topbox-product img.pp {
    width: 100%;
    border-radius: 8px;
}


/* LITTLE ARROW BUTTON */

.topbox-menu {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 28px;
    height: auto;
    opacity: 0.8;
    transition: opacity .2s ease;
}

.header-topbox-product:hover .topbox-menu {
    opacity: 1;
}


/* ----------------------------------------------
   SUSTAINABILITY OVERLAY - SOL MENÜ + SAĞ SUBLİNKLER
---------------------------------------------- */

.header-topbox--sustainability {
    display: none;
}

.header-topbox--sustainability.active {
    display: flex;
    justify-content: flex-start;
}

.header-topbox--sustainability .header-topbox-links {
    width: 200px;
    flex-shrink: 0;
}


/* Sol kategori linkleri */

.sustainability-category {
    position: relative;
    font-size: 14px;
    color: #6c6c6c;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: color 0.25s ease;
}

.sustainability-category.active {
    color: #FCE300;
}

.sustainability-category.active span {
    width: 20px;
}


/* Sağ sublink alanı */
.header-topbox-sublinks {
    border-left: 1px solid #3f3f3f;
    padding-left: 40px;
    margin-left: 0;
    width: 280px;
    flex-shrink: 0;
}

.header-topbox--sustainability .header-topbox-sublinks {
    width: 300px;
}

.sustainability-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 30px;
}

.sustainability-submenu.active {
    display: block;
}

.sustainability-submenu li {
    margin-bottom: 10px;
}

.sustainability-submenu a {
    font-size: 14px;
    color: #6c6c6c;
    transition: color 0.2s ease;
}

.sustainability-submenu a:hover {
    color: #FCE300;
}


/* Sağ görsel alanı sustainability için - 1. overlay ile aynı boyut */

.header-topbox--sustainability .header-topbox-image {
    width: 30%;
    margin-left: auto;
}

#header-topbox-1 .sustainability-submenu {
    display: block;
}


/* ---------------------------------------------------
   MOBILE MENU TOGGLE BUTTON
--------------------------------------------------- */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #222;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* ---------------------------------------------------
   MOBILE MENU OVERLAY
--------------------------------------------------- */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1900;
    padding: 100px 24px 40px;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-list>li>a,
.mobile-menu-list>li>button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    font-size: 18px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.mobile-menu-list>li>button .caret {
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.mobile-menu-list>li>button.active .caret {
    transform: rotate(-135deg);
}

.mobile-submenu {
    display: none;
    padding: 0 0 20px 16px;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: #aaa;
}

.mobile-submenu a:hover {
    color: #FCE300;
}

.mobile-menu-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-lang {
    display: flex;
    gap: 16px;
}

.mobile-menu-lang a {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 14px;
}

.mobile-menu-lang a.active {
    background: #FCE300;
    color: #000;
    border-color: #FCE300;
}


/* ---------------------------------------------------
   RESPONSIVE STYLES
--------------------------------------------------- */


/* Windows 125% Scaling (1920@125% = 1536px viewport) */

@media (max-width: 1536px) {
    :root {
        --header-height: 80px;
    }

    .site-header-logo img {
        height: 100%;
    }
}

/* Windows 150% Scaling / Small Laptops (1920@150% = 1280px viewport) */

@media (max-width: 1366px) {
    :root {
        --header-height: 70px;
    }
}

/* Large Desktop */

@media (max-width: 1400px) {
    .container {
        padding-left: 90px;
        padding-right: 90px;
    }
}


/* Desktop */

@media (max-width: 1200px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .header-menu {
        gap: 24px;
    }

    .footer-links-wrap {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-col:first-child {
        display: none;
    }
}


/* Tablet */

@media (max-width: 992px) {
    .container {
        padding-left: 32px;
        padding-right: 32px;
    }

    .footer-links-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-social {
        flex-direction: column;
    }

    .footer-social-item {
        border-right: none;
        border-bottom: 1px solid #2f2f2f;
    }

    .footer-social-item:last-child {
        border-bottom: none;
    }

    .footer-copy {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-copy-right a {
        margin-left: 16px;
    }

    .footer-copy-right a:first-child {
        margin-left: 0;
    }
}


/* Mobile Landscape / Small Tablet */

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding-left: 24px;
        padding-right: 24px;
        max-width: 100%;
    }

    /* Hide desktop navigation */
    .header-nav-left,
    .header-nav-right {
        display: none;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Header adjustments */
    .site-header {
        overflow-x: hidden;
    }

    .site-header-inner {
        justify-content: space-between;
    }

    .site-header-logo img {
        width: 120px;
    }

    /* Footer */
    .footer {
        padding: 60px 0 30px;
        overflow-x: hidden;
    }

    .footer-main {
        padding: 0 16px;
    }

    .footer-links-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-logo-wrap img {
        width: 130px;
        margin-bottom: 30px;
    }
}


/* Mobile Portrait */

@media (max-width: 480px) {
    body {
        font-size: 13px;
        overflow-x: hidden;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100%;
    }

    .site-header {
        overflow-x: hidden;
    }

    .site-header-logo img {
        width: 100px;
    }

    .footer {
        padding: 40px 0 20px;
        overflow-x: hidden;
    }

    .footer-copy-right {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .footer-copy-right a {
        margin-left: 0;
    }
}

/* Extra Small Devices (iPhone SE, small phones) */
@media (max-width: 375px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-header-logo img {
        width: 90px;
    }

    /* Ensure all clickable elements are at least 44x44px */
    button,
    a.btn,
    .header-menu-link,
    .footer-link {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 320px) {

    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .site-header-logo img {
        width: 80px;
    }

    /* Force all potentially wide elements to fit */
    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }
}

/* ---------------------------------------------------
   FANCYBOX Z-INDEX OVERRIDE
   Ensure Fancybox appears above header (z-index: 2000)
--------------------------------------------------- */
.fancybox__container {
    z-index: 2100 !important;
}

.fancybox__backdrop {
    z-index: 2100 !important;
    opacity: 0.9 !important;
}

.fancybox__carousel,
.fancybox__slide,
.fancybox__content {
    z-index: 2101 !important;
}

.fancybox__toolbar {
    z-index: 2102 !important;
}

/* ---------------------------------------------------
   TEXT REVEAL ANIMATION (Line by Line / Scrubbing)
--------------------------------------------------- */

.text-reveal .line {
    display: block;
}

.text-reveal .word {
    display: inline-block;
}

.text-reveal .line,
.text-reveal .word,
.text-reveal .sustainability-bigtext-highlight,
.text-reveal .sustainability-bigtext-fade {
    opacity: 0.1;
    transform: translateY(12px);
    will-change: opacity, transform;
}

/* ---------------------------------------------------
   TEXT REVEAL WRAPPERS (For Scrub effect)
--------------------------------------------------- */
.text-reveal-wrapper {
    height: 120vh;
    position: relative;
    width: 100%;
}

.text-reveal-sticky {
    position: sticky !important;
    top: 0;
    height: 100vh !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 !important;
    width: 100%;
}

.text-reveal-sticky .container {
    width: 100%;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .text-reveal-wrapper {
        height: 100vh;
    }
}

.relative {
    position: relative;
}
