/* ==========================================================================
   BEYLIKREKLAM V2 - CLEAN FLAT CORPORATE THEME
   ========================================================================== */

:root {
    --brand-yellow: #ffcc00;
    --brand-black: #0c0c0c;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: rgba(255, 255, 255, 0.85);
    --bg-white: #ffffff;
    --bg-light: #f5f6f8;
    
    --font-main: 'Montserrat', sans-serif;
    
    --shadow-soft: 8px 12px 30px rgba(0, 0, 0, 0.06);
    --shadow-neumorphic: 10px 10px 20px #e6e7e9, -10px -10px 20px #ffffff;
    --border-radius-lg: 24px;
    --border-radius-md: 12px;
}

/* DARK MODE OVERRIDES */
[data-theme='dark'] {
    --text-dark: #f0f0f0;
    --text-gray: #a0a0a0;
    --bg-white: #18191a;
    --bg-light: #121212;
    --shadow-neumorphic: 5px 5px 15px #0a0a0c, -5px -5px 15px #26282a;
}

[data-theme='dark'] .section-title, 
[data-theme='dark'] .section-title-line,
[data-theme='dark'] .card-body h3, 
[data-theme='dark'] .hk-card-body h4 {
    color: var(--text-dark);
}

/* Force CKEditor and Dynamic Texts to follow Dark Mode */
[data-theme='dark'] .details-text *,
[data-theme='dark'] #serviceDetailsText *,
[data-theme='dark'] #blogBody *,
[data-theme='dark'] .ck-content * {
    background-color: transparent !important;
}

[data-theme='dark'] .details-text p,
[data-theme='dark'] .details-text span,
[data-theme='dark'] .details-text li,
[data-theme='dark'] .details-text div,
[data-theme='dark'] #serviceDetailsText p,
[data-theme='dark'] #serviceDetailsText span,
[data-theme='dark'] #serviceDetailsText li,
[data-theme='dark'] #serviceDetailsText div,
[data-theme='dark'] #blogBody p,
[data-theme='dark'] #blogBody span,
[data-theme='dark'] #blogBody li,
[data-theme='dark'] #blogBody div,
[data-theme='dark'] .ck-content p,
[data-theme='dark'] .ck-content span,
[data-theme='dark'] .ck-content li,
[data-theme='dark'] .ck-content div {
    color: var(--text-gray) !important;
}

[data-theme='dark'] .details-text h1,
[data-theme='dark'] .details-text h2,
[data-theme='dark'] .details-text h3,
[data-theme='dark'] .details-text h4,
[data-theme='dark'] .details-text h5,
[data-theme='dark'] .details-text h6,
[data-theme='dark'] .details-text strong,
[data-theme='dark'] .details-text b,
[data-theme='dark'] #serviceDetailsText h1,
[data-theme='dark'] #serviceDetailsText h2,
[data-theme='dark'] #serviceDetailsText h3,
[data-theme='dark'] #serviceDetailsText h4,
[data-theme='dark'] #serviceDetailsText h5,
[data-theme='dark'] #serviceDetailsText h6,
[data-theme='dark'] #serviceDetailsText strong,
[data-theme='dark'] #serviceDetailsText b,
[data-theme='dark'] #blogBody h1,
[data-theme='dark'] #blogBody h2,
[data-theme='dark'] #blogBody h3,
[data-theme='dark'] #blogBody h4,
[data-theme='dark'] #blogBody h5,
[data-theme='dark'] #blogBody h6,
[data-theme='dark'] #blogBody strong,
[data-theme='dark'] #blogBody b,
[data-theme='dark'] .ck-content h1,
[data-theme='dark'] .ck-content h2,
[data-theme='dark'] .ck-content h3,
[data-theme='dark'] .ck-content h4,
[data-theme='dark'] .ck-content h5,
[data-theme='dark'] .ck-content h6,
[data-theme='dark'] .ck-content strong,
[data-theme='dark'] .ck-content b {
    color: var(--text-dark) !important;
}

