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

/* =============== VARIABLES CSS =============== */
:root {
  --header-height: 4.5rem;

  /* Colors */
  /* Teal & Soft Blue Palette */
  --first-color: #0d9488; /* Teal */
  --first-color-alt: #0f766e;
  --second-color: #e0f2fe; /* Soft Blue */
  --title-color: #0f172a;
  --text-color: #475569;
  --text-color-light: #94a3b8;
  --body-color: #f8fafc;
  --container-color: #ffffff;
  --gradient-primary: linear-gradient(135deg, #0d9488, #0ea5e9);
  --gradient-soft: linear-gradient(135deg, #f0f9ff, #e0f2fe);

  /* Typography */
  --body-font: 'Outfit', sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 2rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;

  /* Font weight */
  --font-light: 300;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-extra-bold: 800;

  /* Z index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  
  /* Radii */
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
}

/* Responsive Typography */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.75rem;
    --h2-font-size: 2.25rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1.063rem;
    --small-font-size: 0.938rem;
    --smaller-font-size: 0.875rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/* =============== REUSABLE CSS CLASSES =============== */
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.section {
  padding-block: 5rem 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  margin-bottom: 1rem;
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.section__header {
  margin-bottom: 3rem;
}

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

.section__description {
  max-width: 600px;
  color: var(--text-color);
}

.section__header.center .section__description {
  margin-inline: auto;
}

/* =============== BUTTONS =============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 3rem;
  font-weight: var(--font-semi-bold);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: var(--normal-font-size);
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 8px 24px hsla(175, 83%, 32%, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 8px 32px hsla(175, 83%, 32%, 0.5);
  transform: translateY(-3px);
}

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

.btn--outline:hover {
  background: var(--first-color);
  color: #fff;
}

.btn--link {
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: 0.3s;
}

.btn--link:hover {
  gap: 0.5rem;
}

.btn--full {
  width: 100%;
}

/* =============== FLOATING BUTTONS =============== */
.whatsapp-btn, .emergency-btn {
  position: fixed;
  bottom: 2rem;
  z-index: var(--z-fixed);
  border-radius: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.whatsapp-btn {
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  color: white;
  font-size: 1.75rem;
}

.whatsapp-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.emergency-btn {
  left: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #ef4444;
  color: white;
  font-weight: var(--font-bold);
  gap: 0.5rem;
}

.emergency-btn i {
  font-size: 1.25rem;
}

.emergency-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
  background-color: #dc2626;
}

/* =============== HEADER & NAV =============== */
.header {
  position: fixed;
  width: 100%;
  background-color: transparent;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: background-color 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.bg-header {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--title-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-extra-bold);
}

.nav__logo i {
  color: var(--first-color);
  font-size: 1.5rem;
}

.nav__logo span {
  color: var(--first-color);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__toggle, .nav__close {
  display: flex;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

@media screen and (max-width: 967px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    padding: 4rem 0 3rem;
    transition: top 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .nav__btn {
    display: none;
  }
}

.show-menu {
  top: 0;
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
  text-align: center;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: color 0.3s;
}

.nav__link:hover {
  color: var(--first-color);
}

.active-link {
  color: var(--first-color);
  position: relative;
}

.active-link::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  background-color: var(--first-color);
  bottom: -0.5rem;
  left: 25%;
  border-radius: 2px;
}

.nav__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

/* =============== HERO =============== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 2rem);
  background: var(--gradient-soft);
}

.hero__container {
  position: relative;
  row-gap: 3rem;
  z-index: 2;
}

.hero__subtitle {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(13, 148, 136, 0.1);
  color: var(--first-color);
  border-radius: 2rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: var(--biggest-font-size);
  margin-bottom: 1.5rem;
}

.hero__title span {
  color: var(--first-color);
}

.hero__description {
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat__number {
  font-size: var(--h2-font-size);
  color: var(--first-color);
}

.stat__text {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.hero__img-box {
  position: relative;
  justify-self: center;
}

.hero__blob {
  width: 300px;
  height: 380px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid rgba(255, 255, 255, 0.5);
  animation: morph 8s ease-in-out infinite;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes morph {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.hero__floating-card {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

.hero__floating-icon {
  width: 40px;
  height: 40px;
  background-color: var(--second-color);
  color: var(--first-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
}

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

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background-color: rgba(13, 148, 136, 0.3);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background-color: rgba(14, 165, 233, 0.2);
  bottom: -50px;
  left: -100px;
}

/* =============== ABOUT =============== */
.about__container {
  row-gap: 3rem;
}

.about__img-wrapper {
  position: relative;
  justify-self: center;
}

.about__img {
  width: 350px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about__experience {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--gradient-primary);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-weight: var(--font-bold);
  text-align: center;
  line-height: 1.4;
  border: 4px solid #fff;
}

.about__experience span {
  font-size: var(--h3-font-size);
}

.about__description {
  margin-bottom: 2rem;
}

.about__list {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.about__list i {
  color: var(--first-color);
  font-size: 1.25rem;
  background-color: var(--second-color);
  border-radius: 50%;
  padding: 2px;
}

/* =============== SERVICES =============== */
.services__container {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service__card {
  background-color: var(--container-color);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient-primary);
  z-index: -1;
  transition: all 0.4s ease;
}

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

.service__card:hover::after {
  height: 100%;
}

.service__card:hover .service__title,
.service__card:hover .service__description,
.service__card:hover .service__btn {
  color: #fff;
}

.service__card:hover .service__icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.service__icon {
  width: 60px;
  height: 60px;
  background-color: var(--second-color);
  color: var(--first-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: 0.4s;
}

.service__title {
  margin-bottom: 1rem;
  transition: 0.4s;
}

.service__description {
  margin-bottom: 1.5rem;
  transition: 0.4s;
}

.service__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
  transition: 0.4s;
}

/* =============== BOOKING =============== */
.booking {
  background-color: var(--container-color);
}

.booking__container {
  row-gap: 3rem;
}

.booking__description {
  margin-bottom: 2rem;
}

.booking__info {
  display: grid;
  gap: 1.5rem;
}

.info__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--body-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.info__card i {
  font-size: 2rem;
  color: var(--first-color);
}

.info__card h4 {
  margin-bottom: 0.25rem;
}

.info__card p {
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.booking__form-wrapper {
  background: var(--gradient-soft);
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form__title {
  margin-bottom: 2rem;
  text-align: center;
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3rem;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  outline: none;
  background-color: #fff;
  transition: 0.3s;
}

.form__input:focus {
  border-color: var(--first-color);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.form__textarea {
  border-radius: 1.5rem;
  resize: vertical;
  min-height: 120px;
}

.form__msg {
  margin-top: 1rem;
  text-align: center;
  font-weight: var(--font-medium);
}

/* =============== TESTIMONIALS =============== */
.testimonial__container {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial__card {
  background-color: var(--container-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial__stars {
  color: #f59e0b;
  margin-bottom: 1rem;
}

.testimonial__text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial__user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial__img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* =============== GALLERY =============== */
.gallery__container {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery__img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.4s ease;
  cursor: pointer;
}

.gallery__img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* =============== FAQ =============== */
.faq__container {
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin-inline: auto;
}

.faq__item {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: 0.3s;
}

.faq__item:hover {
  box-shadow: var(--shadow-md);
}

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

.faq__title {
  font-size: var(--normal-font-size);
  color: var(--title-color);
}

.faq__icon {
  font-size: 1.5rem;
  color: var(--first-color);
  transition: 0.3s;
}

.faq__content {
  color: var(--text-color);
  font-size: var(--small-font-size);
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq__content p {
  padding-top: 1rem;
}

/* =============== BLOG =============== */
.blog__container {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.blog__card {
  background-color: var(--container-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.4s;
}

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

.blog__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: 0.4s;
}

.blog__card:hover .blog__img {
  transform: scale(1.05);
}

.blog__data {
  padding: 1.5rem;
  background-color: var(--container-color);
  position: relative;
  z-index: 1;
}

.blog__date {
  display: block;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-bottom: 0.5rem;
}

.blog__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

/* =============== CONTACT =============== */
.contact__container {
  row-gap: 3rem;
}

.contact__info {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.contact__card {
  background-color: var(--container-color);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
}

.contact__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact__icon {
  font-size: 2.5rem;
  color: var(--first-color);
  margin-bottom: 1rem;
  background-color: var(--second-color);
  padding: 0.5rem;
  border-radius: 50%;
}

.contact__title {
  margin-bottom: 0.5rem;
}

.contact__text {
  font-size: var(--small-font-size);
}

.contact__map {
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* =============== FOOTER =============== */
.footer {
  background-color: var(--title-color);
  color: var(--text-color-light);
  padding-block: 4rem 1rem;
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: var(--h2-font-size);
  font-weight: var(--font-extra-bold);
  margin-bottom: 1.5rem;
}

.footer__logo i {
  color: var(--first-color);
}

.footer__logo span {
  color: var(--first-color);
}

.footer__description {
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  font-size: 1.25rem;
  transition: 0.3s;
}

.footer__social-link:hover {
  background-color: var(--first-color);
  transform: translateY(-3px);
}

.footer__title {
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer__links, .footer__contact {
  display: grid;
  gap: 0.75rem;
}

.footer__link {
  color: var(--text-color-light);
  transition: 0.3s;
}

.footer__link:hover {
  color: var(--first-color);
  padding-left: 0.25rem;
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__contact i {
  font-size: 1.25rem;
  color: var(--first-color);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =============== BREAKPOINTS =============== */
@media screen and (min-width: 576px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__container,
  .booking__container {
    grid-template-columns: 80%;
    justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  .hero__container,
  .about__container,
  .booking__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .hero__data {
    text-align: left;
  }
  .hero__buttons {
    justify-content: flex-start;
  }
  .about__data {
    text-align: left;
  }
  .booking__data {
    text-align: left;
  }
  .booking__form-wrapper {
    padding: 3.5rem 3rem;
  }
  .hero__blob {
    width: 400px;
    height: 500px;
  }
}

@media screen and (min-width: 1024px) {
  .container {
    margin-inline: auto;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__toggle, .nav__close {
    display: none;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }
  .nav__btn {
    display: inline-flex;
  }
  .hero__blob {
    width: 450px;
    height: 550px;
  }
  .hero__floating-card {
    left: -4rem;
  }
  .about__img {
    width: 450px;
  }
}
