/**
 * 07 Akdeniz Reklam - Main Stylesheet
 * Modern, Professional Design System
 * 
 * @version 2.0.0
 * @author 07 Akdeniz Reklam
 */

/* ============================================
   BASE & RESET
   ============================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  /* Colors */
  --primary:#0A1628;
  --accent:#FF6B00;
  --accent-light:#FF8C3A;
  --surface:#111827;
  --surface2:#0D1F35;
  --text-light:#F9FAFB;
  --text-muted:#9CA3AF;
  --border:rgba(255,255,255,0.08);
  --glass:rgba(255,255,255,0.04);
  --glass-border:rgba(255,255,255,0.1);
  
  /* Spacing & Layout */
  --radius:14px;
  --container-width:1200px;
  --section-padding:100px;
  
  /* Typography */
  --font-display:'Barlow',sans-serif;
  --font-body:'Inter',sans-serif;
}

html{scroll-behavior:smooth;font-size:16px}
body{background:var(--primary);color:var(--text-light);font-family:var(--font-body);line-height:1.6;overflow-x:hidden}
a{text-decoration:none;color:inherit}
ul{list-style:none}
img{display:block;max-width:100%;height:auto}
section{padding:var(--section-padding) 0}

.container{
  max-width:var(--container-width);
  margin:0 auto;
  padding:0 24px;
}

/* Section Headers */
.section-tag{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:12px;
}

.section-title{
  font-family:var(--font-display);
  font-size:clamp(28px,4vw,46px);
  font-weight:800;
  line-height:1.15;
  margin-bottom:16px;
}

.section-title span{color:var(--accent)}

.section-sub{
  color:var(--text-muted);
  font-size:16px;
  max-width:500px;
  line-height:1.7;
}

.section-header{
  text-align:left;
  margin-bottom:64px;
}

.section-header::before{
  content:'';
  display:block;
  width:48px;
  height:3px;
  background:var(--accent);
  margin:0 0 20px 0;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 28px;
  border-radius:8px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  transition:all .25s ease;
  border:2px solid transparent;
}

.btn-primary{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}

.btn-primary:hover{
  background:var(--accent-light);
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(255,107,0,.35);
}

.btn-outline{
  background:transparent;
  color:var(--text-light);
  border-color:rgba(255,255,255,.25);
}

.btn-outline:hover{
  border-color:var(--accent);
  color:var(--accent);
  transform:translateY(-2px);
}

/* Animations */
.fade-in{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .7s ease,transform .7s ease;
}

.fade-in.visible{
  opacity:1;
  transform:translateY(0);
}

.slide-left{
  opacity:0;
  transform:translateX(-40px);
  transition:opacity .7s ease,transform .7s ease;
}

.slide-left.visible{
  opacity:1;
  transform:translateX(0);
}

.slide-right{
  opacity:0;
  transform:translateX(40px);
  transition:opacity .7s ease,transform .7s ease;
}

.slide-right.visible{
  opacity:1;
  transform:translateX(0);
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  padding:18px 0;
  transition:all .35s ease;
}

#navbar.scrolled{
  background:rgba(10,22,40,.92);
  backdrop-filter:blur(16px);
  padding:12px 0;
  border-bottom:1px solid var(--border);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.nav-logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-size:20px;
  font-weight:800;
  white-space:nowrap;
}

.nav-logo img{
  height:60px;
  width:auto;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
  transition:all .3s ease;
  animation: logo-glow 3s infinite alternate;
}

.nav-logo:hover img{
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)) brightness(1.2);
  transform:translateY(-1px) scale(1.02);
}

@keyframes logo-glow {
  from {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
  }
  to {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
  }
}

.nav-logo .num{
  color:var(--accent);
  font-size:26px;
  line-height:1;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:4px;
}

.nav-links a{
  padding:8px 14px;
  border-radius:6px;
  font-size:14px;
  font-weight:500;
  color:var(--text-muted);
  transition:all .2s;
}