[data-theme='dark'] .card-icon {
    filter: drop-shadow(0 0 12px rgba(255, 204, 0, 0.6)) drop-shadow(0 0 25px rgba(255, 204, 0, 0.3));
}

[data-theme='dark'] .hero-overlay-shape {
    background: linear-gradient(135deg, rgba(24,25,26,1) 0%, rgba(24,25,26,1) 45%, rgba(24,25,26,0.85) 55%, transparent 70%);
}

[data-theme='dark'] .hizmetlerimiz-section {
    background-color: #0d0d0e;
}

[data-theme='dark'] .showcase-overlay {
    background: linear-gradient(90deg, rgba(24,25,26,1) 0%, rgba(24,25,26,0.95) 30%, rgba(24,25,26,0.6) 45%, transparent 55%);
}

[data-theme='dark'] .hk-icon-area {
    background: radial-gradient(circle at center, #242526 0%, #18191a 100%);
}

[data-theme='dark'] .marquee-track img {
    filter: grayscale(30%) brightness(1.2) opacity(0.85);
}

[data-theme='dark'] .marquee-track img:hover {
    filter: grayscale(0%) brightness(1.1) opacity(1);
    transform: scale(1.1);
}

/* Native Form Controls Override */
[data-theme='dark'] select option {
    background-color: #18191a;
    color: #f0f0f0;
}
select option {
    background-color: #ffffff;
    color: #1a1a1a;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light); /* Soft gray behind everything */
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

.container-narrow {
    max-width: 1100px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.app-header {
    background-color: var(--brand-black);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 9000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    width: 32px;
    height: 32px;
}

.brand-text {
    color: var(--bg-white);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    gap: 1.25rem;
    list-style: none;
}

.main-nav a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: #ffffff; /* Always hard-code to white since header is always black */
    text-shadow: 0 -2px 12px rgba(255, 204, 0, 0.35); /* Upward glow reflection */
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--brand-yellow);
    box-shadow: 0 0 10px var(--brand-yellow), 0 4px 20px rgba(255, 204, 0, 0.7); /* Deep intense underglow */
    transition: width 0.3s ease;
}

.main-nav a:hover::after, 
.main-nav a.active::after {
    width: 100%;
}
/* MEGA MENU */
.main-nav .has-mega-menu {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff; /* Bright, clean corporate white */
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--brand-yellow);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    padding: 3rem 0 4rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.35s; /* Fare menüden çıkarsa kapanmak için 0.35 saniye bekletir */
    z-index: 8500;
    display: flex;
    justify-content: center;
}

.main-nav a:hover + .mega-menu,
.mega-menu:hover,
.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0s; /* Fare üzerine gelindiğinde anında açılır */
}

.mega-menu-inner {
    width: 100%;
    max-width: 1400px; /* Slightly wider to accommodate full texts */
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 0 2%;
}

.mega-menu-column h4 {
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 0.75rem;
    line-height: 1.4;
}

[data-theme='dark'] .mega-menu {
    background-color: #121212;
    border-top: 1px solid rgba(255,255,255,0.05);
}

