/* ==========================================
   TADIS CLEANING — Pure HTML/CSS/JS
   Gozo, Malta
   ========================================== */

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #FAF8F5;
  color: #1A1A1A;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Section Label */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C4A35A;
  margin-bottom: 16px;
}

/* ==========================================
   NAVIGATION
   ========================================== */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

#navbar.scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #1A1A1A;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1A1A1A;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #C4A35A;
}

.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #FAF8F5;
  background: #C4A35A;
  border-radius: 4px;
  padding: 10px 24px;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: #B08D3F;
}

.nav-toggle {
  display: none;
  color: #1A1A1A;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile-link {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #1A1A1A;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-mobile-link:hover {
  color: #C4A35A;
}

.nav-mobile-cta {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #FAF8F5;
  background: #C4A35A;
  border-radius: 4px;
  padding: 12px 24px;
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* ==========================================
   HERO
   ========================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.15) 0%, rgba(26, 26, 26, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 0 80px 120px;
  max-width: 1200px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -1.5px;
  color: #FAF8F5;
  max-width: 700px;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  color: #FAF8F5;
  opacity: 0.9;
  max-width: 520px;
  margin-top: 24px;
}

.hero-cta {
  display: inline-block;
  width: fit-content;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #FAF8F5;
  background: #C4A35A;
  border-radius: 50px;
  padding: 14px 36px;
  margin-top: 40px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-cta:hover {
  background: #B08D3F;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 24px 80px;
  }
  .hero-title {
    font-size: clamp(36px, 10vw, 48px);
  }
}

/* ==========================================
   WAVE SECTION
   ========================================== */

.wave-section {
  position: relative;
  width: 100%;
  background: #2C2C2C;
  min-height: 200vh;
}

.wave-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wave-letter-wrapper {
  height: 50vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wave-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80vh;
  font-weight: 600;
  color: #FAF8F5;
  line-height: 1;
  will-change: transform;
  opacity: 0.08;
  user-select: none;
}

.wave-letter-top {
  transform-origin: 50% 100%;
}

.wave-letter-bottom {
  transform-origin: 50% 0%;
}

.wave-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  pointer-events: none;
}

.wave-overlay-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #C4A35A;
}

@media (max-width: 768px) {
  .wave-letter {
    font-size: 60vh;
  }
}

/* ==========================================
   SERVICES
   ========================================== */

.services {
  background: #FAF8F5;
  padding: 120px 0;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 64px;
}

.services-left {
  width: 45%;
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

.services-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.17;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #1A1A1A;
}

.services-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.625;
  font-weight: 400;
  color: #6B6560;
  margin-top: 24px;
}

.services-right {
  width: 55%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(40px);
}

.service-card-image {
  height: 192px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-card-body {
  padding: 32px;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.service-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1A1A1A;
}

.service-card-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.625;
  font-weight: 400;
  color: #6B6560;
}

.service-card-link {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #C4A35A;
  transition: color 0.2s ease;
}

.service-card-link:hover {
  color: #B08D3F;
}

@media (max-width: 1024px) {
  .services-container {
    flex-direction: column;
  }
  .services-left {
    width: 100%;
    position: relative;
    top: 0;
  }
  .services-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 60px 0;
  }
}

/* ==========================================
   ABOUT
   ========================================== */

.about {
  background: #E8DFD0;
  padding: 120px 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 64px;
  align-items: center;
}

.about-image {
  width: 50%;
  opacity: 0;
  transform: translateX(-40px);
}

.about-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

.about-text {
  width: 50%;
  opacity: 0;
  transform: translateX(40px);
}

.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.17;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #1A1A1A;
}

.about-body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.625;
  font-weight: 400;
  color: #1A1A1A;
  margin-top: 24px;
}

.about-tags {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6B6560;
  margin-top: 32px;
}

@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
  }
  .about-image,
  .about-text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 60px 0;
  }
}

/* ==========================================
   TESTIMONIALS
   ========================================== */

.testimonials {
  background: #FAF8F5;
  padding: 120px 0;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.17;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #1A1A1A;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 48px 40px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: scale(0.95);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 400;
  font-style: italic;
  color: #1A1A1A;
  margin-bottom: 32px;
}

.testimonial-author {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
}

.testimonial-location {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #6B6560;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 0;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   CONTACT
   ========================================== */

.contact {
  background: #2C2C2C;
  padding: 120px 0;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 80px;
}

.contact-left {
  width: 50%;
  opacity: 0;
  transform: translateY(30px);
}

.contact-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.17;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #FAF8F5;
}

.contact-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.625;
  font-weight: 400;
  color: rgba(250, 248, 245, 0.7);
  margin-top: 24px;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #FAF8F5;
}

.contact-right {
  width: 50%;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
}

.contact-whatsapp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  background: rgba(250, 248, 245, 0.04);
  border: 1px solid rgba(250, 248, 245, 0.1);
  border-radius: 12px;
  padding: 56px 40px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-whatsapp-card:hover {
  background: rgba(250, 248, 245, 0.08);
  border-color: rgba(196, 163, 90, 0.3);
}

.contact-whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.contact-whatsapp-card:hover .contact-whatsapp-icon {
  transform: scale(1.1);
}

.contact-whatsapp-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #FAF8F5;
  margin-bottom: 8px;
}

.contact-whatsapp-card p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(250, 248, 245, 0.6);
  max-width: 320px;
}

.contact-whatsapp-cta {
  display: inline-block;
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #C4A35A;
}

@media (max-width: 1024px) {
  .contact-container {
    flex-direction: column;
    gap: 48px;
  }
  .contact-left,
  .contact-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 0;
  }
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: #1A1A1A;
  padding: 48px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #FAF8F5;
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #6B6560;
  margin-top: 4px;
}

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

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #6B6560;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FAF8F5;
}

.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #6B6560;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: whatsapp-pulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ==========================================
   ANIMATIONS (for JS-triggered reveals)
   ========================================== */

.animated-in {
  opacity: 1 !important;
  transform: none !important;
}

/* Smooth transition for scroll-triggered elements */
[data-animate],
[data-animate-left],
[data-animate-right],
[data-animate-up],
[data-animate-up-delay] {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate-up-delay] {
  transition-delay: 0.2s;
}
