/* ====================================================
   HAN SER YAPI OTOMASYON - Professional CSS
   Tum renkler CSS degiskenine baglidir.
   Admin > Renk Yonetimi nden degistirilebilir.
==================================================== */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Poppins', sans-serif;
    background: var(--body-bg, #ffffff);
    color: var(--text-body, #0c1626);
    overflow-x: hidden;
    line-height: 1.7;
}
img, svg, video { max-width: 100%; height: auto; }

/* CSS VARIABLES - Fallback (asil degerler _Layout.cshtml den gelir) */
:root {
    --blue:        #1245d2;
    --blue-rgb:    18, 69, 210;
    --cyan:        #00c2de;
    --cyan-rgb:    0, 194, 222;
    --orange:      #c8891a;
    --orange-rgb:  200, 137, 26;
    --purple:      #6420e0;
    --purple-rgb:  100, 32, 224;
    --dark:        #020c1b;
    --dark-rgb:    2, 12, 27;
    --dark2:       #061528;
    --dark2-rgb:   6, 21, 40;
    --footer-bg:   #010508;
    --section-alt: #edf1fc;
    --body-bg:     #ffffff;
    --text-body:   #0c1626;
    --star-color:  #d4920a;
    --light:       #edf1fc;
    --gray:        #5a6880;
    --white:       #ffffff;
    --radius:      16px;
    --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* TYPOGRAPHY */
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.2; }
.gradient-text {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-padding    { padding: 100px 0; }
.section-padding-sm { padding: 60px 0; }.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(var(--blue-rgb),.10), rgba(var(--cyan-rgb),.10));
    border: 1px solid rgba(var(--blue-rgb),.30);
    color: var(--blue); padding: 6px 18px; border-radius: 50px;
    font-size: 13px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 16px;
}
.section-title { font-size: clamp(28px,4vw,48px); font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.section-subtitle { font-size: 17px; color: var(--gray); max-width: 600px; margin: 0 auto; }
.section-desc { font-size: 15px; color: var(--gray); margin-bottom: 16px; }

/* BUTTONS */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--blue), rgba(var(--blue-rgb),.75));
    color: white !important; padding: 12px 28px; border-radius: 50px;
    font-weight: 600; font-size: 14px; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    border: none; cursor: pointer; transition: var(--transition);
    box-shadow: 0 8px 30px rgba(var(--blue-rgb),.35);
}
.btn-primary-custom:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(var(--blue-rgb),.50); color: white !important; }

/* NAVBAR */
#mainNavbar {
    background: rgba(var(--dark-rgb),0.00); backdrop-filter: blur(0px);
    padding: 20px 0; transition: all 0.4s ease;
    border-bottom: 1px solid transparent; z-index: 1000;
}
#mainNavbar.scrolled {
    background: rgba(var(--dark-rgb),0.97); backdrop-filter: blur(20px);
    padding: 12px 0; border-bottom: 1px solid rgba(var(--blue-rgb),.20);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 12px; display: flex; align-items: center;
    justify-content: center; font-size: 20px; color: white;
    box-shadow: 0 4px 15px rgba(var(--blue-rgb),.40);
}
.brand-text { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 600; color: white; letter-spacing: .5px; }
.brand-text strong { font-weight: 800; }
.brand-accent { color: var(--cyan); }
#mainNavbar .nav-link { color: rgba(255,255,255,.85) !important; font-size: 14px; font-weight: 500; padding: 8px 16px !important; border-radius: 8px; transition: var(--transition); position: relative; }
#mainNavbar .nav-link:hover, #mainNavbar .nav-link.active { color: white !important; background: rgba(var(--blue-rgb),.15); }
#mainNavbar .nav-link::after { content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%) scaleX(0); width: 20px; height: 2px; background: var(--cyan); border-radius: 2px; transition: var(--transition); }
#mainNavbar .nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.toggler-icon { color: white; font-size: 22px; }
.navbar-toggler { border: none; background: none; padding: 4px; }
.navbar-toggler:focus { box-shadow: none; }

