/* Verde Incanto – NATURE ORGANIC STYLE CSS */

/* 1. FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital,wght@0,400;1,400&family=Montserrat:wght@400;500;700&display=swap');

:root {
  /* Brand Colors */
  --primary: #2C4A39;
  --primary-light: #42745B;
  --secondary: #FFFFFF;
  --secondary-muted: #E7EAE7;
  --accent: #A68F5E;
  --accent-dark: #8B7747;
  --earth-brown: #7C6F57;
  --earth-clay: #C2B280;
  --leaf-green: #6B8F71;
  --error: #B94A48;
  /* Typography */
  --font-display: 'DM Serif Display', serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  /* Shadows & Radius */
  --shadow-soft: 0 4px 16px 0 rgba(44,74,57,0.08);
  --radius-card: 22px;
  --radius-btn: 32px;
  /* Spacing */
  --gap-section: 60px;
  --gap-card: 24px;
  --gap-content: 20px;
  --gap-feature: 15px;
  --gap-testimonial: 20px;
  --container-max: 1200px;
}

html {
  box-sizing: border-box;
  font-size: 18px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-body);
  color: var(--primary);
  background: linear-gradient(180deg, var(--secondary-muted) 0%, var(--secondary) 100%);
  margin: 0;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* 2. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.6em;
  font-weight: 400;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.1;
}
h2 {
  font-size: 1.6rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.3;
}
h4 {
  font-size: 1.05rem;
  line-height: 1.3;
}
p, ul, ol, li, address {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 1em;
}
strong {
  font-weight: 700;
}
a {
  color: var(--primary-light);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--accent);
  text-decoration: none;
}

/* 3. LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-content);
}

section {
  margin-bottom: var(--gap-section);
  padding: 40px 20px;
  background: none;
  border-radius: 0 0 60px 0/0 0 60px 0;
  /* organic shape hint */
}

/* 4. HEADER & NAVIGATION */
header {
  background: var(--secondary);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
nav a:hover, nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.cta-btn {
  background: linear-gradient(90deg, var(--primary-light) 60%, var(--leaf-green) 100%);
  color: var(--secondary);
  font-family: var(--font-body);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 32px;
  margin-left: 16px;
  box-shadow: 0 2px 8px 0 rgba(44,74,57,0.10);
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-dark) 100%);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px 0 rgba(44,74,57,0.13);
}

/* 5. MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--primary-light);
  color: var(--secondary);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-left: 16px;
}
.mobile-menu-toggle:active {
  background: var(--accent);
  transform: scale(0.95);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,74,57,0.97);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: var(--secondary);
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

/* 6. HERO & ORGANIC SHAPES */
section:first-of-type {
  background: linear-gradient(120deg, var(--secondary-muted) 80%, var(--leaf-green) 100%);
  border-radius: 0 0 80px 0/0 0 80px 0;
  box-shadow: 0 8px 32px 0 rgba(44,74,57,0.07);
}

/* 7. FLEXBOX LAYOUTS */
.feature-grid, .service-cards, .gallery-slider, .team-grid, .project-gallery, .blog-post-cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-card);
  justify-content: space-between;
  margin-bottom: 20px;
}
.feature-grid > div, .service-cards > div, .gallery-slider > div, .team-grid > div, .project-gallery > div, .blog-post-cards > div {
  background: var(--secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 28px 24px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 0;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
  margin-right: 0;
}
.feature-grid > div:hover, .service-cards > div:hover, .gallery-slider > div:hover, .team-grid > div:hover, .project-gallery > div:hover, .blog-post-cards > div:hover {
  box-shadow: 0 8px 32px 0 rgba(44,74,57,0.13);
  transform: translateY(-4px) scale(1.02);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(44,74,57,0.13);
  transform: translateY(-4px) scale(1.02);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--secondary-muted);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  flex-direction: row;
  transition: box-shadow 0.2s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(44,74,57,0.13);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--primary);
  margin: 0 0 0.5em 0;
  line-height: 1.4;
  quotes: "\201C" "\201D";
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1rem;
  margin: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* 8. BLOG SEARCH BAR & CATEGORIES */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.search-bar input[type="text"] {
  flex: 1 1 200px;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--primary-light);
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--secondary-muted);
  color: var(--primary);
  outline: none;
  transition: border 0.2s;
}
.search-bar input[type="text"]:focus {
  border: 1.5px solid var(--accent);
}
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.categories a {
  background: var(--secondary-muted);
  color: var(--primary-light);
  border-radius: var(--radius-btn);
  padding: 6px 18px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.categories a:hover, .categories a:focus {
  background: var(--accent);
  color: var(--secondary);
}

/* 9. FOOTER */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 40px 0 0 0;
  border-radius: 60px 0 0 0/60px 0 0 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--secondary);
  font-size: 1rem;
  text-decoration: underline;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
}
footer address {
  font-style: normal;
  color: var(--secondary);
  font-size: 0.98rem;
  line-height: 1.5;
}
footer address a {
  color: var(--accent);
  text-decoration: underline;
}

