/* =====================
   Verdant Horizon – Luxury Premium CSS
   ===================== */

/* 1. Font Imports (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --vh-primary: #184D47;
  --vh-secondary: #253B5D;
  --vh-accent: #F1EBDD;
  --vh-gold: #C8A96A;
  --vh-gold-light: #F7E7C4;
  --vh-bg: #F8F7F4;
  --vh-bg-dark: #232323;
  --vh-white: #fff;
  --vh-black: #181818;
  --vh-shadow: 0 4px 24px 0 rgba(24, 77, 71, 0.08);
  --vh-radius: 18px;
  --vh-radius-sm: 10px;
  --vh-transition: 0.25s cubic-bezier(.4,0,.2,1);
  --vh-spacing: 20px;
  --vh-spacing-lg: 40px;
  --vh-spacing-xl: 60px;
  --vh-header-height: 80px;
  --vh-z-header: 100;
  --vh-z-mobile-menu: 200;
  --vh-z-cookie: 300;
}

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

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--vh-black);
  background: var(--vh-bg);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/* =====================
   Typography
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--vh-primary);
  margin-top: 0;
  margin-bottom: 0.6em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
}
h2 {
  font-size: 1.6rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--vh-secondary);
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p, ul, ol {
  margin-top: 0;
  margin-bottom: 1.1em;
}
strong {
  font-weight: 700;
}

/* =====================
   Layout Containers
   ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--vh-white);
  border-radius: var(--vh-radius);
  box-shadow: var(--vh-shadow);
}

/* =====================
   Header & Navigation
   ===================== */
header {
  background: var(--vh-white);
  box-shadow: 0 2px 16px 0 rgba(24, 77, 71, 0.06);
  position: sticky;
  top: 0;
  z-index: var(--vh-z-header);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: var(--vh-header-height);
  gap: 24px;
}
header img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--vh-secondary);
  text-decoration: none;
  font-size: 1rem;
  padding: 6px 0;
  position: relative;
  transition: color var(--vh-transition);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--vh-gold);
}

/* CTA Button */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--vh-radius-sm);
  padding: 12px 32px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(24, 77, 71, 0.07);
  border: none;
  transition: background var(--vh-transition), color var(--vh-transition), box-shadow var(--vh-transition), border var(--vh-transition);
}
.cta.primary {
  background: linear-gradient(90deg, var(--vh-gold) 0%, var(--vh-gold-light) 100%);
  color: var(--vh-primary);
  border: 2px solid var(--vh-gold);
  box-shadow: 0 4px 16px 0 rgba(200, 169, 106, 0.10);
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg, var(--vh-gold-light) 0%, var(--vh-gold) 100%);
  color: var(--vh-secondary);
  box-shadow: 0 6px 24px 0 rgba(200, 169, 106, 0.16);
}
.cta.secondary {
  background: var(--vh-white);
  color: var(--vh-gold);
  border: 2px solid var(--vh-gold);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--vh-gold);
  color: var(--vh-primary);
}

/* =====================
   Mobile Navigation
   ===================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--vh-primary);
  cursor: pointer;
  margin-left: 12px;
  transition: color var(--vh-transition);
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--vh-gold);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 77, 71, 0.98);
  z-index: var(--vh-z-mobile-menu);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 24px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--vh-gold);
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color var(--vh-transition);
}
.mobile-menu-close:focus {
  outline: 2px solid var(--vh-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: var(--vh-gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(241, 235, 221, 0.12);
  transition: color var(--vh-transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--vh-white);
}

/* =====================
   Responsive Navigation
   ===================== */
@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =====================
   Footer
   ===================== */
