/* ========================================
   SERVET LOJİSTİK - STYLE GUIDE
   ======================================== */

/* ----------------------------------------
   1. RESET & BASE
   ---------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

/* ----------------------------------------
   2. CSS VARIABLES
   ---------------------------------------- */
:root {
  /* Colors - Primary */
  --primary-green: #00e676;
  --primary-purple: #6a1b9a;
  --dark-purple: #4a148c;
  --light-green: #69f0ae;

  /* Colors - Neutral */
  --dark-bg: #1a1a2e;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --text-dark: #212121;
  --text-gray: #616161;
  --border-gray: #e0e0e0;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ----------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
}

h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
}

h4 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
}

/* ----------------------------------------
   4. LAYOUT
   ---------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.section-header p {
  color: var(--text-gray);
  margin-top: var(--space-md);
}

/* ----------------------------------------
   5. BUTTONS
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--dark-bg);
}

.btn-primary:hover {
  background: var(--light-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
  padding: 12px 30px;
}

.btn-secondary:hover {
  background: var(--primary-purple);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 30px;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark-bg);
}

/* ----------------------------------------
   6. ICONS
   ---------------------------------------- */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-sm {
  width: 20px;
  height: 20px;
}

.icon-lg {
  width: 28px;
  height: 28px;
}

.icon-sm,
.icon-lg {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ----------------------------------------
   7. ANIMATIONS
   ---------------------------------------- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ----------------------------------------
   8. PRELOADER
   ---------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ----------------------------------------
   9. HEADER
   ---------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-gray);
  transition: box-shadow 0.3s;
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #01c854;
}

.logo-text span {
  color: var(--primary-purple);
}

.span-servet {
  color: #01c854 !important;
}

.span-lojistik {
  color: #fff !important;
}

/* Navigation */
nav {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-purple);
  transition: width 0.3s;
}

nav a:not(.btn):hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--primary-purple);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: 0.3s;
  display: block;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 77px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  border-top: 1px solid var(--border-gray);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: var(--space-md) 0;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  border-bottom: 1px solid var(--border-gray);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--primary-purple);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: var(--space-md);
  text-align: center;
}

/* ----------------------------------------
   10. HERO SECTION
   ---------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #2d1b4e 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(
    ellipse,
    rgba(0, 230, 118, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(0, 230, 118, 0.15);
  color: var(--primary-green);
  padding: var(--space-sm) var(--space-md);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.hero h1 span {
  color: var(--primary-green);
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  background: linear-gradient(
    135deg,
    rgba(106, 27, 154, 0.4),
    rgba(0, 230, 118, 0.3)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-graphic::after {
  content: "";
  position: absolute;
  inset: -20px;
  border: 2px dashed rgba(0, 230, 118, 0.3);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.hero-truck {
  width: 60%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* ----------------------------------------
   11. FEATURES SECTION
   ---------------------------------------- */
.features {
  padding: var(--space-4xl) 0;
  background: var(--white);
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border-gray);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--dark-purple)
  );
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--white);
}

.feature-card h4 {
  font-size: 18px;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-gray);
}

/* ----------------------------------------
   12. ABOUT SECTION
   ---------------------------------------- */
.about {
  padding: var(--space-4xl) 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image {
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--dark-purple)
  );
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-stats {
  display: flex;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
  color: white;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.stat-number {
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-green);
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

.about-content h2 span {
  color: var(--primary-purple);
}

.about-content p {
  color: var(--text-gray);
  margin-bottom: var(--space-lg);
}

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.value-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.value-check {
  width: 24px;
  height: 24px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--dark-bg);
}

/* ----------------------------------------
   13. SERVICES SECTION
   ---------------------------------------- */
.services {
  padding: var(--space-4xl) 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border-gray);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary-purple);
  box-shadow: 0 8px 32px rgba(106, 27, 154, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(106, 27, 154, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--primary-purple);
}

.service-card h4 {
  font-size: 20px;
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--text-gray);
  font-size: 15px;
}

/* ----------------------------------------
   14. GALLERY SECTION
   ---------------------------------------- */
.gallery {
  padding: var(--space-4xl) 0;
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--dark-purple)
  );
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 46, 0.8) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  color: white;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item-content {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item-content h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.gallery-item-content span {
  font-size: 13px;
  color: var(--primary-green);
}

.gallery-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 48px;
  height: 48px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-bg);
  z-index: 2;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-zoom {
  transform: translate(-50%, -50%) scale(1);
}

