/* Base Styles & Variables */
:root {
  --primary-color: #c8a98a; /* Soft gold/sand */
  --primary-dark: #b08d6a;
  --text-main: #333333;
  --text-light: #666666;
  --bg-light: #f9f9f9;
  --bg-dark: #2c3e50;
  --white: #ffffff;
  --font-heading: "Lora", serif;
  --font-body: "Open Sans", sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography */
.section-title {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.section-title.text-white {
  color: var(--white);
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.title-underline {
  height: 3px;
  width: 60px;
  background-color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.title-underline.center {
  margin: 0 auto 1.5rem auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--text-main);
}

.btn-outline {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 4px;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Top Bar */
.top-bar {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.9rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.emergency-contact {
  font-weight: 600;
  color: var(--primary-color);
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--bg-dark);
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a:not(.btn-outline) {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.nav-links a:not(.btn-outline):hover {
  color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--bg-dark);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-image: url("HeroImage.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Sections General */
.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--bg-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-btn {
  text-align: center;
  margin-top: 30px;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--primary-color);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--bg-dark);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Rituals Section */
.rituals-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.ritual-item {
  background: var(--bg-light);
  padding: 25px;
  border-left: 4px solid var(--primary-color);
  border-radius: 0 8px 8px 0;
}

.ritual-item h4 {
  color: var(--bg-dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.ritual-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Contact Section */
.contact-wrapper {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-info p {
  color: #ccc;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item .icon {
  font-size: 1.5rem;
  background: rgba(200, 169, 138, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary-color);
}

.info-item h4 {
  color: var(--white);
  margin-bottom: 5px;
}

.info-item p {
  color: #ccc;
  margin-bottom: 0;
}

.contact-form-container {
  flex: 1;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  color: var(--text-main);
}

.contact-form h3 {
  margin-bottom: 20px;
  color: var(--bg-dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.footer {
  background: #111;
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-logo {
  max-width: 400px;
}

.footer-contact .info-item {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.footer-contact .icon {
  margin-right: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 8px 0;
}

.footer-links ul li a {
  color: white;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
}
/* Responsive Design */
@media (max-width: 992px) {
  .about-content,
  .contact-wrapper {
    flex-direction: column;
  }

  .hero h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.3s ease-in-out;
    gap: 20px;
    z-index: 1001;
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero h2 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section {
    padding: 50px 0;
  }

  .contact-form-container {
    padding: 25px;
  }
}

/* Wrapper spacing (adds 30px gap from all sides) */
.section {
  padding: 80px 0;
}

/* Service page css */
.service-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 30px 0; /* 🔥 top & bottom spacing */
  padding: 30px; /* 🔥 inside spacing */

  /* 🔥 Highlight effect */
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

  flex-wrap: wrap;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* 🔥 Hover highlight */
.service-detail:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* Reverse layout */
.service-detail.reverse {
  flex-direction: row-reverse;
}

/* Image Section */
.service-image {
  flex: 0.9;
  max-width: 500px;
  position: relative;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* 🔥 Image hover zoom */
.service-image:hover img {
  transform: scale(1.05);
}

/* Title on image */
.image-title {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 18px;
}

/* Content Section */
.service-content {
  flex: 1.1;
}

.service-content h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.service-content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.service-content ul {
  list-style: none;
  padding: 0;
}

.service-content ul li {
  margin-bottom: 10px;
}

/* 📱 Tablet */
@media (max-width: 992px) {
  .section {
    padding: 25px;
  }

  .service-detail {
    gap: 25px;
    padding: 25px;
  }

  .service-image {
    max-width: 400px;
  }

  .service-content h2 {
    font-size: 24px;
  }
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .section {
    padding: 20px;
  }

  .service-detail {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .service-detail.reverse {
    flex-direction: column;
  }

  .service-image {
    max-width: 100%;
  }

  .image-title {
    font-size: 16px;
    left: 10px;
    bottom: 10px;
  }

  .service-content h2 {
    font-size: 22px;
  }
}

/* 📱 Small Mobile */
@media (max-width: 480px) {
  .section {
    padding: 15px;
  }

  .service-detail {
    padding: 15px;
  }

  .service-content h2 {
    font-size: 20px;
  }

  .service-content p {
    font-size: 14px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 65px;
  height: 65px;

  background-color: #25d366;
  color: white;
  font-size: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  text-decoration: none;

  z-index: 9999; /* 🔥 very important */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

  transition: all 0.3s ease;
}

/* Hover effect */
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* 📱 Tablet */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 58px;
    height: 58px;
    font-size: 26px;
    bottom: 18px;
    right: 18px;
  }
}

/* 📱 Mobile */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 24px;
    bottom: 15px;
    right: 15px;
  }
}
.whatsapp-float img {
  width: 28px;
  height: 28px;
}

/* 🔥 COMMON HERO STYLES */
.hero {
  position: relative;
  height: 45vh;
  min-height: 400px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: white;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* 🔥 DIFFERENT BACKGROUND IMAGES */

/* About Page */
.hero-about {
  background: url("AboutHero.png") center/cover no-repeat;
}

/* Services Page */
.hero-services {
  background: url("ServicesHero.png") center/cover no-repeat;
}

/* Rituals Page */
.hero-rituals {
  background: url("RitualsHero.png") center/cover no-repeat;
}

/* 📱 Tablet */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
    padding: 20px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }
}

/* 📱 Small Mobile */
@media (max-width: 480px) {
  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }
}
