/**
 * Frontend Main CSS
 * Sarı-Siyah Kontrast Tema - Responsive & Modern
 */

/* ===== CSS Variables (Dinamik renk sistemi) ===== */
:root {
  --color-primary: #FFD700;
  --color-secondary: #FFA500;
  --color-dark: #1a1a1a;
  --color-light: #f8f9fa;
  --color-accent: #FFEB3B;
  --color-text-dark: #212529;
  --color-text-light: #ffffff;
  
  --font-primary: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  line-height: 1.6;
  background-color: var(--color-light);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-dark);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-dark);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== Header ===== */
.site-header {
  background: var(--color-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-top {
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--color-light);
}

.header-contact {
  display: flex;
  gap: 24px;
}

.header-contact a {
  color: var(--color-light);
  transition: var(--transition);
}

.header-contact a:hover {
  color: var(--color-primary);
}

.header-social {
  display: flex;
  gap: 12px;
}

.header-social a {
  width: 32px;
  height: 32px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: var(--transition);
}

.header-social a:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.header-main {
  padding: 16px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary);
}

.logo i {
  font-size: 32px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  color: var(--color-light);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-dark) 0%, #2d2d2d 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,215,0,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text {
  max-width: 700px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--color-light);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
  fill: var(--color-light);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-delay {
  animation: fadeIn 0.6s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
  animation: fadeIn 0.6s ease-out 0.4s both;
}

/* ===== Features Section ===== */
.features {
  padding: 80px 0;
  background: var(--color-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--color-dark);
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.feature-card p {
  color: #666;
}

/* ===== Services Section ===== */
.services-section {
  padding: 80px 0;
  background: white;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 215, 0, 0.1);
  color: var(--color-secondary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.section-description {
  font-size: 18px;
  color: #666;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  border: 2px solid #eee;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
}

.service-link {
  color: var(--color-secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link:hover {
  gap: 12px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-dark);
  color: var(--color-light);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
  color: var(--color-primary);
  margin-bottom: 20px;
}

.footer-col p {
  color: #999;
  margin-bottom: 20px;
}

.footer-links li,
.footer-contact li,
.footer-hours li {
  margin-bottom: 12px;
  color: #999;
}

.footer-links a,
.footer-contact a {
  color: #999;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-primary);
  padding-left: 8px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  padding: 24px 0;
  text-align: center;
  color: #999;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ===== Scroll to Top ===== */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  border: none;
  border-radius: 50%;
  color: var(--color-dark);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-top {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-dark);
    flex-direction: column;
    padding: 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    max-height: 400px;
  }
  
  .navbar > .btn {
    display: none;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.mt-4 { margin-top: 40px; }
.text-muted { color: #999; }