/* HERO */
.hero-section {
    position: relative; min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, var(--dark) 100%);
    overflow: hidden; display: flex; align-items: center;
}
#heroCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at 70% 50%, rgba(var(--blue-rgb),.08) 0%, transparent 70%); z-index: 2; }
.hero-content { position: relative; z-index: 3; padding-top: 100px; }
.hero-badge {
    display: inline-flex; align-items: center;
    background: linear-gradient(135deg, rgba(var(--cyan-rgb),.15), rgba(var(--blue-rgb),.10));
    border: 1px solid rgba(var(--cyan-rgb),.30); color: var(--cyan);
    padding: 8px 20px; border-radius: 50px; font-size: 13px; font-weight: 500;
    margin-bottom: 24px; animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(var(--cyan-rgb),0); } 50% { box-shadow: 0 0 0 8px rgba(var(--cyan-rgb),.08); } }
.hero-title { font-size: clamp(38px,5.5vw,72px); font-weight: 900; color: white; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
#typingText { color: var(--orange); border-right: 3px solid var(--orange); padding-right: 4px; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,.7); max-width: 560px; margin-bottom: 36px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }
.btn-hero-primary {
    background: linear-gradient(135deg, var(--blue), rgba(var(--blue-rgb),.75));
    color: white; padding: 16px 36px; border-radius: 50px; font-weight: 700; font-size: 15px;
    text-decoration: none; display: inline-flex; align-items: center;
    transition: var(--transition); box-shadow: 0 10px 40px rgba(var(--blue-rgb),.45);
}
.btn-hero-primary:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(var(--blue-rgb),.60); color: white; }
.btn-hero-secondary {
    background: transparent; color: white; padding: 15px 32px; border-radius: 50px;
    font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex;
    align-items: center; border: 2px solid rgba(255,255,255,.3); transition: var(--transition);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.1); border-color: white; color: white; transform: translateY(-4px); }
