@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
  /* Arslan Reklam Color Palette - Light & Red */
  --bg-dark: #ffffff;
  --bg-card: #f5f5f5;
  --bg-card-hover: #ffffff;
  
  --primary-red: #d32f2f;
  --primary-red-hover: #b71c1c;
  --primary-red-glow: rgba(211, 47, 47, 0.2);
  
  --text-light: #111111;
  --text-muted: #555555;
  
  --border-color: #e0e0e0;
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 0, 0, 0.1);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-width: 1280px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ================= UTILITIES ================= */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: 100px 0;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  color: var(--primary-red);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background-color: var(--primary-red);
  color: #fff;
  box-shadow: 0 8px 20px var(--primary-red-glow);
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px var(--primary-red-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary-red);
  background: rgba(211, 47, 47, 0.1);
  transform: translateY(-3px);
}

/* ================= HEADER & NAVBAR ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 25px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 15px 0;
  border-bottom: 1px solid var(--glass-border);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: #111111;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--primary-red);
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

/* ================= HERO SECTION ================= */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.15;
  filter: grayscale(100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 100%);
  z-index: 2;
}


.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin-top: 50px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(to right, #111111, #555555);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 span {
  -webkit-text-fill-color: var(--primary-red);
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* ================= SERVICES ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--primary-red);
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(211, 47, 47, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-red);
  margin-bottom: 25px;
  display: inline-block;
  transition: var(--transition);
}

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

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ================= FEATURED WORKS ================= */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.work-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.work-item:hover .work-img {
  transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition);
}

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

.work-category {
  color: var(--primary-red);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
  transform: translateY(20px);
  transition: transform 0.4s 0.1s ease;
}

.work-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  transform: translateY(20px);
  transition: transform 0.4s 0.15s ease;
}

.work-item:hover .work-category,
.work-item:hover .work-title {
  transform: translateY(0);
}

/* ================= CTA SECTION ================= */
.cta-section {
  background: linear-gradient(45deg, var(--bg-card), var(--bg-dark));
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=1000&auto=format&fit=crop') center/cover;
  opacity: 0.1;
  mask-image: linear-gradient(to left, rgba(0,0,0,1), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1), transparent);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #111111;
  color: #ffffff;
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-logo span { color: var(--primary-red); }

.footer-about {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #222222;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-red);
  transform: translateY(-3px);
}

.footer-widget h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-red);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary-red);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hero h1 { font-size: 4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 100px 40px;
    transition: var(--transition);
    border-left: 1px solid var(--border-color);
  }
  
  .nav-links.active { right: 0; }
  .mobile-toggle { display: block; }
  
  .hero h1 { font-size: 3rem; }
  .section-title { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* =========================================
   MARQUEE (KAYAN YAZI)
========================================= */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  background: var(--primary-red);
  padding: 15px 0;
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 3;
  box-shadow: 0 -10px 30px rgba(211,47,47,0.2);
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-content span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin: 0 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
}

.marquee-content span::after {
  content: '•';
  margin-left: 60px;
  opacity: 0.5;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero {
  padding-bottom: 60px;
}

@keyframes preloaderPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}
