@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --color-primary: #0b3d2e;
  --color-accent: #f0862e;
  --color-light: #f7f6f2;
  --color-dark: #1a1a1a;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--color-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
}

p {
  margin: 0 0 12px;
  line-height: 1.6;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #eee;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-header .logo img {
  height: 100px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #025906;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav li.has-dropdown:hover > a {
  color: #ef8a08;
  text-decoration: underline;
}

.main-nav li.has-dropdown {
  position: relative;
}

.main-nav li.has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  padding: 8px;
  list-style: none;
  margin: 6px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.main-nav li.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: var(--color-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

@media only screen and (max-width: 800px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
  }

  .main-nav li.has-dropdown > a::after {
    float: right;
    margin-top: 6px;
  }

  .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    margin: 0;
  }

  .main-nav li.has-dropdown:hover .dropdown-menu {
    display: none;
  }

  .main-nav li.has-dropdown.is-open .dropdown-menu {
    display: block;
  }

  .nav-toggle {
    display: block;
  }

  .site-header .container {
    position: relative;
  }
}

/* Hero */
.hero {
  position: relative;
  background: url("../img/hero-bg.jpg") center / cover no-repeat;
  color: #fff;
  padding: 110px 0;
  text-align: left;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 61, 46, 0.45);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
  max-width: 560px;
}

.hero p.subtitle {
  font-size: 24px;
  font-weight: 700;
  opacity: 0.95;
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 460px;
}

.hero-actions .btn {
  width: 100%;
  text-align: center;
  font-size: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

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

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
  padding: 70px 0;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
}

.section-alt h2 {
  color: #025906;
}

.section-alt .container > div[class*="elfsight-app"] {
  max-width: 100%;
  overflow: hidden;
}

.history {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.history img {
  border-radius: 12px;
}

.history h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

@media only screen and (max-width: 800px) {
  .history {
    grid-template-columns: 1fr;
  }
}

/* Cards / grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}

.card img {
  margin: 0 auto 16px;
  height: 56px;
  width: auto;
}

/* Pricing */
.pricing-group {
  margin-bottom: 56px;
}

.pricing-group h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.price-card {
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  background: #fff;
}

.price-card .price {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 10px 0;
}

.price-card .sessions {
  color: #777;
  font-size: 14px;
  margin-bottom: 16px;
}

/* Shop */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.shop-card {
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.shop-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: var(--color-light);
  padding: 20px 0;
}

.shop-card .price {
  font-weight: 700;
  color: var(--color-primary);
  margin: 8px 0 16px;
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  align-items: center;
}

@media only screen and (max-width: 800px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.partners-grid img {
  max-height: 160px;
  width: auto;
  margin: 0 auto;
  filter: grayscale(20%);
}

/* Contact */
.contact-hero {
  background: url("../img/contact-bg.jpg") center / cover no-repeat;
  color: #fff;
  padding: 90px 0;
  text-align: center;
  position: relative;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 61, 46, 0.6);
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-card {
  max-width: 640px;
  margin: -60px auto 0;
  background: var(--color-primary);
  color: #fff;
  border-radius: 16px;
  padding: 44px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 2;
}

.contact-card h2 {
  font-size: 24px;
  margin-bottom: 28px;
  text-align: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.detail-item h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.75;
  margin-bottom: 4px;
  font-weight: 500;
}

.detail-item p,
.detail-item a {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.detail-item a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
}

.hours-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 8px 0;
  font-size: 15px;
}

.hours-table td:first-child {
  font-weight: 600;
  text-transform: capitalize;
  padding-right: 16px;
  white-space: nowrap;
}

.hours-table td:last-child {
  text-align: right;
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: #fff;
  padding: 48px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid img {
  height: 48px;
  margin-bottom: 12px;
}

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

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

.footer-links a {
  opacity: 0.85;
  font-size: 14px;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 13px;
  opacity: 0.7;
  text-align: center;
}