.hero-stats { display: flex; align-items: center; gap: 28px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .stat-num { font-size: 32px; font-weight: 800; color: white; font-family: 'Montserrat', sans-serif; line-height: 1; }
.hero-stat span:not(.stat-num):not(.stat-label) { font-size: 20px; color: var(--cyan); font-weight: 800; display: inline; }
.hero-stat .stat-label { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 500; margin-top: 4px; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }
.hero-3d-card { width: 420px; height: 420px; perspective: 1200px; }
.card-inner { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: rotateCard 20s linear infinite; }
@keyframes rotateCard {
    0%   { transform: rotateY(0deg) rotateX(5deg); }
    25%  { transform: rotateY(90deg) rotateX(8deg); }
    50%  { transform: rotateY(180deg) rotateX(5deg); }
    75%  { transform: rotateY(270deg) rotateX(2deg); }
    100% { transform: rotateY(360deg) rotateX(5deg); }
}
.hero-building-icon {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%); width: 140px; height: 140px;
    background: linear-gradient(135deg, rgba(var(--blue-rgb),.20), rgba(var(--cyan-rgb),.10));
    border: 2px solid rgba(var(--blue-rgb),.40); border-radius: 30px;
    display: flex; align-items: center; justify-content: center; font-size: 60px;
    color: var(--cyan); backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(var(--blue-rgb),.30); z-index: 2;
}
.pulse-ring { position: absolute; width: 140px; height: 140px; border: 2px solid rgba(var(--cyan-rgb),.30); border-radius: 30px; animation: pulse3D 3s ease-out infinite; }
.pulse-ring.delay-1 { animation-delay: 1s; }
.pulse-ring.delay-2 { animation-delay: 2s; }
@keyframes pulse3D { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.floating-card { position: absolute; background: rgba(var(--dark2-rgb),.90); border: 1px solid rgba(var(--blue-rgb),.30); backdrop-filter: blur(15px); border-radius: 14px; padding: 12px 18px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: white; box-shadow: 0 10px 30px rgba(0,0,0,.3); white-space: nowrap; }
.floating-card i { font-size: 20px; color: var(--cyan); filter: drop-shadow(0 0 8px var(--cyan)); }
.card-1 { top: 5%; left: -10%; animation: float1 4s ease-in-out infinite; }
.card-2 { top: 5%; right: -10%; animation: float2 4.5s ease-in-out infinite .5s; }
.card-3 { bottom: 15%; left: -15%; animation: float1 5s ease-in-out infinite 1s; }
.card-4 { bottom: 5%; right: -5%; animation: float2 3.8s ease-in-out infinite 1.5s; }
@keyframes float1 { 0%,100% { transform: translateY(0px) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes float2 { 0%,100% { transform: translateY(0px) rotate(2deg); } 50% { transform: translateY(-15px) rotate(-2deg); } }
.hero-scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; text-align: center; }
.hero-scroll-indicator a { color: rgba(255,255,255,.6); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; animation: bounce 2.5s ease-in-out infinite; }
.scroll-mouse { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 13px; position: relative; display: flex; justify-content: center; }
.scroll-wheel { width: 4px; height: 10px; background: var(--cyan); border-radius: 2px; margin-top: 6px; animation: scrollWheel 1.8s ease-in-out infinite; }
@keyframes scrollWheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* MARQUEE */
.marquee-bar { background: linear-gradient(135deg, var(--blue), rgba(var(--blue-rgb),.75)); padding: 14px 0; overflow: hidden; position: relative; }
.marquee-content { display: flex; gap: 48px; white-space: nowrap; animation: marqueeScroll 30s linear infinite; width: max-content; }
.marquee-content span { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9); display: flex; align-items: center; gap: 8px; }
.marquee-content span i { color: var(--cyan); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ABOUT */
.about-section { background: var(--section-alt); }
.about-img-wrapper { position: relative; width: 100%; min-height: 480px; display: flex; align-items: center; justify-content: center; }
.about-shape-1 { position: absolute; top: 0; left: 0; width: 300px; height: 300px; background: linear-gradient(135deg, rgba(var(--blue-rgb),.08), rgba(var(--cyan-rgb),.05)); border-radius: 50%; filter: blur(60px); }
.about-shape-2 { position: absolute; bottom: 0; right: 0; width: 250px; height: 250px; background: linear-gradient(135deg, rgba(var(--purple-rgb),.08), rgba(var(--orange-rgb),.05)); border-radius: 50%; filter: blur(50px); }
.about-main-card { background: white; border-radius: 28px; padding: 40px; box-shadow: 0 20px 60px rgba(var(--blue-rgb),.12); border: 1px solid rgba(var(--blue-rgb),.08); width: 100%; max-width: 400px; position: relative; z-index: 2; }
.about-icon-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.icon-item { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--section-alt); border-radius: 16px; padding: 16px 8px; border: 1px solid rgba(var(--blue-rgb),.06); transition: var(--transition); cursor: default; }
.icon-item:hover { background: linear-gradient(135deg, rgba(var(--blue-rgb),.08), rgba(var(--cyan-rgb),.05)); border-color: rgba(var(--blue-rgb),.20); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(var(--blue-rgb),.10); }
.icon-item i { font-size: 28px; background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.icon-item span { font-size: 11px; font-weight: 600; color: var(--dark); text-align: center; }
.experience-badge { position: absolute; top: -20px; right: 20px; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white; border-radius: 20px; padding: 16px 20px; text-align: center; box-shadow: 0 10px 30px rgba(var(--blue-rgb),.40); z-index: 3; }
.exp-num { font-size: 28px; font-weight: 900; display: block; line-height: 1; }
.exp-text { font-size: 11px; font-weight: 500; opacity: .9; line-height: 1.4; }
.cert-badge { position: absolute; bottom: 10px; left: -10px; background: white; border: 1px solid rgba(var(--blue-rgb),.15); border-radius: 14px; padding: 12px 18px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--dark); box-shadow: 0 8px 25px rgba(0,0,0,.1); z-index: 3; }
.cert-badge i { color: var(--orange); font-size: 18px; }
.about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.about-feature-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px; background: white; border-radius: 14px; border: 1px solid rgba(var(--blue-rgb),.08); transition: var(--transition); }
.about-feature-item:hover { border-color: rgba(var(--blue-rgb),.20); box-shadow: 0 6px 20px rgba(var(--blue-rgb),.08); transform: translateX(4px); }
.feature-icon { font-size: 24px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.about-feature-item strong { font-size: 15px; color: var(--dark); display: block; margin-bottom: 4px; }
.about-feature-item p { font-size: 13px; color: var(--gray); margin: 0; }

/* STATS */
.stats-section { position: relative; background: var(--dark); padding: 60px 0; overflow: hidden; }
.stats-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, var(--dark) 100%); }
.stats-bg::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(var(--blue-rgb),.08) 0%, transparent 70%); }
.stat-item { text-align: center; padding: 40px 20px; position: relative; }
.stat-item + .stat-item::before { content: ''; position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 1px; height: 60px; background: rgba(255,255,255,.08); }
.stat-icon { font-size: 36px; color: var(--cyan); margin-bottom: 12px; filter: drop-shadow(0 0 12px rgba(var(--cyan-rgb),.40)); }
.stat-number { font-size: 52px; font-weight: 900; font-family: 'Montserrat',sans-serif; background: linear-gradient(135deg,white,var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; display: inline-block; }
.stat-plus { font-size: 28px; color: var(--cyan); font-weight: 800; display: inline-block; vertical-align: top; margin-top: 8px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 500; margin-top: 8px; letter-spacing: .5px; }

/* SERVICES */
.services-section { background: white; }
.service-card { height: 100%; border-radius: var(--radius); overflow: hidden; transition: var(--transition); cursor: default; }
.service-card-inner { padding: 36px 30px; background: var(--section-alt); border: 1px solid rgba(var(--blue-rgb),.08); border-radius: var(--radius); height: 100%; position: relative; transition: var(--transition); display: flex; flex-direction: column; }
.service-card:hover .service-card-inner { background: white; border-color: rgba(var(--blue-rgb),.20); box-shadow: 0 20px 60px rgba(var(--blue-rgb),.12); transform: translateY(-8px); }
.service-card.featured .service-card-inner { background: linear-gradient(145deg, var(--dark), var(--dark2)); border-color: rgba(var(--blue-rgb),.30); box-shadow: 0 20px 60px rgba(var(--blue-rgb),.25); }
.service-card.featured .service-card-inner h3,
.service-card.featured .service-card-inner p,
.service-card.featured .service-card-inner .service-list li { color: white !important; }
.featured-badge { position: absolute; top: 20px; right: 20px; background: linear-gradient(135deg, var(--orange), rgba(var(--orange-rgb),.75)); color: white; padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.service-icon { width: 68px; height: 68px; background: linear-gradient(135deg, rgba(var(--blue-rgb),.10), rgba(var(--cyan-rgb),.08)); border: 1px solid rgba(var(--blue-rgb),.20); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--blue); margin-bottom: 20px; transition: var(--transition); }
.service-card:hover .service-icon, .service-card.featured .service-icon { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white; border-color: transparent; box-shadow: 0 8px 25px rgba(var(--blue-rgb),.35); transform: scale(1.05) rotate(5deg); }
.service-number { position: absolute; top: 24px; right: 24px; font-size: 52px; font-weight: 900; color: rgba(var(--blue-rgb),.06); font-family: 'Montserrat',sans-serif; line-height: 1; }
.service-card.featured .service-number { color: rgba(255,255,255,.05); }
.service-card-inner h3 { font-size: 19px; color: var(--dark); margin-bottom: 12px; font-weight: 700; }
.service-card-inner p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 20px; }
.service-list { list-style: none; padding: 0; margin-bottom: 24px; flex: 1; }
.service-list li { font-size: 13px; color: var(--gray); padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.service-list li i { color: var(--blue); font-size: 10px; }
.service-link { color: var(--blue); font-size: 13px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: var(--transition); margin-top: auto; }
.service-link:hover { gap: 10px; color: var(--cyan); }
.service-card.featured .service-link { color: var(--cyan); }

/* PROJECTS */
.projects-section { position: relative; overflow: hidden; }
.projects-bg { position: absolute; inset: 0; background: linear-gradient(145deg, var(--dark), var(--dark2), var(--dark)); }
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: rgba(var(--dark2-rgb),.60); border: 1px solid rgba(var(--blue-rgb),.15); transition: var(--transition); }
.project-card:hover { transform: translateY(-6px); border-color: rgba(var(--blue-rgb),.40); box-shadow: 0 20px 60px rgba(var(--blue-rgb),.20); }
.project-card-large { min-height: 400px; }
.project-card-small { min-height: 180px; }