.nav-links a:hover{
  color:var(--text-light);
  background:rgba(255,255,255,.06);
}

.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  padding:6px;
  background:none;
  border:none;
}

.hamburger span{
  width:24px;
  height:2px;
  background:var(--text-light);
  transition:all .3s;
  display:block;
  border-radius:2px;
}

.hamburger.active span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  transform:rotate(-45deg) translate(5px,-5px);
}

.mobile-menu{
  display:none;
  position:fixed;
  top:65px;
  left:0;
  right:0;
  background:rgba(10,22,40,.97);
  backdrop-filter:blur(20px);
  padding:24px;
  flex-direction:column;
  gap:4px;
  border-bottom:1px solid var(--border);
  z-index:999;
}

.mobile-menu.open{
  display:flex;
}

.mobile-menu a{
  padding:12px 16px;
  font-size:16px;
  font-weight:500;
  color:var(--text-muted);
  border-radius:8px;
  transition:all .2s;
}

.mobile-menu a:hover{
  color:var(--accent);
  background:rgba(255,107,0,.08);
}

.mobile-menu .btn{
  margin-top:12px;
  justify-content:center;
}

/* ============================================
   HERO
   ============================================ */
#hero{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
  padding:0;
}

.hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
}

.hero-bg::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%,rgba(255,107,0,.12) 0%,transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%,rgba(10,60,120,.4) 0%,transparent 60%),
    linear-gradient(135deg,#0A1628 0%,#060e1c 100%);
}

.hero-lines{
  position:absolute;
  inset:0;
  overflow:hidden;
}

.hero-lines svg{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  opacity:.07;
}

.hero-orb{
  position:absolute;
  border-radius:50%;
  filter:blur(80px);
  animation:float 8s ease-in-out infinite;
}

.orb1{
  width:500px;
  height:500px;
  background:rgba(255,107,0,.15);
  top:-100px;
  right:-100px;
  animation-delay:0s;
}

.orb2{
  width:300px;
  height:300px;
  background:rgba(10,80,160,.2);
  bottom:0;
  left:5%;
  animation-delay:-3s;
}

.orb3{
  width:200px;
  height:200px;
  background:rgba(255,107,0,.1);
  top:40%;
  left:30%;
  animation-delay:-5s;
}

@keyframes float{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-30px) scale(1.05)}
}

.hero-content{
  position:relative;
  z-index:2;
  width:100%;
  padding:160px 0 80px;
  text-align:left;
}

.hero-badge, .hero-h1, .hero-sub, .hero-ctas {
  padding-left: max(24px, calc((100% - 1200px) / 2));
  padding-right: 24px;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,107,0,.12);
  border:1px solid rgba(255,107,0,.25);
  padding:7px 16px;
  border-radius:100px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:28px;
  margin-left: max(24px, calc((100% - 1200px) / 2));
}

.hero-badge::before{
  content:'';
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--accent);
  animation:pulse 2s infinite;
}

@keyframes pulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.5;transform:scale(1.4)}
}

.hero-h1{
  font-family:var(--font-display);
  font-size:clamp(44px,7vw,90px);
  font-weight:900;
  line-height:1.05;
  letter-spacing:-.02em;
  margin-bottom:24px;
}

.hero-h1 .line2{
  color:var(--accent);
}

.hero-sub{
  font-size:clamp(15px,2vw,19px);
  color:var(--text-muted);
  max-width:520px;
  line-height:1.7;
  margin-bottom:40px;
}

.hero-ctas{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:80px;
}

.hero-bottom-wrapper{
  width: 100%;
  border-top:1px solid var(--border);
  padding-top:40px;
}

.hero-stats{
  display:flex;
  gap:48px;
  padding:0 24px;
  justify-content:center;
  width: 100%;
}

.stat-item{
  padding:0;
  border-right:none;
  text-align:center;
}

.stat-item:first-child{
  padding-left:0;
}

.stat-item:last-child{
  border-right:none;
}