[data-theme='dark'] .mega-menu-column h4 {
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mega-menu-list {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mega-menu-list a {
    color: #555555 !important;
    font-size: 0.9rem !important;
    text-shadow: none !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

[data-theme='dark'] .mega-menu-list a {
    color: #a0a0a0 !important;
}

.mega-menu-list a i {
    color: var(--brand-yellow);
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.mega-menu-list a::after {
    display: none !important;
}

.mega-menu-list a:hover {
    color: #1a1a1a !important;
    transform: translateX(5px);
}

[data-theme='dark'] .mega-menu-list a:hover {
    color: #ffffff !important;
}
.theme-toggle-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--brand-yellow);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.theme-toggle-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

.btn-header-cta {
    background: linear-gradient(135deg, #ffdf60 0%, var(--brand-yellow) 50%, #dfa500 100%) !important;
    color: var(--brand-black) !important;
    padding: 0.65rem 1.6rem;
    border-radius: 50px; /* Fully rounded oval pill shape */
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.7), 0 4px 15px rgba(255, 204, 0, 0.4); /* Crystal / Billur reflection */
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-left: 0.5rem;
    text-shadow: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-header-cta::after {
    display: none !important;
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

/* ==========================================================================
   HERO SLIDER SECTION
   ========================================================================== */
.hero-slider-section {
    position: relative;
    height: 70vh;
    min-height: 550px;
    background-color: var(--bg-white);
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--brand-yellow);
    border: 2px solid var(--brand-yellow);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: var(--brand-yellow);
    color: var(--brand-black);
}

.prev-btn { left: 2%; }
.next-btn { right: 2%; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 60px; /* Shifted up to avoid overlapping with the slanted yellow marquee ribbon */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 15px;
    height: 5px;
    background: rgba(0,0,0,0.3);
    border-radius: 5px;
    cursor: pointer;
    transition: width 0.3s;
    position: relative;
    overflow: hidden;
}

[data-theme='dark'] .slider-dots .dot { background: rgba(255,255,255,0.3); }

.slider-dots .dot.active {
    width: 30px;
}

.slider-dots .dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--brand-yellow);
    border-radius: 5px;
}

.slider-dots .dot.active::after {
    animation: fillProgress 5s linear forwards;
}

@keyframes fillProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

.hero-overlay-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 45%, rgba(255,255,255,0.85) 55%, transparent 70%);
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Much tighter, steeper gradient to save the 3D logo on the right side */
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 30%, rgba(255,255,255,0.6) 45%, transparent 55%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.text-yellow {
    color: var(--brand-yellow);
}

.btn-primary {
    display: inline-block;
    background-color: var(--brand-yellow);
    color: var(--text-dark);
    font-weight: 800;
    font-size: 1rem;
    padding: 1.2rem 2.5rem;
    border-radius: 8px; /* Clean flat slight rounded */
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

/* ==========================================================================
   SLANTED MARQUEE RIBBON
   ========================================================================== */
.marquee-ribbon-container {
    width: 100%;
    background-color: var(--brand-yellow);
    color: var(--brand-black);
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
    transform: rotate(-2deg) scale(1.05); /* The signature slanted look */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: -1.5rem 0 3rem 0; /* Pulls it up over the hero section slightly */
}

/* Hard reset for dark mode overlap */
[data-theme='dark'] .marquee-ribbon-container {
    background-color: var(--brand-yellow);
    color: #0c0c0c;
}

.marquee-ribbon-content {
    display: flex;
    align-items: center; /* This ensures perfect vertical centering */
    white-space: nowrap;
    animation: ribbon-scroll 20s linear infinite;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.marquee-ribbon-content span {
    display: inline-block;
    padding: 0 2rem;
}

.marquee-ribbon-content .dot {
    font-size: 1.5rem;
    transform: translateY(-2px); /* Optical centering for a perfect middle fit */
}

@keyframes ribbon-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 2rem)); }
}

/* ==========================================================================
   SERVICES SECTION (HİZMETLERİMİZ)
   ========================================================================== */
.services-section {
    background-color: var(--bg-light);
    padding: 6rem 0;
    position: relative;
    z-index: 3;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--brand-black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: stretch;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-neumorphic);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

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

.card-icon {
    font-size: 4.5rem;
    color: var(--brand-yellow);
    -webkit-text-stroke: 0;
    text-shadow: none;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.12));
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.service-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-body h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand-black);
    margin-bottom: 0.5rem;
}

.card-body p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.4;
    margin-bottom: 0;
}

.card-action {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 35px;
    height: 35px;
    background-color: var(--brand-yellow);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-black);
    font-size: 0.9rem;
    transition: background-color 0.2s;
    cursor: pointer;
}