footer {
  background: var(--vh-secondary);
  color: var(--vh-accent);
  padding: 40px 0 0 0;
  font-size: 0.98rem;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 24px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--vh-gold);
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color var(--vh-transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--vh-accent);
}
footer img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}
footer p {
  margin: 0 0 6px 0;
  color: var(--vh-accent);
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* =====================
   Section & Card Layouts
   ===================== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.features-grid > div {
  background: var(--vh-accent);
  border-radius: var(--vh-radius-sm);
  box-shadow: 0 2px 10px 0 rgba(24, 77, 71, 0.06);
  padding: 28px 24px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  border-left: 4px solid var(--vh-gold);
  transition: box-shadow var(--vh-transition), border-color var(--vh-transition);
  position: relative;
}
.features-grid > div:hover, .features-grid > div:focus-within {
  box-shadow: 0 6px 24px 0 rgba(200, 169, 106, 0.13);
  border-left: 4px solid var(--vh-primary);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--vh-white);
  border-radius: var(--vh-radius);
  box-shadow: var(--vh-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 400px;
  transition: box-shadow var(--vh-transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(24, 77, 71, 0.13);
}

.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;
}
.text-image-section > div {
  flex: 1 1 260px;
  min-width: 220px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--vh-accent);
  border-radius: var(--vh-radius-sm);
  box-shadow: 0 2px 10px 0 rgba(24, 77, 71, 0.06);
  margin-bottom: 20px;
  border-left: 4px solid var(--vh-gold);
  color: var(--vh-black);
  font-size: 1.05rem;
  transition: box-shadow var(--vh-transition), border-color var(--vh-transition);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(200, 169, 106, 0.13);
  border-left: 4px solid var(--vh-primary);
}
.testimonial-card p {
  margin: 0;
  font-style: italic;
  color: var(--vh-secondary);
}
.testimonial-card span {
  color: var(--vh-gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.blog-list > div {
  background: var(--vh-accent);
  border-radius: var(--vh-radius-sm);
  box-shadow: 0 2px 10px 0 rgba(24, 77, 71, 0.06);
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  border-left: 4px solid var(--vh-gold);
  transition: box-shadow var(--vh-transition), border-color var(--vh-transition);
}
.blog-list > div:hover, .blog-list > div:focus-within {
  box-shadow: 0 6px 24px 0 rgba(200, 169, 106, 0.13);
  border-left: 4px solid var(--vh-primary);
}

.categories-filter {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.categories-filter span {
  color: var(--vh-secondary);
  font-weight: 600;
}
.categories-filter a {
  color: var(--vh-gold);
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color var(--vh-transition);
}
.categories-filter a:hover, .categories-filter a:focus {
  color: var(--vh-primary);
}

.next-steps {
  background: var(--vh-accent);
  border-radius: var(--vh-radius-sm);
  padding: 18px 20px;
  margin-bottom: 20px;
  color: var(--vh-secondary);
  font-size: 1rem;
}

/* =====================
   Lists
   ===================== */
ul, ol {
  padding-left: 1.3em;
}
ul li, ol li {
  margin-bottom: 0.5em;
  font-size: 1rem;
}

/* =====================
   Cookie Consent Banner
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--vh-z-cookie);
  background: var(--vh-white);
  box-shadow: 0 -2px 24px 0 rgba(24, 77, 71, 0.13);
  border-top: 3px solid var(--vh-gold);
  padding: 24px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  animation: cookie-slide-in 0.5s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: var(--vh-secondary);
  font-size: 1rem;
  flex: 1 1 0%;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--vh-radius-sm);
  padding: 10px 22px;
  border: 2px solid var(--vh-gold);
  background: var(--vh-white);
  color: var(--vh-gold);
  cursor: pointer;
  transition: background var(--vh-transition), color var(--vh-transition), border var(--vh-transition);
}
.cookie-btn.accept {
  background: var(--vh-gold);
  color: var(--vh-primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--vh-gold-light);
  color: var(--vh-secondary);
}
.cookie-btn.reject {
  background: var(--vh-white);
  color: var(--vh-secondary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--vh-gold-light);
  color: var(--vh-primary);
}
.cookie-btn.settings {
  background: var(--vh-white);
  color: var(--vh-gold);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--vh-gold-light);
  color: var(--vh-primary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 77, 71, 0.75);
  z-index: calc(var(--vh-z-cookie) + 1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade-in 0.3s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--vh-white);
  border-radius: var(--vh-radius);
  box-shadow: 0 8px 32px 0 rgba(24, 77, 71, 0.18);
  padding: 36px 28px 28px 28px;
  max-width: 420px;
  width: 90vw;
  color: var(--vh-secondary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookie-modal-slide-in 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-modal-slide-in {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: none;
  color: var(--vh-gold);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color var(--vh-transition);
}
.cookie-modal-close:focus {
  outline: 2px solid var(--vh-gold);
}
.cookie-modal h3 {
  margin: 0 0 10px 0;
  color: var(--vh-primary);
  font-size: 1.2rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--vh-secondary);
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--vh-gold);
  width: 20px;
  height: 20px;
}
.cookie-category.essential label {
  color: var(--vh-gold);
}
.cookie-category.essential input[type="checkbox"] {
  display: none;
}

/* =====================
   Micro-interactions & Effects
   ===================== */
a, button {
  outline: none;
  transition: color var(--vh-transition), background var(--vh-transition), box-shadow var(--vh-transition), border var(--vh-transition);
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--vh-gold);
  outline-offset: 2px;
}

/* =====================
   Responsive Design
   ===================== */
@media (max-width: 1024px) {
  .features-grid > div, .blog-list > div {
    min-width: 180px;
    max-width: 100%;
    flex: 1 1 220px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 30px 10px;
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .section {
    padding: 18px 4px;
    margin-bottom: 28px;
  }
  .features-grid, .blog-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .features-grid > div, .blog-list > div, .card {
    min-width: 0;
    max-width: 100%;
    padding: 18px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    min-height: 60px;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 8px;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .cookie-modal {
    padding: 18px 8px 18px 8px;
    max-width: 98vw;
  }
}

/* =====================
   Luxury Details
   ===================== */
.features-grid > div, .blog-list > div, .card, .testimonial-card {
  border-left: 4px solid var(--vh-gold);
  position: relative;
}
.features-grid > div:before, .blog-list > div:before, .card:before, .testimonial-card:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--vh-gold) 0%, var(--vh-gold-light) 100%);
  border-radius: 4px 0 0 4px;
  z-index: 1;
  opacity: 0.7;
}

/* Decorative gold underline for h2 */
h2 {
  position: relative;
  padding-bottom: 8px;
}
h2:after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--vh-gold) 0%, var(--vh-gold-light) 100%);
  border-radius: 2px;
  margin-top: 6px;
}

/* =====================
   Miscellaneous
   ===================== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--vh-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--vh-gold);
  border-radius: 8px;
}

/* Hide scrollbars on mobile */
@media (max-width: 768px) {
  ::-webkit-scrollbar {
    width: 0;
    background: transparent;
  }
}

/* =====================
   Utility Classes
   ===================== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 20px !important; }
.mb-2 { margin-bottom: 20px !important; }

/* =====================
   Accessibility
   ===================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =====================
   End of CSS
   ===================== */
