/* Base Variables */
:root {
  /* Brand extracted colors */
  --color-primary: #d4145a;
  /* Pink/Magenta from heart */
  --color-brand-teal: #4db6ac;
  /* Teal from 'fantasy' text - adjusting to match image approx */
  --color-brand-yellow: #f4c430;
  /* Yellow from heart */

  --color-primary-dark: #b00f4a;
  --color-secondary: #1a1a1a;
  --color-highlight: #ff6b9d;
  --color-success: #4caf50;
  --color-bg: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 24px rgba(212, 20, 90, 0.2);

  --transition: all 0.3s ease;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  font-family: var(--font-heading);
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 10px rgba(212, 20, 90, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(212, 20, 90, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

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

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

.section-padding {
  padding: 80px 0;
}

/* Header */
.app-banner {
  background: var(--color-secondary);
  color: white;
  padding: 10px;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
}

.app-banner .btn-app {
  background: var(--color-primary);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
}

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

.logo {
  display: block;
  max-width: 200px;
  /* Adjust based on image aspect ratio */
  height: auto;
}

.logo img {
  max-height: 80px;
  /* Limit height */
  width: auto;
  object-fit: contain;
  /* Basic sprite attempt to show colored logo (top left) if possible, 
     but simpler to just show image for now as requested */
}

.main-nav ul {
  display: flex;
  gap: 25px;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero-content h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Mood Selector */
.mood-selector {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 15px;
  display: inline-block;
}

.mood-selector h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.mood-buttons {
  display: flex;
  gap: 10px;
}

.mood-btn {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.mood-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Home Page Grids */
.about-grid,
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-brand-teal) 100%);
  border-radius: 25px;
  z-index: -1;
  opacity: 0.12;
}

.about-img {
  border-radius: 20px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.15),
    0 0 0 6px rgba(255, 255, 255, 0.95),
    0 0 0 8px rgba(212, 20, 90, 0.2);
  width: 100%;
  height: auto;
  object-fit: contain;
  background: white;
  padding: 6px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.2),
    0 0 0 6px rgba(255, 255, 255, 0.95),
    0 0 0 8px rgba(212, 20, 90, 0.3);
}

/* Units Grid */
.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.unit-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.unit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.unit-image {
  height: 200px;
  position: relative;
}

.unit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unit-content {
  padding: 25px;
}

.unit-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.unit-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.unit-actions .btn {
  width: 100%;
}

/* Testimonials */
.testimonials-section {
  background: #f9f9f9;
}

.testimonials-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
}

.testimonial-card {
  flex: 0 0 300px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
}

/* Footer */
.site-footer {
  background: var(--color-secondary);
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

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

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 2000;
  transition: var(--transition);
}



.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: 80px;
  background: white;
  color: #333;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  animation: pulseTooltop 2s infinite;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid white;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

@keyframes pulseTooltop {
  0% {
    opacity: 0.8;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateX(-5px);
  }

  100% {
    opacity: 0.8;
    transform: translateX(0);
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Responsive */
/* Responsive */
/* Tablet & Landscape Mobile Optimization */
@media (max-width: 1024px) {
  :root {
    --section-padding: 50px;
  }


  .container {
    padding: 0 15px;
    width: 100%;
  }

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

  /* Header & Navigation */
  .site-header {
    padding: 8px 0;
  }

  .nav-container {
    padding: 0 10px;
  }

  .main-nav {
    display: none;
  }

  .logo img {
    max-height: 55px;
  }

  .header-actions {
    display: none;
    /* Hide reserve button on tiny headers to save space, it's in the menu */
  }

  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1001;
    display: none !important;
    /* Hidden by default - Alpine.js controls visibility */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu-btn {
    display: block;
    position: relative;
    z-index: 1002;
    color: var(--color-primary);
    font-size: 1.8rem;
    padding: 5px;
  }

  .mobile-nav.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mobile-nav ul {
    gap: 25px !important;
  }

  .mobile-nav a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
  }

  /* Hero Section Mobile */
  .hero {
    height: 70vh;
    /* Shorter on mobile */
    min-height: 450px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .hero-actions {
    padding: 0 15px;
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  /* Experience Section Fix */
  .experience-grid {
    gap: 30px !important;
  }

  .experience-text h2 {
    font-size: 1.8rem !important;
  }

  .video-container .phone-frame {
    width: 220px;
    height: 440px;
    border-width: 8px;
  }

  /* About Grid */
  .about-grid {
    gap: 25px !important;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  /* Units Display */
  .units-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .unit-image {
    height: 180px;
  }

  .unit-content {
    padding: 15px;
  }

  .unit-content h3 {
    font-size: 1.15rem;
  }

  /* Contact Floating Buttons - Mobile */
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }



  /* App Banner */
  .app-banner {
    padding: 8px 15px;
    font-size: 0.75rem;
  }

  .app-banner .btn-app {
    padding: 3px 12px;
    font-size: 0.7rem;
  }

  /* About Image Mobile */
  .about-img {
    max-height: 350px;
    width: auto;
    margin: 0 auto;
    display: block;
  }

  /* Footer */
  .footer-grid {
    gap: 30px;
    text-align: center;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col ul {
    padding: 0;
    width: 100%;
  }

  .footer-col li {
    width: 100%;
    margin-bottom: 12px;
  }

  .footer-col h4 {
    margin-bottom: 15px;
  }

  .site-footer {
    padding: 40px 0 20px;
  }
}

/* Landscape Mobile (Short Screens) */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero-content h1 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .hero-content p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-actions {
    margin-top: 10px;
  }

  .btn {
    padding: 8px 16px;
    height: auto !important;
    min-width: auto !important;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}

/* Base Optimization for Speed & Smoothness */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.fade-in {
  will-change: opacity, transform;
}

img {
  content-visibility: auto;
}