/* 10. COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 -4px 24px 0 rgba(44,74,57,0.09);
  padding: 24px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 99999;
  border-radius: 32px 32px 0 0/32px 32px 0 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.3s, transform 0.4s cubic-bezier(.77,0,.18,1);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-text {
  flex: 1 1 300px;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  margin: 0;
}
.cookie-btn.accept {
  background: var(--primary-light);
  color: var(--secondary);
  font-weight: 700;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--accent);
  color: var(--secondary);
  transform: scale(1.04);
}
.cookie-btn.reject {
  background: var(--secondary-muted);
  color: var(--primary);
  font-weight: 500;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--earth-brown);
  color: var(--secondary);
  transform: scale(1.04);
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--secondary);
  font-weight: 500;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--accent-dark);
  color: var(--secondary);
  transform: scale(1.04);
}
footer .container p {
    color: white;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(44,74,57,0.55);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 32px;
  box-shadow: 0 8px 32px 0 rgba(44,74,57,0.13);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalIn 0.4s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieModalIn {
  from { transform: translateY(60px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5em;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
}
.cookie-modal .cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--secondary-muted);
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: 8px;
}
.cookie-modal .cookie-toggle input {
  display: none;
}
.cookie-modal .cookie-toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary-light);
  transition: left 0.2s, background 0.2s;
}
.cookie-modal .cookie-toggle input:checked + .slider {
  left: 22px;
  background: var(--accent);
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
}
.cookie-modal .cookie-category.essential label {
  color: var(--primary-light);
  font-weight: 700;
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  opacity: 0.5;
  pointer-events: none;
}

/* 11. ORGANIC/NATURE VISUALS */
section, .card, .testimonial-card, .feature-grid > div, .service-cards > div, .gallery-slider > div, .team-grid > div, .project-gallery > div, .blog-post-cards > div {
  /* Subtle organic shadow and rounded corners */
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

/* 12. SPACING & FLEXBOX GAPS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* 13. RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid, .service-cards, .gallery-slider, .team-grid, .project-gallery, .blog-post-cards {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .service-cards > div, .gallery-slider > div, .team-grid > div, .project-gallery > div, .blog-post-cards > div {
    min-width: 180px;
    flex: 1 1 180px;
    padding: 20px 12px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    min-height: 64px;
  }
  nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    padding: 10px 18px;
    font-size: 0.98rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .service-cards, .gallery-slider, .team-grid, .project-gallery, .blog-post-cards {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .service-cards > div, .gallery-slider > div, .team-grid > div, .project-gallery > div, .blog-post-cards > div {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 10px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .cookie-modal {
    min-width: 0;
    padding: 20px 10px 18px 10px;
  }
  footer .container {
    gap: 10px;
    padding: 0 10px;
  }
  footer nav {
    gap: 12px;
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  section {
    padding: 24px 6px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 6px;
  }
  .cta-btn {
    padding: 10px 10px;
    font-size: 0.95rem;
  }
}

/* 14. FORM ELEMENTS (for newsletter, contact, etc.) */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--primary-light);
  padding: 10px 16px;
  background: var(--secondary-muted);
  color: var(--primary);
  margin-bottom: 16px;
  outline: none;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--accent);
}
button, input[type="submit"] {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius-btn);
  border: none;
  background: var(--primary-light);
  color: var(--secondary);
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--accent);
  color: var(--secondary);
  transform: scale(1.04);
}

/* 15. MISCELLANEOUS */
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 16px;
  margin: 0 0 1em 0;
  color: var(--primary);
  font-style: italic;
  background: none;
}
hr {
  border: none;
  border-top: 1px solid var(--secondary-muted);
  margin: 32px 0;
}

/* 16. MAP & CONTACT DETAILS */
.contact-details {
  background: var(--secondary-muted);
  border-radius: var(--radius-card);
  padding: 18px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}
.map {
  background: var(--secondary-muted);
  border-radius: var(--radius-card);
  padding: 12px 10px;
  font-size: 0.98rem;
  color: var(--primary-light);
  margin-bottom: 20px;
}

/* 17. ANIMATIONS & MICRO-INTERACTIONS */
.cta-btn, .cookie-btn, button, input[type="submit"] {
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.card, .testimonial-card, .feature-grid > div, .service-cards > div, .gallery-slider > div, .team-grid > div, .project-gallery > div, .blog-post-cards > div {
  transition: box-shadow 0.2s, transform 0.15s;
}

/* 18. ACCESSIBILITY & CONTRAST */
.testimonial-card, .testimonial-card blockquote, .testimonial-card p {
  color: #1d2c1a;
  background: none;
}
.testimonial-card {
  background: var(--secondary-muted);
}

/* 19. HIDE/SHOW NAVIGATION FOR MOBILE */
@media (max-width: 768px) {
  nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* 20. UTILITY CLASSES */
.hide {
  display: none !important;
}
.visible {
  display: block !important;
}

/* END OF CSS */
