@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;900&display=swap');

/* --- Root & Design Tokens (Light Mode - Default) --- */
:root {
  --bg: #f6f4f8;
  --bg-gradient: linear-gradient(180deg, #f6f4f8 0%, #ece8f3 100%);
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --primary: #ff6a32;       /* Spicy Orange */
  --secondary: #089fac;     /* Deep Teal */
  --accent: #9d4edd;        /* Royal Purple */
  --text-white: #0b0713;    /* Primary titles / headings */
  --text-light: #251c30;    /* Body text */
  --text-gray: #6a5f7a;     /* Secondary description text */
  --border: rgba(255, 106, 50, 0.18);
  --border-hover: rgba(8, 159, 172, 0.45);
  --border-subtle: rgba(11, 7, 19, 0.08);
  --glow-primary: 0 0 20px rgba(255, 106, 50, 0.12);
  --glow-secondary: 0 0 20px rgba(8, 159, 172, 0.12);
  --bg-header-scrolled: rgba(246, 244, 248, 0.85);
  --bg-footer: rgba(236, 232, 243, 0.95);
  --bg-nav-mobile: #ece8f3;
  --bg-input: rgba(0, 0, 0, 0.04);
  --bg-input-focus: rgba(0, 0, 0, 0.08);
  --bg-range: rgba(0, 0, 0, 0.08);
  --bg-calc-results: rgba(0, 0, 0, 0.03);
  --bg-map: rgba(0, 0, 0, 0.04);
  --logo-gate-fill: #f6f4f8;
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* --- Dark Mode Overrides --- */
[data-theme="dark"] {
  --bg: #0b0713;
  --bg-gradient: linear-gradient(180deg, #0b0713 0%, #050308 100%);
  --bg-card: rgba(20, 14, 33, 0.55);
  --bg-card-hover: rgba(30, 21, 49, 0.7);
  --text-white: #ffffff;
  --text-light: #f1ecf9;
  --text-gray: #a39bb0;
  --border: rgba(255, 106, 50, 0.15);
  --border-hover: rgba(8, 159, 172, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --glow-primary: 0 0 20px rgba(255, 106, 50, 0.3);
  --glow-secondary: 0 0 20px rgba(8, 159, 172, 0.3);
  --bg-header-scrolled: rgba(11, 7, 19, 0.85);
  --bg-footer: rgba(6, 4, 10, 0.95);
  --bg-nav-mobile: #0b0713;
  --bg-input: rgba(255, 255, 255, 0.04);
  --bg-input-focus: rgba(255, 255, 255, 0.08);
  --bg-range: rgba(255, 255, 255, 0.1);
  --bg-calc-results: rgba(0, 0, 0, 0.2);
  --bg-map: rgba(0, 0, 0, 0.4);
  --logo-gate-fill: #0e0a16;
}

/* --- Smooth Theme Transitions --- */
.theme-transitioning * {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, fill 0.3s ease, stroke 0.3s ease !important;
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-left: 16px;
}

.theme-toggle:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--border-hover);
  color: var(--primary);
  background: var(--bg-card-hover);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.theme-toggle i {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle:hover i {
  transform: rotate(360deg);
}

/* Grouping Actions in Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- Base Reset & Setup --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text-light);
  background-color: var(--bg);
  overflow-x: hidden;
}

body {
  background: var(--bg-gradient);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

/* --- Background Decor --- */
.bg-glow-1 {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 106, 50, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
  animation: floatGlow 15s infinite alternate ease-in-out;
}

.bg-glow-2 {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(8, 159, 172, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
  animation: floatGlow 18s infinite alternate-reverse ease-in-out;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 30px) scale(1.1); }
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-gray);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.accent-text {
  color: var(--primary);
  font-weight: 600;
}

/* --- Layout Elements --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8c5a 100%);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(255, 106, 50, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 106, 50, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
}

.btn-secondary:hover {
  background: var(--bg-input);
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

.btn-outline-gradient {
  background: transparent;
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, var(--primary), var(--secondary)) 1;
  color: var(--text-white);
}

.btn-outline-gradient:hover {
  background: linear-gradient(135deg, rgba(255, 106, 50, 0.1), rgba(8, 159, 172, 0.1));
  box-shadow: var(--glow-secondary);
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

header.scrolled {
  background: var(--bg-header-scrolled);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  height: 50px;
  text-decoration: none;
}

.logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

nav ul a {
  text-decoration: none;
  color: var(--text-gray);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}

nav ul a:hover {
  color: var(--text-white);
  text-shadow: 0 0 10px rgba(8, 159, 172, 0.5);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-white);
  margin: 5px 0;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 106, 50, 0.1);
  border: 1px solid rgba(255, 106, 50, 0.3);
  padding: 8px 16px;
  border-radius: 100px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 106, 50, 0.15) 0%, rgba(8, 159, 172, 0.15) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.05);
}

.castle-graphic {
  width: 65%;
  height: auto;
  fill: url(#logoGrad);
  filter: drop-shadow(0 0 15px rgba(255, 106, 50, 0.4));
  animation: floatCastle 6s infinite ease-in-out;
}

@keyframes floatCastle {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.floating-badge {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: floatingBadge 8s infinite ease-in-out;
}

.floating-badge.fb-1 {
  top: 15%;
  left: -5%;
  animation-delay: 0s;
}

.floating-badge.fb-2 {
  bottom: 10%;
  right: -5%;
  animation-delay: 2s;
}

@keyframes floatingBadge {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.floating-badge i {
  font-size: 24px;
  color: var(--primary);
}

.floating-badge .number {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-white);
  line-height: 1;
}

.floating-badge .label {
  font-size: 11px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

/* --- Grid General --- */
.grid {
  display: grid;
  gap: 32px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* --- Glass Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
  opacity: 1;
}

/* --- Yöresel Bölüm (Local Features) --- */
.local-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.local-card {
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.local-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 106, 50, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.local-card:hover .local-icon {
  background: var(--secondary);
  color: var(--text-white);
  transform: scale(1.1);
  box-shadow: var(--glow-secondary);
}

.local-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.local-card p {
  font-size: 13px;
  line-height: 1.5;
}

/* --- Services Section --- */
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 106, 50, 0.1) 0%, rgba(8, 159, 172, 0.1) 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.service-card p {
  margin-bottom: 24px;
  font-size: 15px;
}

.service-link {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-size: 14px;
}

.service-link i {
  font-size: 12px;
  transition: var(--transition);
}

.service-card:hover .service-link {
  color: var(--secondary);
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* --- Interactive Tool Section --- */
.interactive-section {
  background: radial-gradient(circle at center, var(--bg-card) 0%, var(--bg) 100%);
}

.tool-grid {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.tool-card {
  padding: 48px;
  background: var(--bg-card);
}

.tool-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-card h3 i {
  color: var(--primary);
}

.tool-subtitle {
  color: var(--text-gray);
  margin-bottom: 32px;
  font-size: 15px;
}

/* ROI Calculator Styles */
.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-light);
}

.calc-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--secondary);
  font-size: 16px;
}

/* Custom Sliders */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: var(--bg-range);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 106, 50, 0.5);
  transition: var(--transition);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--text-white);
}