/* Referans kart görseli — tam kapama */
.project-card-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.55s cubic-bezier(.4,0,.2,1);
    display: block;
}
.project-card:hover .project-card-img { transform: scale(1.07); }

.project-icon-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 120px; color: rgba(var(--blue-rgb),.04); z-index: 1; transition: var(--transition); }
.project-card:hover .project-icon-bg { color: rgba(var(--blue-rgb),.07); transform: translate(-50%,-50%) scale(1.1); }
.project-card-large .project-icon-bg { font-size: 200px; }
.project-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; background: linear-gradient(to top, rgba(var(--dark-rgb),.95) 0%, transparent 100%); z-index: 2; }
.project-card-large .project-overlay { padding: 36px; }
.project-category { display: inline-block; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white; padding: 4px 14px; border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: .5px; margin-bottom: 10px; text-transform: uppercase; }
.project-overlay h3 { color: white; font-size: 18px; margin-bottom: 8px; }
.project-card-large .project-overlay h3 { font-size: 24px; }
.project-overlay p { color: rgba(255,255,255,.65); font-size: 13px; margin-bottom: 12px; line-height: 1.6; }
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.project-tags span { background: rgba(var(--blue-rgb),.20); border: 1px solid rgba(var(--blue-rgb),.30); color: var(--cyan); padding: 3px 12px; border-radius: 50px; font-size: 11px; font-weight: 600; }

