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

:root {
  /* Colors */
  --primary: #01494B;
  --secondary: #CCFFFF;
  --accent: #E6FFFF;
  --body-bg: #FFFFFF;
  --section-bg: #F5FAFA;
  --text-main: #012A2B;
  --text-muted: #5B6B6B;
  --white: #FFFFFF;
  --black: #000000;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 6px -1px rgba(1, 73, 75, 0.05), 0 2px 4px -1px rgba(1, 73, 75, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(1, 73, 75, 0.08), 0 4px 6px -2px rgba(1, 73, 75, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(1, 73, 75, 0.1), 0 10px 10px -5px rgba(1, 73, 75, 0.04);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, .brand-logo {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--spacing-lg) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--spacing-xl) 0;
  }
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: 'Inter Tight', sans-serif;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

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

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

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

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-fast);
  color: var(--white); /* White text by default at top */
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
  color: var(--primary); /* Dark text when scrolled */
}

header.menu-open {
  z-index: 1000;
}

header .brand-logo,
header .nav-link,
header .menu-toggle span {
  color: inherit;
  background-color: transparent;
}

header.scrolled .brand-logo {
  color: var(--primary);
}

header .menu-toggle span {
  background-color: var(--white);
}

header.scrolled .menu-toggle span {
  background-color: var(--primary);
}

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

.nav-links {
  display: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  
  .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
  }

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

/* Nav Actions */
.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-actions .btn-secondary,
.nav-actions .btn-primary {
  display: none;
}

@media (min-width: 768px) {
  .nav-actions .btn-secondary,
  .nav-actions .btn-primary {
    display: flex;
  }
}

.brand-logo {
  font-size: 1.2rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .brand-logo {
    font-size: 1.5rem;
  }
}

.brand-logo span {
  font-weight: 700;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 2000;
  width: 30px;
  height: 30px;
  transition: var(--transition-fast);
}

.menu-toggle span {
  width: 30px;
  height: 2px;
  background-color: var(--white); /* White at top by default */
  transition: var(--transition-fast);
}

header.scrolled .menu-toggle span,
.menu-toggle.active span {
  background-color: var(--primary); /* Dark when scrolled OR when menu is open */
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  background-color: var(--primary);
}

/* Subtle gradient at top for header readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
  pointer-events: none;
}

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

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  color: var(--white);
}

.hero-tag {
  background: rgba(204, 255, 255, 0.1);
  color: var(--secondary);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  display: inline-block;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(204, 255, 255, 0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

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

/* Stats Section */
.stats {
  margin-top: -80px;
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Services Section */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-tag {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}

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

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 2.5rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid #f0f0f0;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: 1rem;
}

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

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

/* Testimonials */
.testimonials {
  background-color: var(--section-bg);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: #FFD700;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.875rem;
}

/* Gallery - Simple 3x2 Square Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1; /* Force square shape */
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

/* CTA Section */
.cta-section {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-text h4 {
  margin-bottom: 0.25rem;
}

.contact-text p {
  color: var(--text-muted);
}

.contact-map {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
}

/* Footer */
footer {
  padding: var(--spacing-lg) 0;
  border-top: 1px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Nav Styles */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 2500;
  padding: 6rem 2rem;
  transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

@media (min-width: 480px) {
  .mobile-nav {
    max-width: 400px;
  }
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav ul li {
  margin-bottom: 2rem;
}

.mobile-nav ul li a {
  font-size: 1.5rem;
  font-weight: 600;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1150;
}

.overlay.active {
  display: block;
}

/* About Section Video Cropping */
.about-video-wrapper {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.about-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15); /* Zoom in to hide bottom-right watermark */
  transform-origin: top left;
}

.btn-close-menu {
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 1rem;
}

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