/* ===================================
   CSS Variables - Design System
   =================================== */
:root {
  /* Primary Colors */
  --primary-blue: #0066FF;
  --primary-dark: #001F3F;
  --primary-light: #3399FF;
  
  /* Accent Colors */
  --accent-cyan: #00D9FF;
  --accent-purple: #6B5CE7;
  
  /* Neutral Colors */
  --dark-bg: #0A0E27;
  --card-bg: #1A1F3A;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B8C8;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00D9FF 100%);
  --gradient-dark: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
  
  /* Spacing System */
  --spacing-xs: 0.5rem;   /* 8px */
  --spacing-sm: 1rem;     /* 16px */
  --spacing-md: 2rem;     /* 32px */
  --spacing-lg: 4rem;     /* 64px */
  --spacing-xl: 6rem;     /* 96px */
  
  /* Typography */
  --font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Breakpoints (for reference) */
  --mobile: 320px;
  --tablet: 768px;
  --desktop: 1024px;
  --large-desktop: 1440px;
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* ===================================
   Typography
   =================================== */
h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* ===================================
   Layout Utilities
   =================================== */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  box-sizing: border-box;
}

/* ===================================
   Grid System
   =================================== */
.grid {
  display: grid;
  gap: var(--spacing-md);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ===================================
   Flexbox Utilities
   =================
================== */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===================================
   Section Styles
   =================================== */
section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

/* ===================================
   Navigation Bar
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: background-color 0.3s ease;
  padding: var(--spacing-sm) 0;
}

.navbar.scrolled {
  background-color: rgba(10, 14, 39, 0.98);
  box-shadow: 0 2px 20px rgba(0, 102, 255, 0.1);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--primary-blue);
  animation: logoFloat 3s ease-in-out infinite;
}

.logo h2 {
  font-size: 1.75rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoFloat 3s ease-in-out infinite;
}

.nav-menu {
  display: flex;
  gap: var(--spacing-md);
}

.nav-menu a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  z-index: -1;
  animation: gradientShift 15s ease infinite;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.15) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

.hero-content {
  text-align: center;
  z-index: 1;
}

.construction-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background-color: rgba(0, 102, 255, 0.2);
  border: 2px solid var(--primary-blue);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 50px;
  margin-bottom: var(--spacing-md);
  color: var(--accent-cyan);
  font-weight: 600;
}

.hero-title {
  margin-bottom: var(--spacing-sm);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--text-primary);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

/* ===================================
   Services Section
   =================================== */
.services {
  background-color: var(--dark-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--card-bg);
  padding: var(--spacing-md);
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 102, 255, 0.1);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.3);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: var(--spacing-sm);
}

.service-card h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.service-card p {
  color: var(--text-secondary);
}

/* Featured Service Card */
.service-card.featured {
  border: 2px solid var(--primary-blue);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 217, 255, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.service-card.featured::before {
  content: 'POPÜLER';
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--gradient-primary);
  color: white;
  padding: 5px 45px;
  font-size: 0.7rem;
  font-weight: 700;
  transform: rotate(45deg);
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(0, 102, 255, 0.3);
}

/* ===================================
   Under Construction Section
   =================================== */
.under-construction {
  background: var(--gradient-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.under-construction::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.construction-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.construction-visual {
  margin-bottom: var(--spacing-lg);
}

.construction-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-md);
}

.icon-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
  animation: pulse 2s ease-in-out infinite;
}

.construction-icon-wrapper i {
  font-size: 4rem;
  color: var(--accent-cyan);
  position: relative;
  z-index: 1;
  display: block;
  animation: float 3s ease-in-out infinite;
}

.progress-bar {
  width: 100%;
  max-width: 400px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 75%;
  background: var(--gradient-primary);
  border-radius: 10px;
  animation: progressAnimation 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.under-construction h2 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  font-size: 2.5rem;
}

.construction-subtitle {
  color: var(--accent-cyan);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.construction-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
  font-size: 1.05rem;
}

.construction-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-primary);
  font-weight: 500;
}

.feature-item i {
  color: var(--accent-cyan);
  font-size: 1.25rem;
}

.construction-contact {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background: rgba(0, 102, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(0, 102, 255, 0.2);
}

.contact-title {
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--primary-blue);
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(0, 102, 255, 0.1);
  border-radius: 50px;
}

.contact-link:hover {
  color: var(--text-primary);
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.contact-link i {
  font-size: 1.5rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background-color: var(--card-bg);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.footer-about h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-about p {
  color: var(--text-secondary);
}

.footer-contact h4 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.footer-contact ul {
  margin-bottom: var(--spacing-md);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
  color: var(--text-secondary);
}

.footer-contact li i {
  color: var(--primary-blue);
}

.footer-contact a:hover {
  color: var(--primary-blue);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 102, 255, 0.1);
  border-radius: 50%;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-blue);
  color: var(--text-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ===================================
   Responsive Design - Mobile First
   =================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--card-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* Construction Section */
  .under-construction h2 {
    font-size: 2rem;
  }
  
  .construction-features {
    flex-direction: column;
    align-items: center;
  }
  
  .construction-icon-wrapper i {
    font-size: 3rem;
  }
  
  .icon-circle {
    width: 100px;
    height: 100px;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-contact ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .construction-icon {
    font-size: 4rem;
  }
}

/* Desktop (1024px and above) */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
