/* ============================================
   LİDER OFSET - MATBAA & REKLAM
   Custom Styles
   ============================================ */

:root {
  --cyan: #00AEEF;
  --magenta: #EC008C;
  --yellow: #FFD200;
  --black: #0A0A0A;
  --gray: #6E6E6E;
  --light-gray: #F5F5F5;
  --whatsapp: #25D366;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--black);
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* === NAVBAR === */
.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .nav-link {
  color: var(--black);
}

.navbar.scrolled .logo-text {
  color: var(--black);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  position: absolute;
  inset: 0;
}

.hero-video.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* CMYK accent stripes */
.cmyk-stripes {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.cmyk-stripes span {
  display: block;
  width: 50px;
  height: 4px;
  border-radius: 2px;
  animation: stripeIn 0.8s ease-out forwards;
  opacity: 0;
}

.cmyk-stripes span:nth-child(1) { background: var(--cyan); animation-delay: 0.2s; }
.cmyk-stripes span:nth-child(2) { background: var(--magenta); animation-delay: 0.35s; }
.cmyk-stripes span:nth-child(3) { background: var(--yellow); animation-delay: 0.5s; }
.cmyk-stripes span:nth-child(4) { background: #fff; animation-delay: 0.65s; }

@keyframes stripeIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero text gradient highlight */
.text-gradient {
  background: linear-gradient(135deg, var(--cyan), var(--magenta), var(--yellow));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* === BUTTONS === */
.btn-primary {
  background: var(--magenta);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--magenta);
}

.btn-primary:hover {
  background: #c4006f;
  border-color: #c4006f;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(236, 0, 140, 0.35);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--whatsapp);
}

.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--black);
}

/* Instagram gradient button */
.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 39, 67, 0.45);
  filter: brightness(1.1);
}

/* Instagram gradient icon (for top bar / footer) */
.instagram-gradient {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Larger social icon buttons */
.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(255, 255, 255, 0.2);
}

.social-icon-btn.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: #fff;
}

.social-icon-btn.instagram:hover {
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.5);
}

.social-icon-btn.whatsapp {
  background: #25D366;
  border-color: transparent;
  color: #fff;
}

.social-icon-btn.whatsapp:hover {
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* === SECTION TITLES === */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow));
  border-radius: 2px;
}

/* === SERVICE CARDS === */
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s ease;
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

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

.icon-cyan { background: rgba(0, 174, 239, 0.12); color: var(--cyan); }
.icon-magenta { background: rgba(236, 0, 140, 0.12); color: var(--magenta); }
.icon-yellow { background: rgba(255, 210, 0, 0.18); color: #d4a900; }
.icon-black { background: rgba(10, 10, 10, 0.08); color: var(--black); }
.icon-gray { background: rgba(110, 110, 110, 0.12); color: var(--gray); }
.icon-mix { background: linear-gradient(135deg, rgba(0,174,239,0.12), rgba(236,0,140,0.12)); color: var(--magenta); }

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #e5e5e5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f0f0, #e5e5e5);
  color: var(--gray);
  font-size: 14px;
  gap: 8px;
}

/* === STATS === */
.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* === FLOATING WHATSAPP === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.15); }
}

/* === FORM === */
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fff;
}

.form-input:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(236, 0, 140, 0.1);
}

/* === FADE IN ON SCROLL === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === MARQUEE (logo strip) === */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: scroll 25s linear infinite;
  width: max-content;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  transition: right 0.4s ease;
  padding: 80px 24px 24px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .stat-number { font-size: 36px; }
  .cmyk-stripes span { width: 36px; }
}
