@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,600;0,800;1,400&display=swap');

:root {
    /* Ultra Premium Palette */
    --p-white: #ffffff;
    --p-bg: #f8fafb;
    --p-accent: #00cfb4;
    /* Deep Mint */
    --p-accent-glow: rgba(0, 207, 180, 0.4);
    --p-gold: #c5a368;
    --p-dark: #0a1f1c;
    --p-dark-soft: #1a2f2c;
    --p-text: #1a2f2c;
    --p-text-muted: #6b8c88;

    /* Advanced Surfaces */
    --glass-pure: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-noise: url('https://grainy-gradients.vercel.app/noise.svg');

    /* Motion Tokens */
    --ease-in-out-expo: cubic-bezier(1, 0, 0, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 🧬 Core Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--p-bg);
    color: var(--p-text);
    overflow-x: hidden;
    line-height: 1.5;
    background-image:
        linear-gradient(rgba(0, 207, 180, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 207, 180, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--p-dark);
}

/* 🧬 Decorative DNA Lines */
.dna-decor {
    position: fixed;
    top: 0;
    right: 5%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #0a1f1c, transparent);
    opacity: 0.1;
    z-index: -1;
}

.dna-decor::after {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--p-gold), transparent);
}

/* 🛸 Cinematic Background Particles */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* 💎 Premium Surface */
.glass-surface {
    background: var(--glass-pure);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid var(--glass-border);
    position: relative;
}

.glass-surface::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--glass-noise);
    opacity: 0.03;
    pointer-events: none;
}

/* ⚡ Advanced Header System */
#mainHeader {
    transition: all 0.6s var(--ease-out-expo);
}

.navbar {
    padding: 1.5rem 0;
    transition: all 0.6s var(--ease-out-expo);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ─── Animated Hamburger ─────────────────────────────────────────────────── */
.hamburger-btn {
    width: 36px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    cursor: pointer;
    padding: 0 !important;
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.ham-line {
    display: block;
    height: 2.5px;
    border-radius: 3px;
    background: var(--p-dark);
    transform-origin: center;
    transition: transform 0.38s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.3s ease,
                width 0.35s ease;
}

/* Farklı genişlikler — kademeli görünüm */
.ham-line-1 { width: 100%; }
.ham-line-2 { width: 70%; }
.ham-line-3 { width: 50%; }

/* Açık hali: aria-expanded="true" olduğunda */
.hamburger-btn[aria-expanded="true"] .ham-line-1 {
    width: 100%;
    transform: translateY(12.5px) rotate(45deg);
}
.hamburger-btn[aria-expanded="true"] .ham-line-2 {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger-btn[aria-expanded="true"] .ham-line-3 {
    width: 100%;
    transform: translateY(-12.5px) rotate(-45deg);
}

.navbar .nav-link {
    color: var(--p-dark) !important;
    opacity: 0.6;
    font-size: 0.85rem;
    transition: 0.3s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    opacity: 1;
    color: #0a1f1c !important;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--p-dark) !important;
}

.brand-disk {
    width: 32px;
    height: 32px;
    border: 3px solid #0a1f1c;
    border-radius: 50%;
    position: relative;
}

.brand-disk::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #0a1f1c;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* 🚀 Immersive Floating Slider Stage */
.hero-wrapper {
    height: 70vh;
    min-height: 600px;
    width: 90%;
    max-width: 1600px;
    margin: 120px auto 40px;
    position: relative;
    overflow: hidden;
    background: var(--p-dark);
    border-radius: 40px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4), 0 0 50px rgba(0, 207, 180, 0.1);
}

.slide-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease-in-out, visibility 0.9s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slide-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(1.1) contrast(1.1);
    transform: scale(1.1);
    transition: transform 8s linear;
}

.slide.active .slide-bg-media img {
    transform: scale(1);
}

.slide-content-overlay {
    position: relative;
    z-index: 10;
    color: var(--p-white);
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 5%;
}

.slide-tag {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 800;
    font-size: 0.8rem;
    color: #0a1f1c;
    margin-bottom: 0.5rem;
    display: block;
    transform: translateY(30px);
    opacity: 0;
    transition: 1s 0.5s var(--ease-out-expo);
}

.slide-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 2rem;
    transform: translateY(50px);
    opacity: 0;
    transition: 1.2s 0.7s var(--ease-out-expo);
}

