/* ==================== GLOBAL VARIABLES & RESET ==================== */
:root {
  --green: #1f7a4f;
  --green-light: #e9f7f0;
  --green-dark: #134e36;
  --bg-gradient: linear-gradient(135deg, #ecfff6 0%, #ffffff 100%);
  --text-color: #1e2a32;
  --card-bg: white;
  --shadow-sm: 0 12px 30px rgba(0,0,0,0.06);
  --shadow-md: 0 18px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 45px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  --border-light: 1px solid rgba(31,122,79,0.08);
  --font-main: 'Segoe UI', 'Poppins', system-ui, -apple-system, sans-serif;
}

[data-theme="dark"] {
  --bg-gradient: linear-gradient(135deg, #1a2a1f, #0d1f12);
  --text-color: #e0e0e0;
  --card-bg: #1e2a1f;
  --shadow-sm: 0 12px 30px rgba(0,0,0,0.3);
  --shadow-md: 0 18px 40px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 45px rgba(0,0,0,0.5);
  --border-light: 1px solid rgba(255,255,255,0.1);
}

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

body {
  font-family: var(--font-main);
  background: var(--bg-gradient);
  color: var(--text-color);
  line-height: 1.5;
  transition: background 0.3s, color 0.3s;
}

/* ==================== TOP BAR (Language + Dark Mode) ==================== */
.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  padding: 8px 40px;
  background: rgba(42, 160, 110, 0.1);
  backdrop-filter: blur(4px);
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(31,122,79,0.2);
}
.lang-switch button, .dark-mode-toggle {
  background: var(--green);
  border: none;
  color: white;
  padding: 6px 14px;
  border-radius: 40px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}
.lang-switch button:hover, .dark-mode-toggle:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.search-container {
  position: relative;
  display: inline-block;
}
#searchInput {
  padding: 6px 14px;
  border-radius: 40px;
  border: 1px solid #ccc;
  width: 220px;
  font-size: 0.85rem;
  background: var(--card-bg);
  color: var(--text-color);
}
.search-results {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  width: 300px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  border: var(--border-light);
}
.search-results div {
  padding: 10px 15px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  cursor: pointer;
}
.search-results div:hover {
  background: var(--green-light);
}

/* ==================== NAVBAR ==================== */
.navbar {
  background-color: #2AA06E;
  padding: 12px 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.logo-area {
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 1px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger div {
  width: 30px;
  height: 3px;
  background: white;
  border-radius: 3px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}
.nav-links li {
  position: relative;
}
.nav-links a {
  color: white;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 40px;
  transition: var(--transition);
  font-weight: 500;
}
.nav-links a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #2AA06E;
  border-radius: 20px;
  display: none;
  padding: 8px 0;
  box-shadow: var(--shadow-sm);
  min-width: 180px;
  z-index: 100;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu li a {
  padding: 10px 20px;
  display: block;
}
@media (max-width: 768px) {
  .navbar { padding: 12px 20px; }
  .hamburger { display: flex; }
  .nav-links {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    width: 100%;
    background: #2AA06E;
    border-radius: 20px;
    margin-top: 12px;
    transition: max-height 0.3s ease;
  }
  .nav-links.show { max-height: 600px; }
  .nav-links li { text-align: center; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: #1e7a52;
    border-radius: 0;
  }
  .top-bar { justify-content: center; padding: 8px 20px; }
  #searchInput { width: 160px; }
}

/* ==================== FLOATING BUTTONS ==================== */
.float-buttons {
  position: fixed;
  bottom: 140px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}
.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green), #16633f);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: var(--transition);
}
.float-btn.whatsapp { background: linear-gradient(145deg, #25D366, #128C7E); }
.float-btn:hover { transform: scale(1.1) rotate(5deg); }

/* ==================== CONTAINER & SECTIONS ==================== */
.container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 24px;
}
.section {
  background: var(--card-bg);
  padding: 35px;
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
  margin-bottom: 35px;
  transition: var(--transition);
}
.section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
h2 {
  color: var(--green);
  border-left: 5px solid var(--green);
  padding-left: 18px;
  margin-bottom: 20px;
  font-size: 2rem;
}
h3 {
  margin: 15px 0 10px;
  color: var(--green-dark);
}

/* ==================== FORMS & INPUTS ==================== */
input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: 16px;
  border: 1.5px solid #e0e7e3;
  background: var(--card-bg);
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31,122,79,0.1);
}
button, .btn {
  background: linear-gradient(135deg, var(--green), #3fcf94);
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(31,122,79,0.2);
}
button:hover, .btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31,122,79,0.3);
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--green-dark);
  color: white;
  text-align: center;
  padding: 28px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  margin-top: 60px;
  font-size: 0.9rem;
}

/* Additional page-specific styles (gallery, blog, FAQ, etc.) */
.blog-grid, .faq-grid, .price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}
.blog-card, .faq-item, .price-card {
  background: var(--green-light);
  padding: 22px;
  border-radius: 24px;
  transition: var(--transition);
}
.blog-card:hover, .faq-item:hover, .price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.gallery-grid img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 24px;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}
.star-rating {
  font-size: 32px;
  color: #ccc;
  cursor: pointer;
  margin-bottom: 20px;
}
.star-rating span {
  transition: all 0.2s;
  display: inline-block;
}
.star-rating span:hover, .star-rating span.selected {
  color: #f5b50a;
  transform: scale(1.2);
}