.calculator-results {
  background: var(--bg-calc-results);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.results-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.results-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #00e676; /* Profit green */
  text-shadow: 0 0 15px rgba(0, 230, 118, 0.2);
  margin-bottom: 16px;
}

/* SEO Audit Simulator Styles */
.audit-input-wrapper {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.audit-input-wrapper input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.audit-input-wrapper input:focus {
  border-color: var(--secondary);
  background: var(--bg-input-focus);
}

.audit-results-box {
  background: var(--bg-calc-results);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.audit-placeholder {
  text-align: center;
  color: var(--text-gray);
}

.audit-placeholder i {
  font-size: 40px;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
  display: block;
}

.audit-loading {
  text-align: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 106, 50, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.audit-loading-text {
  font-size: 14px;
  color: var(--text-gray);
}

.audit-report {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.audit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.audit-item:last-child {
  border: none;
  padding: 0;
}

.audit-label {
  font-size: 14px;
  font-weight: 500;
}

.audit-status {
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-error {
  color: #ff5252;
}

.status-warning {
  color: #ffd740;
}

.status-success {
  color: #00e676;
}

.audit-cta-btn {
  margin-top: 12px;
  width: 100%;
}

/* --- Packages / Pricing Section --- */
.packages-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.package-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.package-card.popular {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(255, 106, 50, 0.1);
  transform: translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: var(--text-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.package-header {
  margin-bottom: 30px;
}

.package-name {
  font-size: 20px;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.package-price {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 8px;
}

.package-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-gray);
}

.package-desc {
  font-size: 14px;
}

.package-features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.package-features li {
  font-size: 14px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.package-features li i {
  color: var(--secondary);
  font-size: 16px;
}

.package-features li.disabled {
  color: var(--text-gray);
  text-decoration: line-through;
  opacity: 0.5;
}

.package-features li.disabled i {
  color: var(--text-gray);
}

/* --- Testimonials Section --- */
.testimonial-card {
  padding: 36px;
}

.quote-icon {
  font-size: 48px;
  color: rgba(255, 106, 50, 0.15);
  position: absolute;
  top: 20px;
  right: 30px;
}

.testimonial-text {
  font-size: 15px;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-family: 'Outfit', sans-serif;
}

.client-details h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.client-details p {
  font-size: 12px;
}

/* --- Contact Section --- */
.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 106, 50, 0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
}

.contact-detail-content h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-detail-content p, .contact-detail-content a {
  font-size: 14px;
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition);
}

.contact-detail-content a:hover {
  color: var(--secondary);
}

/* Mock Map styling */
.mock-map {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background: var(--bg-map);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mock-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-md);
}

.mock-map-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background: radial-gradient(#fff 1px, transparent 1px), radial-gradient(#fff 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  z-index: 1;
}

.mock-map-marker {
  position: relative;
  z-index: 2;
}

.mock-map-marker i {
  font-size: 32px;
  color: var(--primary);
  animation: bounce 2s infinite ease-in-out;
  display: block;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.mock-map-marker span {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-top: 8px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
}

.form-group input, .form-group textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--secondary);
  background: var(--bg-input-focus);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  text-align: center;
  display: none;
}

.form-status.success {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: #00e676;
  display: block;
}

/* --- Footer --- */
footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--text-white);
}

/* --- Scroll Animations --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image-container {
    order: -1;
  }
  
  .grid-3, .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .local-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
  
  .hero h1 {
    font-size: 40px;
  }
  
  .tool-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .local-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mobile-nav-toggle {
    display: block;
    z-index: 1001;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-nav-mobile);
    padding: 100px 40px;
    z-index: 1000;
    transition: 0.4s ease-in-out;
    border-left: 1px solid var(--border);
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  
  nav ul a {
    font-size: 20px;
  }
  
  .nav-cta {
    margin-top: 20px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .grid-3, .grid-2, .packages-grid, .local-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .local-card {
    padding: 24px 16px;
  }
  .card {
    padding: 24px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .results-amount {
    font-size: 28px;
  }
}

/* --- Floating WhatsApp Widget --- */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Inter', sans-serif;
}

