/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --primary-color: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: #ef4444;
  --secondary-color: #111827;
  --secondary-dark: #0f172a;
  --accent-color: #f59e0b;
  --accent-light: #fbbf24;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Typography */
  --font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Border Radius */
  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1050;
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-normal);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
  /* Font yüklenene kadar system font kullan */
  font-display: swap;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.section {
  padding: var(--space-24) 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section__badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  font-size: var(--font-size-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section__title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-extrabold);
  color: var(--gray-900);
  margin-bottom: var(--space-6);
  line-height: 1.2;
}

.section__description {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-base);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--primary-color);
}

.btn--full {
  width: 100%;
}

/* ===== LOADING SCREEN ===== */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  /* Maksimum 2 saniye göster, sonra otomatik gizle */
  animation: autoHideQuick 2s forwards;
}

@keyframes autoHideQuick {
  0%,
  50% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    display: none;
  }
}

.loading__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: var(--space-3);
}

.loading__text {
  color: var(--white);
  font-size: var(--font-size-base);
  font-weight: var(--font-medium);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: var(--z-fixed);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(17, 24, 39, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-xl);
}

.nav__title h1 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-extrabold);
  color: var(--white);
  line-height: 1;
}

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

.nav__subtitle {
  font-size: var(--font-size-xs);
  font-weight: var(--font-medium);
  color: var(--gray-400);
  letter-spacing: 0.1em;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--font-size-base);
  font-weight: var(--font-medium);
  color: var(--gray-300);
  transition: color var(--transition-normal);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary-color);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  transition: width var(--transition-normal);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-lg);
  font-weight: var(--font-semibold);
  transition: all var(--transition-normal);
}

.nav__phone:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav__toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

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

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(220, 38, 38, 0.5));
  z-index: -1;
}

.hero__container {
  position: relative;
  z-index: 1;
}

.hero__content {
  margin-top: 220px;
  max-width: 600px;
  animation: fadeInUp 1s ease-out;
  /* Mobil için daha iyi görünürlük */
  position: relative;
  z-index: 10;
}

.hero__badge {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  background: rgba(220, 38, 38, 0.9);
  color: var(--white);
  font-size: var(--font-size-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__title {
  font-size: var(--font-size-6xl);
  font-weight: var(--font-black);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  /* Mobil için daha güçlü gölge */
}

.hero__description {
  font-size: var(--font-size-lg);
  color: var(--white);
  margin-bottom: var(--space-8);
  line-height: 1.7;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(5px);
}

.hero__buttons {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero__stats {
  display: flex;
  gap: var(--space-8);
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-extrabold);
  color: var(--primary-color);
}

.hero__stat-text {
  font-size: var(--font-size-sm);
  color: var(--gray-300);
  font-weight: var(--font-medium);
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.hero__scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.hero__scroll-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* ===== MOBILE OVERLAY ===== */
.hero__mobile-overlay {
  display: none;
}

@media (max-width: 768px) {
  .hero__mobile-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
  }

  .hero__content {
    position: relative;
    z-index: 10;
    padding: var(--space-8) var(--space-4);
  }
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--gray-50);
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about__features {
  display: grid;
  gap: var(--space-8);
}

.feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.feature__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-xl);
}

.feature__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}

.feature__description {
  color: var(--gray-600);
}

.about__images {
  position: relative;
}

.about__image-main {
  position: relative;
  z-index: 2;
}

.about__image-secondary {
  position: absolute;
  top: var(--space-8);
  right: var(--space-8);
  width: 200px;
  height: 200px;
  z-index: 3;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

/* ===== SERVICES SECTION ===== */
.services__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.service {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
}

.service--featured {
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
  color: var(--white);
  transform: scale(1.05);
}

.service--featured .service__title,
.service--featured .service__description {
  color: var(--white);
}

.service__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--accent-color);
  color: var(--white);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-semibold);
}

.service__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-6);
}

.service__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

.service__description {
  color: var(--gray-600);
  margin-bottom: var(--space-6);
}

.service__features {
  margin-bottom: var(--space-6);
}

.service__features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  color: var(--gray-700);
}

.service__features i {
  color: var(--primary-color);
}

.service__price {
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.service__price span {
  font-weight: var(--font-semibold);
  color: var(--primary-color);
}

/* ===== GALLERY SECTION ===== */
.gallery {
  background: var(--gray-50);
}

.gallery__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.gallery__item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.gallery__item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all var(--transition-normal);
}

.gallery__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(245, 158, 11, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition-normal);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__content {
  text-align: center;
  color: var(--white);
}

.gallery__content h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

.gallery__content i {
  font-size: var(--font-size-2xl);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
  color: var(--white);
}

.contact .section__title {
  color: var(--white);
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.contact__info {
  display: grid;
  gap: var(--space-6);
}

.contact__card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
}

.contact__content h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.contact__content p {
  color: var(--gray-300);
}

.contact__content a {
  color: var(--white);
  transition: color var(--transition-normal);
}

.contact__content a:hover {
  color: var(--primary-color);
}

.contact__social {
  margin-top: var(--space-4);
}

.contact__social h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

.contact__social-links {
  display: flex;
  gap: var(--space-3);
}

.contact__social-links a {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-lg);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__social-links a:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  transform: translateY(-3px);
}

.contact__form {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form__group {
  margin-bottom: var(--space-6);
}

.form__label {
  display: block;
  font-weight: var(--font-semibold);
  color: var(--white);
  margin-bottom: var(--space-2);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  color: var(--gray-800);
  transition: all var(--transition-normal);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__logo i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
}

.footer__logo h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-bold);
  color: var(--white);
}