/* Referans kart butonları */
.ref-view-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); color: white; padding: 7px 16px; border-radius: 50px; font-size: 12px; font-weight: 600; transition: var(--transition); cursor: pointer; }
.ref-view-btn:hover { background: rgba(var(--blue-rgb),.50); border-color: var(--cyan); }
.ref-clickable { cursor: pointer; }
.service-btn-detail { background: linear-gradient(135deg, rgba(var(--blue-rgb),.15), rgba(var(--cyan-rgb),.10)); border: 1px solid rgba(var(--blue-rgb),.30); color: var(--blue); padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.service-btn-detail:hover { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white; border-color: transparent; box-shadow: 0 6px 20px rgba(var(--blue-rgb),.35); }
.service-card.featured .service-btn-detail { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: white; }
.service-card-actions { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; }



/* BRANDS */
.brands-section { background: white; }
.brands-label { font-size: 13px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 2px; }
.brands-slider { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.brand-item { background: var(--section-alt); border: 1px solid rgba(var(--blue-rgb),.08); border-radius: 12px; padding: 18px 28px; min-width: 120px; text-align: center; font-weight: 700; font-size: 15px; color: var(--gray); transition: var(--transition); cursor: default; }
.brand-item:hover { background: linear-gradient(135deg, rgba(var(--blue-rgb),.06), rgba(var(--cyan-rgb),.04)); border-color: rgba(var(--blue-rgb),.20); color: var(--blue); transform: translateY(-4px); box-shadow: 0 8px 25px rgba(var(--blue-rgb),.10); }

/* CONTACT */
.contact-section { background: var(--section-alt); }
.contact-info { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact-info-item { display: flex; gap: 18px; align-items: flex-start; padding: 20px; background: white; border-radius: 16px; border: 1px solid rgba(var(--blue-rgb),.08); transition: var(--transition); }
.contact-info-item:hover { border-color: rgba(var(--blue-rgb),.20); box-shadow: 0 6px 20px rgba(var(--blue-rgb),.08); }
.contact-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: white; flex-shrink: 0; box-shadow: 0 6px 18px rgba(var(--blue-rgb),.30); }
.contact-info-item h5 { font-size: 14px; color: var(--dark); margin-bottom: 4px; font-weight: 700; }
.contact-info-item p { font-size: 13px; color: var(--gray); margin: 0; line-height: 1.7; }
.contact-info-item a { color: var(--blue); text-decoration: none; font-weight: 500; }
.contact-info-item a:hover { color: var(--cyan); }
.map-placeholder { background: linear-gradient(135deg, var(--dark), var(--dark2)); border-radius: 16px; height: 180px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(var(--blue-rgb),.20); overflow: hidden; position: relative; }
.map-inner { text-align: center; color: white; z-index: 1; }
.map-inner i { font-size: 40px; color: var(--cyan); display: block; margin-bottom: 8px; }
.map-inner p { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.contact-form-wrapper { background: white; border-radius: 24px; padding: 40px; box-shadow: 0 20px 60px rgba(var(--blue-rgb),.12); border: 1px solid rgba(var(--blue-rgb),.08); }
.contact-form-wrapper h3 { font-size: 26px; color: var(--dark); margin-bottom: 8px; }
.contact-form-wrapper > p { font-size: 14px; color: var(--gray); margin-bottom: 28px; }
.form-group-custom { display: flex; flex-direction: column; gap: 6px; }
.form-group-custom label { font-size: 13px; font-weight: 600; color: var(--dark); }
.form-control-custom { background: var(--section-alt); border: 1.5px solid rgba(var(--blue-rgb),.12); border-radius: 12px; padding: 12px 16px; font-size: 14px; color: var(--dark); font-family: 'Poppins',sans-serif; transition: var(--transition); width: 100%; outline: none; }
.form-control-custom:focus { border-color: var(--blue); background: white; box-shadow: 0 0 0 4px rgba(var(--blue-rgb),.08); }
.form-control-custom::placeholder { color: #adb5bd; }
select.form-control-custom { cursor: pointer; }
textarea.form-control-custom { resize: none; }

/* FOOTER */
.footer-section { background: var(--footer-bg); }
.footer-top { padding: 80px 0 60px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand .brand-text { font-size: 18px; }
.footer-desc { color: rgba(255,255,255,.5); font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 40px; height: 40px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); text-decoration: none; font-size: 15px; transition: var(--transition); }
.social-links a:hover { background: var(--blue); border-color: var(--blue); color: white; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(var(--blue-rgb),.35); }
.footer-title { font-size: 15px; font-weight: 700; color: white; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 2px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 14px; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '\203a'; color: var(--cyan); font-weight: 700; font-size: 16px; }
.footer-links a:hover { color: white; padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,.5); font-size: 13px; margin-bottom: 14px; line-height: 1.6; }
.footer-contact li i { color: var(--cyan); flex-shrink: 0; margin-top: 2px; font-size: 14px; }
.footer-contact a { color: rgba(255,255,255,.5); text-decoration: none; transition: var(--transition); }
.footer-contact a:hover { color: white; }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { color: rgba(255,255,255,.35); font-size: 13px; margin: 0; }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: white; text-decoration: none; z-index: 999; box-shadow: 0 8px 30px rgba(37,211,102,.5); transition: var(--transition); animation: whatsappPulse 2.5s ease-in-out infinite; }
.whatsapp-float:hover { transform: scale(1.15); color: white; box-shadow: 0 12px 40px rgba(37,211,102,.6); }
@keyframes whatsappPulse { 0%,100% { box-shadow: 0 8px 30px rgba(37,211,102,.5); } 50% { box-shadow: 0 8px 30px rgba(37,211,102,.5), 0 0 0 14px rgba(37,211,102,.12); } }
.whatsapp-tooltip { position: absolute; left: 70px; background: #25d366; color: white; padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transition: var(--transition); pointer-events: none; }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* BACK TO TOP */
.back-to-top { position: fixed; bottom: 100px; right: 30px; width: 46px; height: 46px; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-size: 16px; z-index: 999; opacity: 0; transform: translateY(20px); transition: var(--transition); box-shadow: 0 6px 20px rgba(var(--blue-rgb),.40); }
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); color: white; box-shadow: 0 10px 30px rgba(var(--blue-rgb),.50); }

/* ==========================================
   RESPONSIVE - MOBİL OPTİMİZASYON
   ========================================== */

/* Navbar mobile menu: dark glass panel */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(2,12,27,0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(var(--blue-rgb),.15);
        border-radius: 16px;
        padding: 16px;
        margin-top: 12px;
        box-shadow: 0 12px 40px rgba(0,0,0,.5);
    }
    #mainNavbar .nav-link { padding: 10px 14px !important; border-radius: 10px; }
    #mainNavbar .nav-link::after { display: none; }
    .section-padding { padding: 70px 0; }
    .hero-title { font-size: clamp(30px,6vw,52px); }
    .hero-stats { gap: 16px; }
    .radial-chart { max-width: 100%; }
    .about-img-wrapper { min-height: 360px; }
    /* Telefon butonu navbarda tam genişlik olsun */
    #mainNavbar .nav-item.ms-3 { margin-left: 0 !important; margin-top: 8px; }
    #mainNavbar .nav-item.ms-3 .btn { width: 100%; justify-content: center; }
}

