/* 369 Yazılım Ajans - One Page Website */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --purple: #7c3aed;
  --purple-dark: #6d28d9;
  --gray-900: #1f2937;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  --gradient-subtle: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* CSS Logo - mavi-mor gradient */
.logo {
  font-family: 'Nunito', 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 25%, #6366f1 50%, #7c3aed 75%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  background: var(--gradient-subtle);
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-logo {
  display: inline-block;
  font-size: clamp(4rem, 12vw, 7rem);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

/* Floating shapes */
.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-shapes {
  position: absolute;
  inset: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  bottom: 10%;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: float 12s ease-in-out infinite 2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

/* Sections */
.section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--gray-900);
}

/* About */
.about {
  background: var(--white);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
  text-align: center;
}

/* Services */
.services {
  background: var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

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

/* Contact */
.contact {
  background: var(--white);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--gray-100);
  padding: 2rem;
  border-radius: var(--radius-lg);
  min-width: 280px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--blue);
}

.contact-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-card a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo {
  display: inline-block;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.95;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .hero-logo {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