.card-action:hover {
    background-color: #e6b800;
}

/* ==========================================================================
   HİZMETLERİMİZ (8-CARD GRID SECTION)
   ========================================================================== */
.hizmetlerimiz-section {
    padding: 5rem 0 8rem 0;
    background-color: #ededed; /* Slight contrast to make white cards pop */
    position: relative;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-line {
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-black);
    position: relative;
    padding-bottom: 10px;
}

.section-title-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 4px;
    background-color: var(--brand-yellow);
}

.hk-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.hk-card {
    width: calc(33.333% - 1rem); /* Exactly 3 columns with gap accounted */
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 5px solid var(--brand-yellow);
    display: flex;
    flex-direction: column;
}

.hk-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.hk-icon-area {
    background: radial-gradient(circle at center, #f5f5f5 0%, #ffffff 100%);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--brand-black);
    position: relative;
}

/* Subtle glowing dots in the background to mimic the visual bokeh */
.hk-icon-area::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,204,0,0.2) 2px, transparent 2px);
    background-size: 40px 40px;
    background-position: 0 0;
    opacity: 0.5;
}

.hk-icon-area i {
    position: relative;
    z-index: 2;
    color: var(--brand-yellow);
    -webkit-text-stroke: 0;
    text-shadow: none;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.12));
    transition: transform 0.3s;
}

.hk-card:hover .hk-icon-area i {
    transform: scale(1.1) translateY(-5px);
}

.hk-card-body {
    padding: 1.5rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hk-card-body h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-black);
    margin-bottom: 0.5rem;
}

.hk-divider {
    width: 30px;
    height: 2px;
    background-color: var(--brand-yellow);
    margin: 10px auto;
}

.hk-card-body p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.hizmet-action {
    text-align: center;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    background-color: var(--brand-yellow);
    color: #1a1a1a !important;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
    transition: transform 0.2s;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.app-footer {
    background-color: var(--brand-black);
    color: var(--bg-white);
    padding: 4rem 0 2rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-left .brand-logo {
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
    background-color: var(--brand-yellow);
    color: var(--brand-black);
    border-color: var(--brand-yellow);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.footer-right {
    display: flex;
    align-items: flex-end;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.9rem;
    color: #cccccc;
}

.info-item i {
    color: var(--brand-yellow);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #888888;
}

.footer-bottom-break { display: none; }

/* ==========================================================================
   TRUSTED BRANDS MARQUEE
   ========================================================================== */
.trusted-brands-section {
    padding: 2rem 0 6rem 0;
    background-color: var(--bg-light); /* Matches body to blend in */
    overflow: hidden;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 6rem;
    width: max-content;
    animation: scroll-marquee 35s linear infinite;
}

.marquee-track img {
    height: 80px;
    width: auto;
    max-width: 250px; /* safety limit */
    object-fit: contain;
    /* Elegant desaturation */
    filter: grayscale(80%) opacity(0.7);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.marquee-track img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 2rem)); } /* -50% shifts halfway (1 set) */
}

/* ==========================================================================
   FLOATING CONTACT WIDGET
   ========================================================================== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.6; /* Starts partially transparent */
    transition: opacity 0.3s ease;
}

.floating-contact:hover, 
.floating-contact.active {
    opacity: 1; /* Fully appears when hovered or clicked */
}

.fc-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: bottom center;
}