.whatsapp-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: var(--transition);
}

.whatsapp-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

/* Green ripple pulse around the WhatsApp button */
.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* WhatsApp Chat Box Card */
.whatsapp-chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-widget.active .whatsapp-chat-box {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.whatsapp-chat-header {
  background: linear-gradient(135deg, #128c7e 0%, #0b0713 100%);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  position: relative;
}

[data-theme="dark"] .whatsapp-chat-header {
  background: linear-gradient(135deg, #0f7569 0%, #171026 100%);
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.chat-status-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.2;
}

.chat-status-info p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e676;
  display: inline-block;
}

.chat-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  cursor: pointer;
  position: absolute;
  top: 16px;
  right: 16px;
  transition: var(--transition);
}

.chat-close:hover {
  color: #ffffff;
}

.whatsapp-chat-body {
  padding: 20px;
  max-height: 200px;
  overflow-y: auto;
}

.chat-welcome {
  background: var(--bg-input-focus);
  color: var(--text-light);
  font-size: 13px;
  padding: 12px 16px;
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 0;
  margin: 0;
  line-height: 1.4;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.whatsapp-chat-footer {
  padding: 16px 20px;
  background: var(--bg-calc-results);
  border-top: 1px solid var(--border-subtle);
  display: flex;
}

.btn-whatsapp {
  width: 100%;
  background: #25d366;
  color: #ffffff !important;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
}

@media (max-width: 480px) {
  .whatsapp-widget {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-chat-box {
    width: 280px;
    bottom: 70px;
  }
}