.stat-num{
  font-family:var(--font-display);
  font-size:clamp(32px,4vw,48px);
  font-weight:900;
  color:var(--text-light);
  line-height:1;
}

.stat-num span{
  color:var(--accent);
}

.stat-label{
  font-size:13px;
  color:var(--text-muted);
  margin-top:4px;
  letter-spacing:.04em;
}

.hero-scroll{
  position:absolute;
  bottom:32px;
  left:50%;
  transform:translateX(-50%);
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}

.scroll-line{
  width:1px;
  height:50px;
  background:linear-gradient(to bottom,rgba(255,107,0,.6),transparent);
  animation:scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine{
  0%,100%{opacity:.4;transform:scaleY(1)}
  50%{opacity:1;transform:scaleY(1.2)}
}

.scroll-txt{
  font-size:10px;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--text-muted);
}

/* Hero Visual Container */
.hero-visual-container {
  position: absolute;
  top: 15%;
  right: 5%;
  width: 40%;
  max-width: 500px;
  z-index: 1;
  pointer-events: none;
}

.hero-main-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
  transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
  transition: all 0.5s ease;
  animation: heroImageFloat 6s ease-in-out infinite;
}

.hero-main-img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.1) brightness(1.1);
}

.hero-img-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,107,0,0.2) 0%, transparent 50%);
  mix-blend-mode: overlay;
}

@keyframes heroImageFloat {
  0%, 100% { transform: perspective(1000px) rotateY(-15deg) rotateX(10deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-12deg) rotateX(8deg) translateY(-20px); }
}

@media (max-width: 1024px) {
  .hero-visual-container {
    display: none;
  }
}

/* About Image Styles */
.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  filter: contrast(1.05) brightness(1.1);
}

.about-visual-inner:has(.about-img) {
  padding: 0;
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ============================================
   HERO PORTFOLIO PREVIEW
   ============================================ */
.hero-portfolio-preview {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.hero-pf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 5;
}

.hero-pf-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--text-light);
  margin: 0;
}

.hero-pf-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-pf-link:hover {
  color: var(--accent-light);
}

.hero-portfolio-track-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
  padding: 0 24px;
}

.hero-portfolio-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 10px;
}

.hero-portfolio-track::-webkit-scrollbar {
  display: none;
}

/* Mobile: 3 rows layout */
@media (max-width: 768px) {
  .hero-portfolio-track {
    flex-wrap: wrap;
    max-height: calc(3 * (180px + 16px));
  }
  
  .hero-pf-card {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
    min-width: 140px;
    height: 180px;
  }
}

/* Desktop: Single row slider */
@media (min-width: 769px) {
  .hero-portfolio-track {
    flex-wrap: nowrap;
    overflow-x: hidden;
  }
  
  .hero-pf-card {
    flex: 0 0 240px;
    max-width: 240px;
    height: 180px;
  }
}

.hero-pf-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
  background: var(--surface);
}

.hero-pf-card:hover {
  transform: translateY(-5px);
}

.hero-pf-img-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-pf-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-pf-card:hover .hero-pf-img-container img {
  transform: scale(1.1);
}

.hero-pf-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 0;
}

.hero-pf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 2;
}

.hero-pf-card:hover .hero-pf-overlay {
  opacity: 1;
}

.hero-pf-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  transform: translateY(10px);
  transition: transform 0.35s, opacity 0.35s;
  opacity: 0;
  z-index: 3;
}

.hero-pf-card:hover .hero-pf-info {
  opacity: 1;
  transform: translateY(0);
}

.hero-pf-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero-pf-item-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* Navigation Buttons */
.hero-pf-nav {
  display: none;
}

@media (min-width: 769px) {
  .hero-pf-nav {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
  }
  
  .hero-pf-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
  }
  
  .hero-pf-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  .hero-pf-prev {
    left: -22px;
  }
  
  .hero-pf-next {
    right: -22px;
  }
}

/* Continue in next file for better organization... */