.floating-contact.active .fc-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.fc-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
        color: var(--brand-black);
        font-size: 1.8rem;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
        transition: transform 0.2s, box-shadow 0.2s;
    }
    
    .fc-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(255, 204, 0, 0.8);
    }
    
    .fc-call {
        background-color: var(--brand-yellow);
    }
    
    .fc-whatsapp {
        background-color: var(--brand-yellow);
    }

    .fc-toggle {
        width: 65px;
        height: 65px;
        border-radius: 50%;
        background-color: var(--brand-black);
        color: var(--brand-yellow);
        border: 2px solid var(--brand-yellow);
        cursor: pointer;
        font-size: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 5px 20px rgba(255, 204, 0, 0.3);
        transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), background-color 0.3s, color 0.3s;
        position: relative;
    }
    
    .fc-toggle:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(255, 204, 0, 0.5);
    }
    
    .fc-toggle .fc-icon-close {
        position: absolute;
        opacity: 0;
        transform: rotate(-90deg) scale(0.5);
        transition: all 0.3s ease;
    }
    
    .fc-toggle .fc-icon-open {
        position: absolute;
        opacity: 1;
        transform: rotate(0) scale(1);
        transition: all 0.3s ease;
    }
    
    .floating-contact.active .fc-toggle {
        background-color: var(--brand-yellow);
        color: var(--brand-black);
    }

.floating-contact.active .fc-toggle .fc-icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.floating-contact.active .fc-toggle .fc-icon-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Portfolio Highlight Button */
.btn-show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    /* Light Mode Default: Siyah içi sarı yazı, siyah gölge */
    background: #1a1a1a;
    color: var(--brand-yellow);
    border: none;
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.6);
}
.btn-show-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 26, 26, 0.8);
}

[data-theme='dark'] .btn-show-more {
    /* Dark Mode Defaults: Sarı içi siyah yazı, sarı karanlık gölge parlama */
    background: var(--brand-yellow);
    color: #1a1a1a;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.5), 0 4px 15px rgba(255, 204, 0, 0.8);
}
[data-theme='dark'] .btn-show-more:hover {
    box-shadow: 0 0 35px rgba(255, 204, 0, 0.8), 0 8px 25px rgba(255, 204, 0, 1);
}
/* ==========================================================================
   ABOUT PAGE RE-USABLE GRIDS
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-features-grid { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Contact Page Grids */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* Service Detail Layout */
.service-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 5rem; }

/* Services Categories Grid */
.services-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.mobile-menu-toggle { display: none; }

/* Responsive */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hk-card { width: calc(50% - 0.75rem); } /* 2 per row */
}