/* Tablet ve küçük ekranlar */
@media (max-width: 767px) {
    .section-padding { padding: 56px 0; }
    .section-title { font-size: clamp(24px, 6vw, 36px); }
    .section-subtitle { font-size: 15px; }

    /* Hero */
    .hero-content { padding-top: 80px; padding-bottom: 60px; }
    .hero-title { font-size: clamp(28px,7vw,44px); letter-spacing: -.5px; }
    .hero-desc { font-size: 14px; margin-bottom: 28px; }
    .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 36px; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; padding: 14px 24px; font-size: 14px; }
    .hero-stats { flex-wrap: wrap; gap: 18px; justify-content: flex-start; }
    .hero-stat-divider { display: none; }
    .hero-stat .stat-num { font-size: 26px; }
    .hero-stat .stat-label { font-size: 11px; }
    .hero-scroll-indicator { display: none; }

    /* Stats */
    .stat-number { font-size: 40px; }
    .stat-item + .stat-item::before { display: none; }
    .stat-item { padding: 28px 12px; }

    /* About */
    .about-main-card { padding: 24px; max-width: 100%; }
    .about-feature-item { padding: 14px; }
    .about-feature-item strong { font-size: 14px; }
    .cert-badge { left: 0; font-size: 12px; padding: 10px 14px; }

    /* Services */
    .service-card-inner { padding: 24px 20px; }

    /* Contact */
    .contact-form-wrapper { padding: 24px 18px; border-radius: 18px; }
    .contact-form-wrapper h3 { font-size: 22px; }
    .contact-info-item { padding: 14px; gap: 14px; }
    .contact-icon { width: 42px; height: 42px; font-size: 16px; }

    /* Footer */
    .footer-top { padding: 50px 0 40px; }
    .footer-brand { margin-bottom: 14px; }
    .footer-desc { font-size: 13px; }
    .footer-title { font-size: 14px; margin-bottom: 14px; }
    .footer-links a, .footer-contact li { font-size: 13px; }

    /* WhatsApp & Back-to-top */
    .whatsapp-float { bottom: 20px; left: 16px; width: 52px; height: 52px; font-size: 24px; }
    .back-to-top { right: 16px; bottom: 80px; width: 42px; height: 42px; font-size: 15px; }

    /* Brands */
    .brand-item { padding: 14px 18px; min-width: 100px; font-size: 13px; }

    /* Gallery */
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 12px; }
}

