/* ==================================
   VARS & TOKENS
   ================================== */
:root {
  /* Colors */
  --bg-color: #0b0c10;
  --bg-color-alt: #12141a;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  
  --primary: #ff4d4d;
  --primary-hover: #ff3333;
  --accent: #ff8c42;
  
  --card-bg: rgba(30, 33, 43, 0.4);
  --card-border: rgba(255, 255, 255, 0.05);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Utilities */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; 
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* ==================================
   UTILITIES
   ================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.bg-darker {
  background-color: var(--bg-color-alt);
}

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

.highlight {
  color: var(--primary);
  font-weight: 800;
}

.highlight-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.section-tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: rgba(255, 77, 77, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 77, 77, 0.3);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.w-full {
  width: 100%;
}

/* Glassmorphism */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* ==================================
   HEADER & NAV 
   ================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.5rem 0;
}

.header.scrolled {
  padding: 1rem 0;
  background: rgba(11, 12, 16, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
}

.brand-logo-img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen; /* Integrates black backgrounds smoothly into dark themes */
  transition: transform 0.3s ease;
}

.brand-logo-img:hover {
  transform: scale(1.05); /* Added slight interactions */
}

.brand-fallback {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  border: 1px solid var(--card-border);
}

.lang-btn {
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.4;
  transition: var(--transition);
  filter: grayscale(100%);
}

.lang-btn:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.lang-btn.active {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.btn-cta-small {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
}
.btn-cta-small:hover {
  background: var(--primary-hover);
  color: #fff;
}

/* ==================================
   HERO 
   ================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05); /* Slight scale for potential parallax */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right, 
    rgba(11, 12, 16, 0.9) 0%, 
    rgba(11, 12, 16, 0.7) 50%,
    rgba(11, 12, 16, 0.4) 100%
  );
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* ==================================
   ABOUT 
   ================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.stats-container {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.stat-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.image-wrapper {
  position: relative;
  padding: 1rem;
}

.rounded-img {
  border-radius: var(--radius);
  /* Slight desaturation for mood */
  filter: contrast(1.1) brightness(0.9); 
}

.floating-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: rgba(20, 22, 28, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.badge-icon {
  background: var(--primary);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* ==================================
   SERVICES 
   ================================== */
.section-header {
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 77, 77, 0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.service-img-container {
  height: 200px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

.service-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.service-link:hover {
  color: var(--primary-hover);
  gap: 0.75rem; /* Animates arrow */
}

/* ==================================
   CONTACT 
   ================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-text strong {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-text span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.p-xl {
  padding: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.4);
}

/* ==================================
   FOOTER 
   ================================== */
.footer {
  background-color: #06070a;
  border-top: 1px solid var(--card-border);
  padding-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo .logo {
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links ul {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==================================
   WHATSAPP FLOAT
   ================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: 0.5rem 1.25rem 0.5rem 0.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  background-color: #1ebe57;
}

.whatsapp-icon-bg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.whatsapp-text span {
  font-size: 0.75rem;
  opacity: 0.9;
}

.whatsapp-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
  }
  .whatsapp-text span {
    display: none;
  }
  .whatsapp-text strong {
    font-size: 0.85rem;
  }
}

/* ==================================
   ANIMATIONS & SCROLL REVEAL 
   ================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.is-visible {
  opacity: 1;
  transform: translate(0);
}

/* ==================================
   RESPONSIVE 
   ================================== */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .image-wrapper { margin-top: 2rem; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .nav-list { display: none; /* In a real scenario add hamburger menu */ }
  .form-row { grid-template-columns: 1fr; }
  .p-xl { padding: 2rem; }
  .floating-badge {
    bottom: -1rem;
    left: 0rem;
    padding: 0.75rem 1rem;
  }
}

/* ==================================
   GALLERY SLIDER
   ================================== */
.gallery {
  padding-bottom: 4rem;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide.active {
  z-index: 2;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 5.5s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.slide.active .slide-img {
  transform: scale(1.08);
}

.slide-caption {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: auto;
  max-width: 480px;
  padding: 2rem;
  background: rgba(18, 20, 26, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 3;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s, 
              transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s;
}

.slide.active .slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.slide-caption h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.slide-caption p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(18, 20, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(255, 77, 77, 0.4);
  transform: translateY(-50%) scale(1.08);
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}

.slider-btn svg {
  transition: transform 0.3s ease;
}

.prev-btn:hover svg {
  transform: translateX(-2px);
}

.next-btn:hover svg {
  transform: translateX(2px);
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(18, 20, 26, 0.6);
  padding: 8px 16px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.dot.active {
  background: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.6);
}

/* Responsive adjustments for slider */
@media (max-width: 992px) {
  .slider-wrapper {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .slider-wrapper {
    height: 380px;
  }
  .slider-btn {
    width: 44px;
    height: 44px;
  }
  .prev-btn {
    left: 15px;
  }
  .next-btn {
    right: 15px;
  }
  .slide-caption {
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: none;
    padding: 1.25rem;
    text-align: center;
  }
  .slide-caption h3 {
    font-size: 1.3rem;
  }
  .slide-caption p {
    font-size: 0.85rem;
  }
  .slider-dots {
    bottom: 15px;
    padding: 6px 12px;
  }
  .dot {
    width: 8px;
    height: 8px;
  }
}

/* ==================================
   MAP CARD
   ================================== */
.map-container {
  margin-top: 2rem;
  width: 100%;
}

.map-card {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.map-card iframe {
  filter: grayscale(1) invert(0.9) contrast(1.2);
  pointer-events: none;
  transition: var(--transition);
}

.map-card:hover iframe {
  filter: grayscale(0.5) invert(0.9) contrast(1.1);
  transform: scale(1.02);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 12, 16, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition);
}

.map-card:hover .map-overlay {
  background: rgba(11, 12, 16, 0.2);
}

.map-btn {
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 77, 77, 0.3);
  transition: var(--transition);
}

.map-card:hover .map-btn {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(255, 77, 77, 0.5);
  transform: scale(1.05);
}
