/* 🎨 CSS Variables & Fonts */
:root {
  --primary: #00ff88;
  --primary-hover: #66ffd8;
  --dark: #0c1020;
  --white: #ffffff;
  --gray-100: #f9f9f9;
  --gray-200: #aaaaaa;
  --gray-800: #222222;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 2rem;
  --line-height-base: 1.6;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --transition-base: 0.3s ease;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/IBMPlexSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+000-5FF, U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/IBMPlexSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+000-5FF, U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/IBMPlexMono-Regular-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  color: var(--dark);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: var(--line-height-base);
  background: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 150px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--spacing-sm);
}

h1, h2, h3, p, li {
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


.header-wrapper {
  background: #0c1020;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.logo img {
  height: 70px;
  display: block;
}

nav#main-nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.menu {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.menu li a {
  color: #00ff88;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu li a:hover {
  color: #66ffd8;
}

.lang-switch {
  font-size: 14px;
  color: #fff;
  display: flex;
  gap: 10px;
}

.lang-switch a {
  color: #00ff88;
  text-decoration: none;
}

.lang-switch a.active {
  color: #fff;
  font-weight: bold;
}

@media (max-width: 992px) {
  nav#main-nav {
    display: none;
  }

  .simple-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #00ff88;
    font-size: 20px;
    cursor: pointer;
  }
}


/* Hero Section */
.hero {
  background: url('../img/hero-bg.webp') center center/cover no-repeat;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* SEO Banner */
.seo-banner {
  background: #0051cc;
  width: 100%;
}

.seo-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}

.seo-banner-text {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.seo-banner-cta {
  background: #fff;
  color: #0051cc;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.seo-banner-cta:hover {
  transform: translateY(-1px);
}

/* Mobil menyu */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: 80%; max-width: 280px;
  height: 100vh;
  background: #f8f8f8;
  padding: 20px;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  z-index: 2000;
}

.mobile-nav.open { display: flex; }

.mobile-close-btn {
  align-self: flex-end;
  font-size: 24px;
  background: none;
  border: none;
  margin-bottom: 20px;
  cursor: pointer;
}

.mobile-link {
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

.simple-menu-toggle {
  display: none;
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Forms */
form {
  background: #f4f7fb;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 650px;
  margin: 0 auto;
}

form label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
}

form input, form textarea, form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  font-family: inherit;
}

form button {
  margin-top: 20px;
  background: #0051cc;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: bold;
}

/* Media Queries */
@media (max-width: 992px) {
  .desktop-menu { display: none; }
  .simple-menu-toggle { display: block; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  p, li { font-size: 1rem; }
}

@media (max-width: 768px) {
  body { padding-top: 160px; }
  .seo-banner-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .seo-banner-text {
    flex-direction: column;
    font-size: 14px;
    align-items: center;
  }
  .seo-banner-cta { width: 100%; }
  .btn-success {
    width: 100%;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  h1 { font-size: 24px; }
  h2 { font-size: 22px; }
  p { font-size: 14px; }
  .container { padding: 0 10px; }
}
.btn {
  display: inline-block;
  background-color: #0066d6; /* əsas mavi */
  color: #ffffff;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 214, 0.3);
  border: 2px solid transparent;
}

.btn:hover {
  background-color: #004bb8; /* hover zamanı daha tünd mavi */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 214, 0.4);
  text-decoration: none;
}

/* Açıq fonda istifadə üçün əlavə kontrast variant */
body.light-mode .btn {
  background-color: #0c1020;
  color: #00ff88;
  border: 2px solid #00ff88;
}

body.light-mode .btn:hover {
  background-color: #00ff88;
  color: #0c1020;
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.4);
}
a {
  color: #0066d6;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: #004bb8;
  text-decoration: none;
}

/* Altından yavaş-yavaş xət çəkilsin effektli */
a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #00ff88;
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}
nav a {
  padding: 8px 14px;
  border-radius: 6px;
}

nav a:hover {
  background: rgba(0, 102, 214, 0.1);
}