/* Küçük mobil (< 576px) */
@media (max-width: 575px) {
    body { font-size: 14px; }
    .container { padding-left: 16px; padding-right: 16px; }

    /* Hero */
    .hero-content { padding-top: 70px; }
    .hero-badge { font-size: 11px; padding: 7px 14px; }
    .hero-title { font-size: clamp(24px, 8vw, 36px); }
    .hero-desc { font-size: 13px; max-width: 100%; }

    /* About icon grid */
    .about-icon-grid { grid-template-columns: repeat(3,1fr); gap: 8px; }
    .icon-item { padding: 10px 4px; }
    .icon-item i { font-size: 20px; }
    .icon-item span { font-size: 10px; }
    .experience-badge { top: -16px; right: 10px; padding: 12px 14px; }
    .exp-num { font-size: 22px; }

    /* Stats */
    .stats-section { padding: 40px 0; }
    .stat-number { font-size: 36px; }
    .stat-label { font-size: 12px; }

    /* Section heading */
    .section-label { font-size: 11px; padding: 5px 14px; }
    .section-title { font-size: clamp(22px, 6.5vw, 32px); }
    .section-subtitle { font-size: 14px; }

    /* Projects */
    .project-card-large { min-height: 300px; }
    .project-card-small { min-height: 150px; }

    /* Radial chart */
    .radial-chart { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .chart-item { padding: 20px 12px; }
    .chart-circle { width: 76px; height: 76px; }

    /* Footer ek */
    .footer-bottom { padding: 16px 0; }
    .footer-bottom p { font-size: 12px; text-align: center; }

    /* Contact form */
    .contact-form-wrapper { padding: 20px 14px; }

    /* WhatsApp tooltip gizle */
    .whatsapp-tooltip { display: none !important; }
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--blue), var(--cyan)); border-radius: 3px; }

/* SELECTION */
::selection { background: rgba(var(--blue-rgb),.25); color: var(--dark); }

/* GALLERY */
.gallery-section { background: var(--section-alt); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,.3); transition: transform .3s ease, box-shadow .3s ease; }
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 8px 32px rgba(var(--blue-rgb),.30); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(var(--blue-rgb),.30) 100%); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .3s ease; color: white; font-size: 28px; padding: 16px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { width: 100%; text-align: left; }
.gallery-caption h5 { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: #fff; line-height: 1.3; }
.gallery-caption p { font-size: 12px; color: #e2e8f0; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* SERVICE CARD ACTIONS */
.service-card-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.service-btn-detail { display: inline-flex; align-items: center; gap: 6px; background: rgba(var(--blue-rgb),.08); color: var(--blue); border: 1.5px solid rgba(var(--blue-rgb),.25); padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .25s ease; font-family: inherit; }
.service-btn-detail:hover { background: var(--blue); color: white; border-color: var(--blue); transform: translateY(-1px); }
.service-card.featured .service-btn-detail { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.service-card.featured .service-btn-detail:hover { background: white; color: var(--blue); }