@media (max-width: 768px) {
    /* Prevent overall horizontal scroll */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: var(--brand-yellow);
        border: none;
        color: var(--brand-black);
        width: 40px;
        height: 35px;
        border-radius: 8px;
        font-size: 1.2rem;
        cursor: pointer;
        margin-left: 5px;
        box-shadow: 0 4px 10px rgba(255,204,0,0.3);
    }
    
    .main-nav ul {
        position: fixed !important;
        top: 80px;
        left: -100%;
        width: 100vw;
        height: calc(100vh - 80px);
        background: var(--brand-black);
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding: 2rem 8%;
        padding-bottom: 100px;
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 8500;
        overflow-y: auto;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-nav ul.show-mobile {
        left: 0;
    }
    
    .main-nav ul li { width: 100%; }
    .main-nav ul a { 
        display: block; 
        font-size: 1.3rem !important; 
        padding: 12px 0; 
        border-bottom: 1px solid rgba(255,255,255,0.08); 
    }
    /* Mobile Mega Menu Accordion Styles - BEAUTIFIED */
    .mega-menu { 
        position: relative !important; 
        top: 0 !important;
        display: none !important; 
        transform: none !important; 
        opacity: 1 !important; 
        visibility: visible !important;
        background: transparent !important; 
        box-shadow: none !important;
        border-left: 1px solid rgba(255,255,255,0.1) !important; 
        padding-left: 20px !important; 
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    .mega-menu.mobile-open { display: block !important; }
    .mega-menu-inner { display: flex !important; flex-direction: column; gap: 0.5rem !important; }
    
    .mega-menu-column h4 { 
        font-size: 0.9rem !important; 
        color: var(--brand-yellow) !important; 
        margin-bottom: 0.25rem !important; 
        margin-top: 1.5rem !important; 
        border-bottom: none !important; 
        letter-spacing: 1px;
        opacity: 0.9;
    }
    .mega-menu-column:first-child h4 { margin-top: 0 !important; }
    
    .mega-menu-list { gap: 0 !important; }
    .mega-menu-list a { 
        font-size: 0.9rem !important; 
        padding: 12px 0 !important; 
        border-bottom: 1px solid rgba(255,255,255,0.05) !important; 
        color: #e2e8f0 !important; 
        font-weight: 400 !important;
    }
    .mega-menu-list a:hover { color: #ffffff !important; padding-left: 5px !important; }
    .mega-menu-list a i { color: var(--brand-yellow) !important; opacity: 0.7; margin-right: 8px; font-size: 0.8rem; }
    
    /* Resize Header elements to fit mobile */
    .brand-text { display: inline-flex !important; font-size: 1.25rem !important; letter-spacing: -1px !important; }
    .brand-logo { margin-right: auto; gap: 6px !important; }
    .app-header img { height: 36px !important; }
    
    .app-header .btn-header-cta { display: none !important; } /* Mobilde tüm cta butonları gizlendi */
    
    .footer-bottom {
        padding-bottom: 4rem !important; /* Floating butona (Chat) alan açmak için eklendi */
        line-height: 1.6;
    }
    
    .footer-bottom-separator { display: none !important; } /* Mobilde aradaki | çizgisini gizle */
    .footer-bottom-break { display: block !important; margin-top: 5px; } /* Mobilde alt satıra at */
    .slider-btn { display: none !important; } /* Mobilde Slider okları ekranı kapatmasın */
    .hero-content { left: 5%; width: 90%; text-align: center; }
    .hero-title { font-size: 1.8rem; line-height: 1.2; }
    .hero-content p { font-size: 0.95rem !important; margin: 0 auto 1.5rem auto !important; }
    .btn-primary { padding: 1rem 1.5rem; font-size: 0.9rem; }
    
    .hero-overlay-shape {
        background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 100%);
    }
    
    [data-theme='dark'] .hero-overlay-shape {
        background: linear-gradient(to top, rgba(24,25,26,1) 0%, rgba(24,25,26,0.7) 100%);
    }

    .showcase-overlay {
        background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 100%);
    }

    [data-theme='dark'] .showcase-overlay {
        background: linear-gradient(to top, rgba(24,25,26,1) 0%, rgba(24,25,26,0.7) 100%);
    }
    
    /* Mobile Portfolio Filter Pills */
    #filterContainer {
        gap: 0.5rem !important;
    }
    .port-filter-btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.85rem !important;
    }

    /* Mobile Image Wrap Fixes (Admin Panel WYSIWYG) */
    #serviceDetailsText img {
        float: none !important;
        display: block !important;
        margin: 1.5rem auto !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* Fix marquee ribbon scaling issue on mobile */
    .marquee-ribbon-container {
        transform: rotate(-3deg) scale(1.1);
        padding: 1rem 0;
    }
    .marquee-ribbon-content {
        font-size: 1.2rem;
    }

    /* Services & Cards */
    .services-grid { grid-template-columns: repeat(1, 1fr); padding: 0 10px; }
    .hk-card { width: 100% !important; max-width: 400px; margin: 0 auto; } /* 1 per row */
    .hk-grid { padding: 0 10px; flex-direction: column !important; align-items: center; }
    
    /* About & Contact Grids */
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-features-grid { grid-template-columns: 1fr; }
    .about-image { margin-top: 2rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form-grid { grid-template-columns: 1fr; }
    .services-cat-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .service-details-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .footer-inner { flex-direction: column; text-align: center; align-items: center; gap: 2rem; }
    .footer-left { justify-content: center !important; flex-direction: column; gap: 1.5rem !important; }
    .footer-right { align-items: center; }
    .contact-info { align-items: center; }
    .social-icons { justify-content: center; width: 100%; }
}