.footer__brand p {
  color: var(--gray-400);
}

.footer__links h4,
.footer__contact h4,
.footer__social h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
  color: var(--white);
}

.footer__links ul,
.footer__contact ul {
  list-style: none;
}

.footer__links li,
.footer__contact li {
  margin-bottom: var(--space-2);
}

.footer__links a {
  color: var(--gray-400);
  transition: color var(--transition-normal);
}

.footer__links a:hover {
  color: var(--primary-color);
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gray-400);
}

.footer__contact i {
  color: var(--primary-color);
}

.footer__social-links {
  display: flex;
  gap: var(--space-3);
}

.footer__social-links a {
  width: 45px;
  height: 45px;
  background: var(--gray-800);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-lg);
  transition: all var(--transition-normal);
}

.footer__social-links a:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  transform: translateY(-3px);
}

.footer__bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: var(--space-8);
  text-align: center;
  color: var(--gray-400);
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: var(--z-modal);
  backdrop-filter: blur(5px);
}

.modal__content {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: 5% auto;
  animation: zoomIn 0.3s ease-out;
}

.modal__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
}

.modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: var(--font-size-3xl);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.modal__close:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: var(--font-size-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-lg);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-6);
  }

  .about__container,
  .contact__container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero__title {
    font-size: var(--font-size-5xl);
  }

  .section__title {
    font-size: var(--font-size-3xl);
  }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--gray-900);
    flex-direction: column;
    justify-content: center;
    transition: right var(--transition-normal);
    z-index: var(--z-modal);
  }

  .nav__menu.show {
    right: 0;
  }

  .nav__item {
    margin: var(--space-4) 0;
  }

  .nav__link {
    font-size: var(--font-size-xl);
  }

  .nav__toggle {
    display: flex;
  }

  .nav__phone span {
    display: none;
  }

  .hero__title {
    font-size: var(--font-size-4xl);
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__stats {
    justify-content: space-around;
  }

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

  .gallery__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--space-16) 0;
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }

  .section__title {
    font-size: var(--font-size-2xl);
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-4);
  }

  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ===== RESPONSIVE DESIGN - MOBILE FIRST ===== */
@media (max-width: 768px) {
  .hero__title {
    font-size: var(--font-size-4xl);
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
    margin-bottom: var(--space-4);
  }

  .hero__badge {
    font-size: var(--font-size-xs);
    padding: var(--space-2) var(--space-4);
    margin-bottom: var(--space-4);
  }

  .hero__description {
    font-size: var(--font-size-base);
    background: rgba(0, 0, 0, 0.6);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
  }

  .hero__buttons {
    flex-direction: column;
    gap: var(--space-3);
  }

  .btn {
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-lg);
    font-weight: var(--font-bold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }

  .hero__stats {
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.5);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
  }

  .hero__stat-number {
    font-size: var(--font-size-2xl);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }

  .hero__stat-text {
    font-size: var(--font-size-xs);
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  }

  /* Navigation mobile improvements */
  .nav__brand {
    gap: var(--space-2);
  }

  .nav__logo {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-lg);
  }

  .nav__title h1 {
    font-size: var(--font-size-lg);
  }

  .nav__subtitle {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
    padding: var(--space-4);
  }

  .hero__title {
    font-size: var(--font-size-3xl);
    text-shadow: 4px 4px 12px rgba(0, 0, 0, 1);
    line-height: 1.2;
  }

  .hero__description {
    font-size: var(--font-size-sm);
    background: rgba(0, 0, 0, 0.8);
    padding: var(--space-4);
    border: 2px solid rgba(220, 38, 38, 0.5);
  }

  .hero__badge {
    font-size: 10px;
    padding: var(--space-2) var(--space-3);
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }

  .hero__stat {
    background: rgba(220, 38, 38, 0.8);
    padding: var(--space-2);
    border-radius: var(--radius-lg);
  }

  .btn {
    font-size: var(--font-size-base);
    padding: var(--space-4) var(--space-8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  /* Header mobile */
  .header {
    background: rgba(0, 0, 0, 0.95);
  }

  .nav {
    height: 70px;
  }

  .nav__phone {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
  }
}

/* ===== SECTION IMPROVEMENTS FOR MOBILE ===== */
@media (max-width: 768px) {
  .section__title {
    font-size: var(--font-size-2xl);
    text-align: center;
    margin-bottom: var(--space-4);
  }

  .section__description {
    font-size: var(--font-size-base);
    text-align: center;
    padding: 0 var(--space-4);
  }

  .section__badge {
    font-size: var(--font-size-xs);
    padding: var(--space-2) var(--space-4);
  }

  /* About section mobile */
  .about__container {
    gap: var(--space-8);
    text-align: center;
  }

  .feature {
    text-align: left;
    background: var(--white);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-4);
  }

  .feature__icon {
    width: 50px;
    height: 50px;
    font-size: var(--font-size-lg);
  }

  .feature__title {
    font-size: var(--font-size-lg);
  }

  /* Services mobile */
  .services__container {
    gap: var(--space-6);
    padding: 0 var(--space-4);
  }

  .service {
    padding: var(--space-6);
  }

  .service__title {
    font-size: var(--font-size-xl);
  }

  /* Gallery mobile */
  .gallery__container {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: 0 var(--space-4);
  }

  .gallery__item img {
    height: 250px;
  }

  /* Contact mobile */
  .contact__container {
    gap: var(--space-8);
    padding: 0 var(--space-4);
  }

  .contact__card {
    padding: var(--space-4);
  }

  .contact__form {
    padding: var(--space-6);
  }
}