.slide-desc {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 500px;
    margin-bottom: 3rem;
    transform: translateY(30px);
    opacity: 0;
    transition: 1s 0.9s var(--ease-out-expo);
}

.slide.active .slide-tag,
.slide.active .slide-title,
.slide.active .slide-desc {
    transform: translateY(0);
    opacity: 1;
}

/* 🧭 Contained Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    right: 50px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.slider-nav button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--p-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.slider-nav button:hover {
    background: #0a1f1c;
    color: var(--p-dark);
    transform: scale(1.1) rotate(5deg);
}

.slider-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #0a1f1c;
    z-index: 1001;
    box-shadow: 0 0 15px var(--p-accent-glow);
}

/* 🔘 Magnet Buttons */
.btn-magnet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.8rem;
    background: #ffffff;
    color: var(--p-dark);
    font-weight: 900;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.5s var(--ease-out-expo);
    border: none;
    position: relative;
}

.btn-magnet:hover {
    background: var(--p-white);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* 📦 Storytelling Sections */
.story-section {
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--p-accent-glow) 0%, transparent 70%);
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
    opacity: 0.3;
    pointer-events: none;
}

.technical-hud {
    position: absolute;
    bottom: 40px;
    left: 5%;
    font-family: monospace;
    font-size: 0.7rem;
    color: #0a1f1c;
    text-transform: uppercase;
    opacity: 1;
    /* Increased opacity for visibility */
    letter-spacing: 2px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 15px;
}

.technical-hud::before {
    content: "";
    width: 30px;
    height: 1px;
    background: #0a1f1c;
}

/* 🧊 Product Spotlight */
.product-spotlight {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    align-items: center;
}

.spotlight-media {
    grid-column: 1 / 8;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.spotlight-mask {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), transparent 0%, rgba(10, 31, 28, 0.6) 100%);
    pointer-events: none;
    z-index: 2;
}

.spotlight-info {
    grid-column: 8 / 13;
    padding-left: 40px;
}

/* 🔲 Bento v2 */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 24px;
}

.bento-card {
    border-radius: 32px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.6s var(--ease-out-expo);
}

.bento-card-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-card-md {
    grid-column: span 2;
}

.bento-card:hover {
    transform: scale(0.98);
}

/* 🌑 Dark Mode Elements */
.bg-dark-premium {
    background-color: var(--p-dark);
    color: var(--p-white) !important;
}

.bg-dark-premium .slide-title,
.bg-dark-premium h2,
.bg-dark-premium h3,
.bg-dark-premium h5 {
    color: var(--p-white) !important;
}

.bg-dark-premium .slide-desc,
.bg-dark-premium p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* 🎬 Custom Animations */
.reveal-text {
    overflow: hidden;
    position: relative;
}

.reveal-text::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background: #0a1f1c;
    transition: width 0.8s var(--ease-in-out-expo);
}

.reveal-text.active::after {
    width: 100%;
    right: auto;
    left: 0;
    animation: revealAnim 1.2s var(--ease-in-out-expo) forwards;
}

@keyframes revealAnim {
    0% {
        width: 0;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
    }

    100% {
        width: 0;
        left: 100%;
    }
}

/* 🛠️ Utility Classes (Missing Fix) */
.text-accent {
    color: #c5a368 !important;
}

.text-gold {
    color: var(--p-gold) !important;
}

.text-white {
    color: var(--p-white) !important;
}

.text-dark {
    color: var(--p-dark) !important;
}

.border-accent {
    border-color: #0a1f1c !important;
}

