/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    color: #2d2d2d;
    overflow-x: hidden;
    background: #FFFFF0;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 65px;
    width: auto;  
    max-width: 220px; 
}

.navbar .logo span {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links li a {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  text-decoration: none;
  color: #1b3e2a;
  font-weight: 500;
  font-size: 16px;
  padding: 5px 0;
  transition: all 0.4s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #bfa760;
    transition: width 0.4s ease;
}

.nav-links li a:hover {
    color: #034c1b;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Dropdown */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff8e7;
  padding: 15px 0;
  width: 220px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 10px;
  display: none;
  flex-direction: column;
  animation: dropdownFade 0.3s ease-in-out;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  color: #1b3e2a;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
  font-family: 'Playfair Display', serif;
}

.dropdown-menu li a:hover {
  background: #bfa7601c;
  color: #bfa760;
}

/* Chevron icon style */
.nav-links .dropdown i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.nav-links .dropdown:hover i {
  transform: rotate(180deg);
}

/* Dropdown animation */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hamburger icon styles */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #1b3e2a;
  border-radius: 2px;
  transition: all 0.4s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hides mobile-specific links on desktop */
.mobile-only {
  display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  /* Hide desktop dropdown in mobile */
  .desktop-only {
    display: none;
  }
  /* Show mobile links */
  .mobile-only {
    display: block;
  }

  /* Mobile menu styling */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background-color: #FFFFF0;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 100px;
    padding-left: 30px;
    gap: 25px;
    transition: right 0.4s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    right: 0;
  }

  .nav-links li a {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: 'poppins', serif;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  .nav-links li a:hover {
    color: #bfa760;
    transform: translateX(5px);
  }

  /* Show hamburger icon */
  .hamburger {
    display: flex;
  }

  /* Adjusting navbar padding for mobile */
  .navbar {
    padding: 15px 20px;
  }

  /* Logo adjustment for mobile */
  .navbar .logo img {
    height: 55px;
    max-width: 180px;
  }
}

/* Hero Section */
.about-hero {
  background: url('Images/Special.png') center/cover no-repeat;
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.about-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(27, 62, 42, 0.6);
  z-index: 1;
}

.about-hero .hero-text {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  margin-top: 50px;
}

.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  margin-bottom: 15px;
}

.about-hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive for Tablets & Mobiles */
@media (max-width: 992px) {
  .about-hero {
    height: 50vh;
    padding: 40px 15px;
  }

  .about-hero h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  .about-hero p {
    font-size: 16px;
    line-height: 1.5;
  }
}

@media (max-width: 600px) {
  .about-hero {
    height: auto;
    padding: 70px 15px;
  }

  .about-hero .hero-text {
    padding: 0;
  }

  .about-hero h1 {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .about-hero p {
    font-size: 15px;
    line-height: 1.5;
  }
}

/*treatment section*/
.treatments-section {
  padding: 60px 20px;
  background-color: #f9f6f0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 10px;
  color: #1d3c34;
}

.section-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  color: #4a6a5a;
}

.treatment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border: 2px solid #bfa760; 
  border-radius: 20px;
  overflow: hidden;
  padding: 25px;
  box-shadow: 0 10px 20px rgba(27, 62, 42, 0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.4s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card:hover {
  transform: translateY(-12px);
  border-color: #1b3e2a; 
  box-shadow: 0 30px 50px rgba(27, 62, 42, 0.25);
  background: linear-gradient(180deg, #fffef9, #f9f6f0);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(191, 167, 96, 0.3);
  transition: transform 0.4s ease;
}

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

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 10px;
  color: #1b3e2a; 
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: #bfa760; 
}

.card p {
  font-size: 15.5px;
  color: #555;
  line-height: 1.6;
  margin-top: 8px;
}

/* Tablet Adjustments */
@media (max-width: 992px) {
  .section-title {
    font-size: 30px;
  }
  .section-subtitle {
    font-size: 17px;
  }
  .card h3 {
    font-size: 20px;
  }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .treatments-section {
    padding: 40px 15px;
  }
  
  .treatment-cards {
    grid-template-columns: 1fr; 
    gap: 20px;
  }
  
  .section-title {
    font-size: 26px;
    margin-bottom: 8px;
  }
  
  .section-subtitle {
    font-size: 15px;
    margin-bottom: 25px;
  }
  
  .card {
    padding: 20px;
    text-align: center;
    align-items: center;
  }
  
  .card img {
    height: auto;
    max-height: 200px;
  }
  
  .card h3 {
    font-size: 18px;
  }
  
  .card p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Contact Section */
.contact-section {
  background-color: #1b3e2a;
  color: #fff;
  padding: 0;
  font-family: 'Playfair Display', serif;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
}

.contact-left {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
}

.contact-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-right {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #1b3e2a;
}

.contact-right h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #fff;
}

.contact-info {
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  gap: 30px;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1rem;
  line-height: 1.6;
}

.info-block i {
  font-size: 1.2rem;
  color: #bfa760;
  min-width: 20px;
  margin-top: 4px;
}

.btn-appointment {
  display: inline-block;
  margin-top: 20px;
  background-color: #bfa760;
  color: #1b3e2a;
  padding: 8px 20px; 
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px; 
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: fit-content;
}

.btn-appointment:hover {
  background-color: #1b3e2a;
  color: #bfa760;
  border: 2px solid #bfa760;
}

/* Footer */
.footer {
  background-color: #1b3e2a;
  color: #fff;
  padding: 20px 40px;
  font-family: 'Playfair Display', serif;
  border-top: 1px solid #ffffff;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-logo {
  max-height: 60px;
  width: auto;
}

.footer-center p {
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
  margin: 0;
}

.footer-right a {
  margin-left: 30px;
  color: #fff;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #bfa760;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-left {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .contact-right {
    padding: 40px 20px;
    text-align: center;
  }

  .contact-right h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .info-block {
    justify-content: flex-start;  
    text-align: left;  
  }

  .info-block p {
    font-size: 1rem;
  }

  .info-block i {
    font-size: 1.6rem;
    margin-top: 0;
  }

  .btn-appointment {
    font-size: 15px;
    padding: 12px 25px;
    margin-top: 25px;
  }

.footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .footer-logo {
    max-height: 50px;
  }

  .footer-center p {
    max-width: 100%;
    font-size: 0.85rem;
  }

  .footer-right {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 25px;
  }

  .footer-right a {
    margin-left: 0;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-right h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .info-block {
    gap: 12px;
    justify-content: flex-start;  
    text-align: left;  
  }

  .btn-appointment {
    font-size: 14px;
    padding: 10px 20px;
  }

    .footer-logo {
    max-height: 45px;
  }
}

body > :not(.footer) {
  flex: 1;
}