/* ----------------------------------------
   15. LIGHTBOX
   ---------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lightbox-close:hover {
  background: var(--primary-green);
  color: var(--dark-bg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lightbox-nav:hover {
  background: var(--primary-green);
  color: var(--dark-bg);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

.lightbox-caption {
  text-align: center;
  color: white;
  margin-top: var(--space-md);
}

.lightbox-caption h4 {
  font-size: 18px;
}

.lightbox-caption span {
  font-size: 14px;
  color: var(--primary-green);
}

/* ----------------------------------------
   16. FAQ SECTION
   ---------------------------------------- */
.faq {
  padding: var(--space-4xl) 0;
  background: var(--dark-bg);
  color: var(--white);
}

.faq .section-header h2 {
  color: var(--white);
}

.faq .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question h4 {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  padding-right: var(--space-md);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.2);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  padding-bottom: var(--space-lg);
}

/* ----------------------------------------
   17. CONTACT SECTION
   ---------------------------------------- */
.contact {
  padding: var(--space-4xl) 0;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info h2 span {
  color: var(--primary-purple);
}

.contact-info > p {
  color: var(--text-gray);
  margin-bottom: var(--space-xl);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-purple);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.contact-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 15px;
}

.contact-item a:hover {
  color: var(--primary-purple);
}

/* ----------------------------------------
   18. FORM STYLES
   ---------------------------------------- */
.contact-form {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #f44336;
}

.form-group .error-message {
  color: #f44336;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.form-group input.error + .error-message,
.form-group textarea.error + .error-message {
  display: block;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
}

/* Form Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary-purple);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--primary-purple);
  text-decoration: underline;
}

.form-checkbox label a:hover {
  color: var(--dark-purple);
}

.form-checkbox.error input[type="checkbox"] {
  outline: 2px solid #f44336;
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl);
  color: var(--primary-green);
}

.form-success.show {
  display: block;
}

.form-success svg {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-md);
}

/* ----------------------------------------
   19. FOOTER
   ---------------------------------------- */
footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
  color: var(--white);
}

.footer-social a:hover {
  background: var(--primary-green);
  color: var(--dark-bg);
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  padding: var(--space-xs) 0;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--primary-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-green);
}

/* ----------------------------------------
   20. FLOATING BUTTONS
   ---------------------------------------- */

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-md);
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--dark-purple);
  transform: translateY(-3px);
}

/* ----------------------------------------
   21. LEGAL MODALS
   ---------------------------------------- */
.legal-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.legal-modal.active {
  opacity: 1;
  visibility: visible;
}

.legal-modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.legal-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border-gray);
  background: var(--off-white);
}

.legal-modal-header h3 {
  font-size: 20px;
  color: var(--text-dark);
}

.legal-modal-close {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
  color: var(--text-gray);
}

.legal-modal-close:hover {
  background: var(--border-gray);
}

.legal-modal-body {
  padding: var(--space-xl);
  overflow-y: auto;
  color: var(--text-gray);
  line-height: 1.8;
}

.legal-modal-body h4 {
  color: var(--text-dark);
  font-size: 16px;
  margin: var(--space-lg) 0 var(--space-sm);
}

.legal-modal-body h4:first-child {
  margin-top: 0;
}

.legal-modal-body p {
  margin-bottom: var(--space-md);
  font-size: 14px;
}

.legal-modal-body ul {
  margin: var(--space-sm) 0 var(--space-md) var(--space-lg);
  font-size: 14px;
}

.legal-modal-body ul li {
  margin-bottom: var(--space-xs);
}

.legal-modal-body .legal-info {
  background: var(--off-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  font-size: 14px;
}

/* ----------------------------------------
   22. RESPONSIVE - TABLET (max-width: 992px)
   ---------------------------------------- */
@media (max-width: 992px) {
  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin: 0 auto var(--space-xl);
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-graphic {
    max-width: 300px;
  }

  /* Grids */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Lightbox */
  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

/* ----------------------------------------
   23. RESPONSIVE - MOBILE (max-width: 768px)
   ---------------------------------------- */
@media (max-width: 768px) {
  /* Header */
  nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Sections */
  .features {
    margin-top: 0;
    padding: var(--space-3xl) 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ----------------------------------------
   24. RESPONSIVE - SMALL MOBILE (max-width: 576px)
   ---------------------------------------- */
@media (max-width: 576px) {
  /* Hero */
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  /* About */
  .about-stats {
    flex-direction: column;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  /* Floating Buttons */
  .whatsapp-btn {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .back-to-top {
    bottom: 80px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}