.fw-300 {
    font-weight: 300 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.fw-900 {
    font-weight: 900 !important;
}

.letter-spacing-2 {
    letter-spacing: 2px !important;
}

.letter-spacing-5 {
    letter-spacing: 5px !important;
}

.border-4 {
    border-width: 4px !important;
}

.opacity-10 {
    opacity: 0.1 !important;
}

.opacity-40 {
    opacity: 0.4 !important;
}

.opacity-50 {
    opacity: 0.5 !important;
}

.opacity-60 {
    opacity: 0.6 !important;
}

.opacity-70 {
    opacity: 0.7 !important;
}

.opacity-80 {
    opacity: 0.8 !important;
}

.opacity-100 {
    opacity: 1 !important;
}

/* Interactive Utilities */
.hover-opacity-100:hover {
    opacity: 1 !important;
}

.transition-all {
    transition: all 0.3s ease !important;
}

.transition-colors {
    transition: color 0.3s ease, background-color 0.3s ease !important;
}

/* Structural Utilities */
.max-w-lg {
    max-width: 700px;
}

/* 💎 Premium Dark Surface for Images */
.glass-surface-dark {
    background: rgba(10, 31, 28, 0.45);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 📱 Comprehensive Responsiveness */
@media (max-width: 991px) {
    .navbar {
        padding: 1rem 0;
    }

    .navbar-collapse {
        background: rgba(10, 31, 28, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        margin-top: 1rem;
        padding: 2rem 1.5rem;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

    .navbar-collapse .nav-link {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: left;
        color: var(--p-white) !important;
    }

    .navbar-collapse .btn-magnet {
        margin-top: 1.5rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-wrapper {
        width: 95%;
        height: 70vh;
        margin-top: 100px;
        border-radius: 30px;
    }

    .slide-title {
        font-size: 3rem;
    }

    .slide-content-overlay {
        padding: 0 10%;
    }

    .product-spotlight {
        grid-template-columns: 1fr;
    }

    .spotlight-media {
        grid-column: 1;
        margin-bottom: 2rem;
    }

    .spotlight-info {
        grid-column: 1;
        padding-left: 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-card-lg,
    .bento-card-md {
        grid-column: auto;
        grid-row: auto;
        height: 350px;
    }
}

@media (max-width: 576px) {
    .hero-wrapper {
        height: 60vh;
        border-radius: 20px;
    }

    .slide-title {
        font-size: 2.2rem;
    }

    .slide-tag {
        font-size: 0.6rem;
        letter-spacing: 3px;
    }

    .slide-desc {
        font-size: 0.9rem;
    }

    .btn-magnet {
        width: 100%;
        padding: 1rem;
    }

    .technical-hud {
        display: none;
    }

    .story-section {
        padding: 80px 0;
    }

    .slider-nav {
        right: 20px;
        bottom: 20px;
    }

    .slider-nav button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* 📰 Blog Cards - Editorial Style */
.blog-card img {
    transform: scale(1);
    transition: transform 0.7s ease;
}

.blog-card:hover img {
    transform: scale(1.06);
}

/* ======================================================
   📞 FLOATING CONTACT WIDGET
   ====================================================== */
.floating-contact {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

/* Main Toggle Button */
.floating-main-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #0a1f1c 60%, #1a3f38 100%);
    color: #c5a368;
    font-size: 1.4rem;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 24px rgba(10,31,28,0.45), 0 2px 8px rgba(10,31,28,0.2);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(10,31,28,0.55);
}

/* Icon toggle */
.floating-main-icon {
    position: absolute;
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.close-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
}
.floating-contact.is-open .open-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}
.floating-contact.is-open .close-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Pulse animation ring */
.floating-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #c5a368;
    opacity: 0;
    animation: floatPulse 2.5s ease-out infinite;
}
@keyframes floatPulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* Action Buttons Container */
.floating-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    /* Hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.floating-contact.is-open .floating-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Individual Action Button */
.floating-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.fab-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.floating-action-btn:hover .fab-icon {
    transform: scale(1.12);
}

.whatsapp-btn .fab-icon {
    background: #25D366;
    color: #fff;
}

.phone-btn .fab-icon {
    background: linear-gradient(135deg, #0a1f1c 60%, #1a3f38 100%);
    color: #c5a368;
    border: 1px solid rgba(197,163,104,0.3);
}

/* Label pill that appears on the left */
.fab-label {
    background: rgba(10, 31, 28, 0.92);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    border: 1px solid rgba(197,163,104,0.15);
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.floating-action-btn:hover .fab-label {
    opacity: 1;
    transform: translateX(0);
}

/* ─── on-dark: Widget üzerinde koyu arkaplan varsa ─────────────────────── */
.floating-contact,
.floating-main-btn,
.floating-pulse,
.phone-btn .fab-icon,
.fab-label {
    transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease,
                border-color 0.4s ease, opacity 0.25s ease, transform 0.25s ease;
}

/* Koyu bölgede: ana buton → beyaz cam görünümü */
.floating-contact.on-dark .floating-main-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.floating-contact.on-dark .floating-main-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

/* Koyu bölgede: pulse ring → beyaz */
.floating-contact.on-dark .floating-pulse {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Koyu bölgede: telefon butonu → beyaz cam */
.floating-contact.on-dark .phone-btn .fab-icon {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Koyu bölgede: etiket pill → açık renkli */
.floating-contact.on-dark .fab-label {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}