:root {
  --ivory: #f9f6f2;
  --blush: #f5e9e9;
  --nude: #e8d8c6;
  --light-grey: #f0f0f0;
  --pastel-pink: #f2d7d7;
  --muted-teal: #7aa8a2;
  --dark-text: #333333;
  --medium-text: #555555;
  --transition: all 0.3s ease;
}

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

body {
  font-family: Montserrat, sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5,
.navbar-brand,
.footer-brand,
.testimonial-card::before {
  font-family: "Playfair Display", serif;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.5rem;
  padding-bottom: 1rem;
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--muted-teal);
}

h2.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.text-lead {
  font-size: 1.2rem;
  color: var(--medium-text);
}

.section-padding {
  padding: 3rem 0;
}

.section-title {
  margin-bottom: 2rem;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--ivory);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
  width: 80px;
  height: 80px;
  position: relative;
}

.loader-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top: 3px solid var(--muted-teal);
  animation: spin 1s linear infinite;
  position: relative;
}

.loader-circle::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top: 3px solid var(--pastel-pink);
  animation: spin 1.5s linear infinite reverse;
}

.loader-circle::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top: 3px solid var(--nude);
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
  padding: 1.5rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--muted-teal);
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  color: var(--dark-text);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  color: var(--muted-teal);
}

.btn-consultation {
  background: var(--muted-teal);
  color: #fff;
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  border: 2px solid var(--muted-teal);
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-consultation:hover {
  background: transparent;
  color: var(--muted-teal);
}

/* Hero */
.hero-section {
  height: 90vh;
  min-height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1497215842964-222b430dc094?w=1920&q=80")
    center center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

.btn-hero {
  padding: 0.9rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 30px;
  margin-right: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}

.btn-primary-hero {
  background: var(--muted-teal);
  border: 2px solid var(--muted-teal);
  color: #fff;
}

.btn-primary-hero:hover {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline-hero {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

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

/* About */
.about-section {
  background-color: var(--ivory);
}

.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

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

.credentials {
  list-style: none;
  padding-left: 0;
}

.credentials li {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
}

.credentials li i {
  color: var(--muted-teal);
  margin-right: 10px;
  font-size: 1.1rem;
}

/* Services */
.service-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--light-grey);
  height: 100%;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

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

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

.service-content {
  padding: 1.5rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--muted-teal);
}

/* Products */
.products-section {
  background-color: var(--ivory);
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--light-grey);
  height: 100%;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--muted-teal);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-content {
  padding: 1.5rem;
}

.product-content h4 {
  margin-bottom: 0.5rem;
}

.product-content p {
  color: var(--medium-text);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.2rem;
}

.product-features li {
  font-size: 0.9rem;
  color: var(--medium-text);
  margin-bottom: 0.4rem;
}

.product-features li i {
  color: var(--muted-teal);
  margin-right: 8px;
  font-size: 0.8rem;
}

/* Benefits */
.benefits-section {
  background-color: var(--light-grey);
}

.benefit-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: var(--blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--muted-teal);
}

/* Gallery */
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(122, 168, 162, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #fff;
  font-size: 2.5rem;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin: 1rem;
  position: relative;
  transition: var(--transition);
  height: calc(100% - 2rem);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 5rem;
  color: var(--blush);
  line-height: 1;
}

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

.client-info {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA */
.cta-section {
  background: linear-gradient(
      rgba(122, 168, 162, 0.9),
      rgba(122, 168, 162, 0.9)
    ),
    url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=1920&q=80")
    center center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
}

.cta-section h2::after {
  background: #fff;
  left: 50%;
  transform: translateX(-50%);
}

.btn-cta {
  background: #fff;
  color: var(--muted-teal);
  padding: 0.9rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid #fff;
  text-decoration: none;
  display: inline-block;
}

.btn-cta:hover {
  background: transparent;
  color: #fff;
}

/* Contact */
.contact-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.form-control {
  padding: 0.8rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--muted-teal);
  box-shadow: 0 0 0 0.2rem rgba(122, 168, 162, 0.2);
}

.contact-info {
  background: var(--ivory);
  padding: 2.5rem;
  border-radius: 10px;
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  color: var(--muted-teal);
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  height: 300px;
  margin-top: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background: linear-gradient(180deg, #1f1f1f, #2a2a2a);
  color: #dcdcdc;
  padding: 4.5rem 0 2rem;
  font-size: 15px;
}

.footer-brand {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  display: inline-block;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-decoration: none;
}

footer p {
  color: #bdbdbd;
  line-height: 1.7;
}

footer h5 {
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 10px;
}

footer h5::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--muted-teal);
  position: absolute;
  left: 0;
  bottom: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #bdbdbd;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-links i {
  color: var(--muted-teal);
}

.social-icons {
  display: flex;
  margin-top: 1.8rem;
  gap: 12px;
}

.social-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--muted-teal);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  color: #fff;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.8rem;
  margin-top: 3.5rem;
  color: #9e9e9e;
  font-size: 0.9rem;
  text-align: center;
}

.copyright a {
  color: #bdbdbd;
  text-decoration: none;
}

.copyright a:hover {
  color: #ffffff;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--muted-teal);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: #5a8c86;
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 991px) {
  h1 {
    font-size: 2rem;
  }

  .hero-section {
    height: auto;
    min-height: 80vh;
    padding: 8rem 0 4rem;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-padding {
    padding: 2.5rem 0;
  }
}
