/* style.css - King Legend Energy */

/* --- 1. Global Variables & Fonts --- */
:root {
    /* Colors */
    --clr-bg-dark: #111111;
    --clr-bg-lighter: #1E1E1E;
    --clr-accent: #FFCE00;
    --clr-text-light: #FFFFFF;
    --clr-text-muted: #3A3A3A;

    /* Fonts (Fallbacks defined, assuming local fonts or standard sans-serif if not found) */
    --font-heading: 'Joyride 2.0', sans-serif;
    --font-body: 'Halenoir', sans-serif;

    /* Layout */
    --max-container-width: 1728px;
}

/* Joyride 2.0 – projeye eklenen font */
@font-face {
    font-family: 'Joyride 2.0';
    src: url('/fonts/Joyride-2.0.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Joyride 2.0';
    src: url('/fonts/Joyride-2.0-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

/* Halenoir – projeye eklenen font */
@font-face {
    font-family: 'Halenoir';
    src: url('/fonts/Halenoir-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Halenoir';
    src: url('/fonts/Halenoir-RegularItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Halenoir';
    src: url('/fonts/Halenoir-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Halenoir';
    src: url('/fonts/Halenoir-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* --- 2. Base Resets & Typography --- */
html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-light);
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Custom Container to match Figma 1728px */
.container-custom {
    max-width: min(var(--max-container-width), 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* --- 4. Banner / Hero Section --- */
/* Figma: banner section top:129px (below header), height:915px
   In our DOM, section starts at page top:0 — header (pos:absolute) overlays top 129px.
   So we make the section tall enough to cover both: 129 + 915 = 1044px */
.banner-section {
    width: 100%;
    height: 100vh;
    background-color: var(--clr-bg-dark);
    --banner-image-top: clamp(100px, 10.76vw, 186px);
    --banner-title-gap: clamp(35px, 3.29vw, 57px);
}

/* Figma: width:1524px, left:calc(50% - 1524px/2), top:0 WITHIN BANNER = 129px from page top
   Since our section starts at page 0, title top = header height (7.47vw @ 1728px = 129px) */
.banner-title {
    width: 100%;
    max-width: min(var(--max-container-width), 100%);
    left: 50%;
    transform: translateX(-50%)!important;
    top: calc(var(--banner-image-top) - var(--banner-title-gap));
    font-size: clamp(24px, 6vw, 104px);
    line-height: 1.1;
    text-align: center;
    letter-spacing: -0.01em;
    padding: 0 15px;
    box-sizing: border-box;
    z-index: 4;
    pointer-events: none;
    white-space: nowrap;
}


.banner-title-yellow {
    color: var(--clr-accent);
}

.banner-title-white {
    color: #FFFFFF;
}

.banner-img-wrap {
    left: 0 !important;
    top: 0 !important;
    width: 100%;
    height: 100%;
    z-index: 0 !important;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.banner-video {
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 0.55;
}

.banner-gradient-mask {
    left: 0;
    top: var(--banner-image-top);
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0) 36.52%, #111111 100%);
    pointer-events: none;
    z-index: 5;
}

/* Figma: left:1607px, top:607px WITHIN BANNER = 736px from page top
   736/1728 = 42.6vw */
.banner-social {
    right: clamp(10px, 2.5vw, 60px);
    top: clamp(320px, 42.6vw, 736px);
    width: 47px;
    min-height: 108px;
    background-color: var(--clr-accent);
    border-radius: 16px;
    padding: 14px 0;
    /* LAYER 6 — en üstte */
    z-index: 6;
}

.banner-social a {
    width: 47px;
    height: auto;
    color: #1E1E1E;
    transition: opacity 0.2s ease;
}

.banner-social a:hover {
    opacity: 0.7;
}

/* Figma: left:841px, top:735px WITHIN BANNER */
.banner-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: clamp(50px, 8vw, 100px);
    /* Daha yukarı alındı */
    width: 46px;
    height: 24px;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Figma'dan alınan Vektör Maske / Arka Plan Gradienti */
    background: linear-gradient(180deg, rgba(231, 175, 24, 0) 0%, rgba(231, 175, 24, 0.03) 10%, rgba(231, 175, 24, 0.1) 23%, rgba(231, 175, 24, 0.23) 39%, rgba(231, 175, 24, 0.41) 56%, rgba(231, 175, 24, 0.64) 75%, rgba(231, 175, 24, 0.91) 94%, #E7AF18 100%);
    /* Bu gradientin sadece SVG (maske) içerisinden görünmesini sağlar */
    -webkit-mask-image: url('../img/arrow-1.svg');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url('../img/arrow-1.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.banner-arrow img {
    display: none;
    /* Maske kullandığımız için asıl resmi gizliyoruz */
}

@media (max-width: 768px) {
    .banner-section {
        --banner-image-top: 135px;
        --banner-title-gap: 5px;
    }

    .banner-social {
        right: 8px;
        top: auto;
        bottom: 70px;
    }

    .banner-title {
        white-space: nowrap;
    }

}

.can-image-section {
    height: 95vh;
}

.can-image {
    object-fit: cover;
    object-position: center 35%;
}

/* --- 5. Geçiş-1 / Quote Section --- */
/* Figma: height:662px */
.gecis-section {
    width: 100%;
    height: 662px;
    margin-top: 0px !important;
    margin-bottom: 0px !important; 
    background-color: var(--clr-bg-dark);
}

.gecis-text-wrap {
    /* Figma: width:584px, height:84px, left:572px (centered), top:290px */
    position: absolute;
    width: 584px;
    max-width: calc(100% - 30px);
    left: 50%;
    transform: translateX(-50%);
    top: 290px;
    z-index: 2;
    text-align: center;
}

.gecis-heading {
    /* Figma: font-size:35px, line-height:42px */
    font-size: 35px;
    line-height: 42px;
    color: #FFFFFF;
}

.gecis-heading *
{
    margin: 0;
}

.gecis-line {
    display: block;
    white-space: nowrap;
}

.gecis-ornament {
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

.gecis-ornament-top {
    width: 70px !important;
    height: 25px !important;
}

.gecis-ornament-bottom {
    width: 69px !important;
    height: 24px !important;
}

@media (max-width: 768px) {
    .gecis-section {
        height: auto;
        min-height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gecis-text-wrap {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 584px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .gecis-heading {
        font-size: clamp(16px, 5.2vw, 24px);
        line-height: 1.18;
    }

    .gecis-line {
        white-space: nowrap;
    }

    .gecis-ornament-top,
    .gecis-ornament-bottom {
        width: clamp(26px, 9vw, 44px) !important;
        height: auto !important;
    }

    .kralligini-hisset-section
    {
        height: 450px!important;
    }

    .energy-section {
        min-height: 450px!important;
    }
}

/* --- 6. Products Section --- */

.product-showcase {
    border-radius: 12px;
}

.flavor-item {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.flavor-item.active {
    background-color: var(--clr-accent) !important;
}

.flavor-item.active h3 {
    color: var(--clr-bg-dark) !important;
}

.flavor-item.cursor-pointer:hover h3 {
    color: var(--clr-accent) !important;
}

/* --- 6. Social Media Cards --- */
.social-media-section {
    background-color: var(--clr-bg-dark);
}

.social-cards-wrapper img {
    transition: transform 0.5s ease;
}

.social-cards-wrapper img:hover {
    z-index: 10;
    transform: scale(1.05) rotate(0deg) !important;
}

/* --- 7. Blog Section --- */
.blog-card {
    display: block;
    background: transparent;
}

.blog-img {
    border-radius: 4px;
}

.hover-scale {
    transition: transform 0.5s ease;
}

.blog-card:hover .hover-scale {
    transform: scale(1.05);
}

.blog-card:hover h3 {
    color: var(--clr-accent);
}

/* --- X. PURE FIGMA ÜRÜNLERİMİZ SECTION --- */
.products-section {
    position: relative;
    width: 100%;
    height: auto;
    background: #111111;
    /* Koyu arka plan garantisi */
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 50px 0;
    /* Üst alt boşluk bırakalım biraz nefes alsın */
}

/* Bu container ekran 1728'den büyük ya da küçük olsa da
   kendi içinde 1728x888 px'lik bir dünya çizer ve ekrana göre boyutlanır. */
.urunler-figma-canvas {
    position: relative;
    max-width: 1728px;
    width: 100%;
    height: 888px;
    /* Figma Height */
    background: transparent;
    /* Aspect ratio korunması ve merkeze alınması için: */
    margin: 0 auto;
}

/* ÜRÜNLERİMİZ Başlığı */
.urunler-title {
    position: absolute;
    height: 48px;
    left: 7%;
    /* 121/1728 */
    top: 73px;
    font-size: clamp(28px, 2.3vw, 40px);
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

/* Çizgi 1 */
.urunler-line-top {
    position: absolute;
    width: 85%;
    /* 1471/1728 */
    height: 0px;
    left: 7%;
    /* 121/1728 */
    top: 158px;
    border: 0.75px solid #3a3a3a;
}

/* Sağ Üst Kısa Açıklama Yazısı */
.urunler-desc {
    position: absolute;
    right: 8%;
    /* 136/1728 */
    top: 93px;
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.2;
    text-align: right;
    color: #3a3a3a;
    margin: 0;
}

/* ÇEŞİTLER Label */
.urunler-cesitler {
    position: absolute;
    height: 19px;
    left: 46.18%;
    /* 798/1728 */
    top: 201px;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.2;
    color: #ffffff;
}

/* Urun-Kapak */
.urun-kapak {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 10px;
    position: absolute;
    width: 25.46%;
    /* 440/1728 */
    height: 600px;
    left: 12.6%;
    /* 218/1728 */
    top: 257px;
    background: #1e1e1e;
}

    .urun-kapak img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

/* Urun-Link (Default / Pasif) */
.urun-link {
    position: absolute;
    width: 45.95%;
    /* 794/1728 */
    height: 120px;
    left: 46.18%;
    /* 798/1728 */
    background: transparent;
    /* Pasifken transparan */
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    /* İçindeki yazıları dikey ortalamak için (Figma absolute olsa da HTML daha sağlıklı) */
}

/* Çizgiler (Pasifken gözükür genelde, tasarımda hep alt çizgi var) */
.urun-line-bot {
    position: absolute;
    width: 100%;
    height: 0px;
    left: 0px;
    top: 120px;
    /* Kutunun en altı */
    border: 0.75px solid #3a3a3a;
}

/* Satır pozisyonları (Nereden başlayacakları var) */
.row-mango {
    top: 257px;
}

.row-classic {
    top: 377px;
}

.row-coffee {
    top: 497px;
}

.row-mojito {
    top: 617px;
}

.row-lemon {
    top: 737px;
}

.flavor-name {
    position: absolute;
    left: 0px;
    top: 45px;
    height: 30px;
    font-size: clamp(18px, 1.6vw, 25px);
    line-height: 30px;
    color: #3a3a3a;
    transition: .4s;
}

/* Aktif (Seçili) Durumu (Urun-Link-Active) */
.urun-link.active {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    background: #ffce00;
}

    .urun-link.active .flavor-name {
        position: absolute;
        left: clamp(10px, 1.6vw, 29px);
        top: 45px;
        color: #000000;
        width: auto;
        transition: .4s;
    }

.urun-link.active .urun-line-bot {
    display: none;
}

.flavor-nutri {
    display: none;
}

/* Frame 1 – Figma besin bilgisi alanı */
.urun-link.active .flavor-nutri {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    position: absolute;
    right: clamp(100px, 5vw, 80px);
    /* Ok ikonuna (40px) yer açmak için sağdan uzaklaştırdık */
    top: 45px;
    padding: 0;
    gap: 19px;
    height: 29px;
    max-width: min(332px, calc(100% - clamp(120px, 20vw, 300px)));
}

/* Ok İkonu / Detay Linki */
.urun-detail-link {
    position: absolute;
    right: clamp(10px, 1.6vw, 29px);
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a3a3a;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.urun-link.active .urun-detail-link {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
}

.urun-detail-link:hover {
    background: #000000;
    color: #ffce00;
    transform: translateY(-50%) translateX(5px);
}

.urun-link.active .urun-detail-link:hover {
    background: #000000;
    color: #ffce00;
}

/* Figma Frame 1: yan yana, üstte başlık altta miktar */
.flavor-nutri-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex: none;
}

.flavor-nutri-label {
    font-family: "Halenoir", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    text-align: right;
    color: rgba(0, 0, 0, 0.3);
}

.flavor-nutri-val {
    font-family: "Halenoir", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    text-align: right;
    color: #000000;
}

/* --- URUNLER MOBILE RESPONSIVE OVERRIDE --- */
@media (max-width: 991px) {
    .products-section {
        height: auto !important;
        overflow: visible !important;
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .urunler-figma-canvas {
        transform: none !important;
        height: auto !important;
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
        gap: 30px;
    }

    .urunler-title {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        text-align: center;
        font-size: clamp(32px, 8vw, 40px) !important;
        height: auto !important;
        line-height: 1.2 !important;
    }

    .urunler-line-top {
        display: none !important;
        /* Hide long decorative line on mobile */
    }

    .urunler-desc {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        text-align: center !important;
        height: auto !important;
    }

    .urunler-cesitler {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        height: auto !important;
        text-align: center;
    }

    .urun-kapak {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 440px !important;
        height: auto !important;
        padding: 30px 0 !important;
    }

    .urun-kapak img {
        height: 350px !important;
        /* Slightly smaller can on mobile */
    }

    /* Wrap flavor links in a logical column */
    .urun-link {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 440px !important;
        height: 80px !important;
        /* Tighter height */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .flavor-name {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        text-align: center !important;
    }

    .urun-line-bot {
        left: 0 !important;
        top: 100% !important;
        width: 100% !important;
    }

    .urun-link.active {
        flex-direction: column !important;
        align-items: center !important;
        padding: 10px 0 !important;
        height: auto !important;
    }

    .urun-link.active .flavor-name {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        margin-bottom: 15px !important;
    }

    .urun-link.active .flavor-nutri {
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px !important;
        height: auto !important;
    }
}

/* --- BLOG SECTION RESPONSIVE REFIT --- */
.blog-section {
    background-color: var(--clr-bg-dark);
    width: 100%;
    overflow: hidden;
    padding: clamp(50px, 8vw, 150px) 0;
}

.blog-figma-canvas {
    position: relative;
    max-width: 1728px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 80px);
}

/* Header Block */
.blog-header-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 clamp(15px, 7%, 121px);
}

.blog-line-top {
    width: 100%;
    height: 0px;
    border-top: 0.75px solid #3A3A3A;
    margin-bottom: clamp(20px, 4vw, 85px);
    /* space between line and title */
}

.blog-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

.blog-main-title {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
}

.blog-main-desc {
    font-family: 'Halenoir', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.2;
    text-align: right;
    color: #3A3A3A;
    margin: 0;
    max-width: 300px;
}

/* Cards Container – başlıkla aynı hizada: sol ve sağ uçlar başlık bloğuyla hizalı */
.blog-cards-container {
    display: flex;
    /*justify-content: space-between;*/
    flex-wrap: nowrap;
    /*gap: clamp(10px, 2vw, 56px);*/
    width: 100%;
    padding: 0 clamp(15px, 7%, 121px);
    box-sizing: border-box;
}

/* Base Blog Card Styling */
.blog-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(20px, 3vw, 35px);
    text-decoration: none;
}

.blog-cover {
    width: 100%;
    aspect-ratio: 515 / 294;
    /* maintains aspect cleanly */
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    display: block;
}

/* Text Wrapper */
.blog-texts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

/* Internal Title */
.blog-title {
    font-family: 'Halenoir', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 22px;
    color: #FFFFFF;
    margin: 0;
}

/* Internal Description */
.blog-desc {
    font-family: 'Halenoir', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 17px;
    color: #3A3A3A !important;
    margin: 0;
}
.blog-desc,
.blog-desc * {
    color: #3A3A3A !important;
}
@media (max-width: 991px) {
    .blog-title-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .blog-main-desc {
        text-align: center;
    }

    .blog-cards-container {
        flex-wrap: wrap;
        /* allow stack on mobile */
    }

    .blog-card {
        width: 100%;
        align-items: center;
        text-align: center;
    }
}

/* ... Default resets... */

/* --- Y. PURE FIGMA ENERJİ SECTION --- */
/* Changed .energy-section container height from inline HTML to fluid CSS below */
.energy-section {
    background-color: var(--clr-bg-dark);
    width: 100%;
    min-height: min(706px, 100vh);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(50px, 8vw, 150px) 15px;
}

.enerji-figma-canvas {
    position: relative;
    max-width: 1728px;
    width: 100%;
    /* Let height be determined by content now */
    height: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Kapsayıcı başlık bloğu: Metinlerin aralarındaki boşluğu azalttık ve Fluid (Akışkan) yaptık */
.enerji-title-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    /* Reduce gap strictly */
    gap: clamp(10px, 2vw, 20px);
}

.enerji-text-row-1 {
    display: flex;
    width: 100%;
    justify-content: center;
    padding-left: 0px !important;
    align-items: center;
    
}

.enerji-text-row-2 {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-left: 0px !important;
    flex-wrap: nowrap;
    gap: clamp(15px, 3vw, 50px);
    margin-bottom: 20px;
}

.enerji-text-1,
.enerji-text-2,
.enerji-text-3 {
    font-size: clamp(18px, 6.2vw, 113px);
    line-height: 1.1;
    margin: 0;
    white-space: nowrap;
}

/* ENERJİNİ */
.enerji-text-1 {
    color: #FFCE00;
}

/* ZİRVEYE */
.enerji-text-2 {
    color: #FFFFFF;
}

/* ŞİMŞEK ve TAŞI Container'ı */
.enerji-text-tasi-wrap {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 54px);
}

/* ŞİMŞEK (Lightning) SVG */
.enerji-lightning {
    display: flex;
    align-items: center;
}

    .enerji-lightning svg {
        width: clamp(24px, 4.6vw, 77px);
        height: auto;
        animation: pulse 1.5s ease-in-out infinite;
    }

.enerji-desc {
    margin: auto !important;
    text-align: center !important;
}

@media (max-width: 991px) {
    .enerji-text-row-1,
    .enerji-text-row-2 {
        justify-content: center;
        padding-left: 0;
    }

    .enerji-text-row-2 {
        gap: clamp(10px, 3vw, 24px);
    }

    .enerji-text-1,
    .enerji-text-2,
    .enerji-text-3 {
        font-size: clamp(18px, 8.5vw, 60px);
    }

    .enerji-text-tasi-wrap {
        gap: clamp(8px, 2.8vw, 18px);
    }

    .enerji-lightning svg {
        width: clamp(18px, 6vw, 44px);
    }
}

/* TAŞI */
.enerji-text-3 {
    color: #FFFFFF;
}

/* AÇIKLAMA METNİ */
.enerji-desc {
    width: auto;
    max-width: calc(100% - clamp(30px, 16%, 300px));
    /* ensures buffer on left & right */
    align-self: flex-end;
    /* Sağ tarafa yaslamak için */
    margin-right: clamp(15px, 14%, 248px);

    /* Şimşek bloğundan uzaklık */
    font-family: 'Halenoir', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.4;
    color: #FFFFFF;
    text-align: left;
}


/* --- 7. Krallığını Hisset Animasyon (CSS Text Marquees) --- */
.kralligini-marquee-container {
    height: 130px;
    /* Azaltıldı */
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.marquee-ribbon {
    position: absolute;
    width: 120vw;
    left: -10vw;
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    padding: 12px 0;
    /* Daraltıldı */
}

.ribbon-dark {
    background-color: #1E1E1E;
    color: #3A3A3A;
    transform: rotate(3deg);
    top: 25px;
    /* Yukarı çekildi */
    z-index: 1;
}

.ribbon-yellow {
    background-color: var(--clr-accent);
    color: #111111;
    transform: rotate(-2deg);
    top: 55px;
    /* Yukarı çekildi */
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    /* Kurdeleyi öne çıkarır */
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 30px;
    /* Boşluk azaltıldı */
    padding-right: 30px;
    /* İlk ve ikinci kopyanın arasındaki boşluk */
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 26px;
    /* Küçültüldü */
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.crown-icon {
    width: 22px;
    /* Küçültüldü */
    height: auto;
    fill: currentColor;
}

.scroll-left {
    animation: marqueeLeft 20s linear infinite;
}

.scroll-right {
    animation: marqueeRight 20s linear infinite;
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes marqueeRight {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2); /* biraz büyüsün */
    }

    100% {
        transform: scale(1);
    }
}

/* --- 8. Footer & Utilities --- */
.footer-nav .nav-link:hover {
    color: var(--clr-accent) !important;
}

.hover-accent {
    transition: color 0.3s ease;
}

.hover-accent:hover {
    color: var(--clr-accent) !important;
}

.hover-white {
    transition: color 0.3s ease;
}

.hover-white:hover {
    color: var(--clr-text-light) !important;
}

.cursor-pointer {
    cursor: pointer;
}

@media only screen and (max-width: 767px)
{
    .banner-img {
         object-fit: cover; 
    }

}

@media only screen and (max-width: 490px)
{
    .banner-img {
        object-position: calc(100% + 190px) center;
    }

    .flavor-nutri {
        align-items: start !important;
        padding-left: 20px !important;
        display: none !important;
        grid-template-columns: repeat(2,1fr);
    }

    .flavor-nutri-item {
        display: flex;
        flex-direction: column;
        align-items: start;
    }

        .flavor-nutri-item *
        {
            text-align: start;
        }

        .urun-link.active .flavor-nutri {
            display: grid !important;
        }

    
}