/* ==== Silent Nectar - style.css ==== */
/* CSS RESET & NORMALIZATION */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #2E3842;
  background: #F5F6F7;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
a {
  color: #476d3b;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #547d47;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
ul {
  list-style: disc outside;
}
li { min-height: 1.4em; }

/* ===== COMMON VARIABLES ===== */
:root {
  --color-primary: #2E3842;
  --color-secondary: #A3A9AA;
  --color-accent: #F5F6F7;
  --color-nature-green: #476d3b;   /* organic rich green */
  --color-earth-brown: #b6a284;    /* earth brown */
  --color-sand: #eae3d2;           /* sand */
  --color-forest-green: #547d47;
  --color-light: #fff;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-soft: 0 4px 16px 0 rgba(50, 70, 40, 0.07);
  --shadow-elevated: 0 8px 32px 0 rgba(70, 100, 60, 0.09);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.25; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; }
h4 { font-size: 1.15rem; }
.subheadline {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--color-nature-green);
  font-size: 1.25rem;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
p {
  margin-bottom: 18px;
  color: var(--color-primary);
  font-size: 1.04rem;
  line-height: 1.6;
}
strong {
  color: var(--color-nature-green);
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 10px;
  }
}

/* ===== ORGANIC TEXTURE & VISUAL HINTS ===== */
.section {
  background: linear-gradient(135deg, #f5f6f7 70%, #eae3d2 100%);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #fff;
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-sand);
  color: var(--color-nature-green);
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 14px;
  border-radius: 12px;
  background: var(--color-sand);
  box-shadow: 0 2px 8px 0 rgba(90,70,40,0.08);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-nature-green);
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-sand);
}

@media (max-width: 980px) {
  .main-nav a {
    font-size: 0.97rem;
    gap: 18px;
  }
  .main-nav img { height: 32px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg,#EAE3D2 70%, #F5F6F7 100%);
  z-index: 999;
  transition: transform 0.4s cubic-bezier(.7,.15,.3,1);
  box-shadow: -16px 0 40px rgba(40,50,30,.12);
  transform: translateX(0);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  left: 0;
  transform: translateX(-100vw);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 22px 22px 0 0;
  padding: 8px 14px;
  z-index: 1001;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color .2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--color-sand);
  color: var(--color-nature-green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  margin: 60px 32px 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  color: var(--color-primary);
  padding: 12px 0;
  transition: color 0.18s;
  border-radius: var(--radius-md);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-nature-green);
  background: var(--color-sand);
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, box-shadow .15s;
  background: var(--color-nature-green);
  color: var(--color-light);
  margin-top: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(60,70,40,0.12);
}
.btn.primary {
  background: var(--color-nature-green);
  color: var(--color-light);
}
.btn.primary:hover, .btn.primary:focus {
  background: var(--color-forest-green);
  color: var(--color-light);
}
.btn.secondary {
  background: var(--color-sand);
  color: var(--color-nature-green);
  border: 2px solid var(--color-nature-green);
}
.btn.secondary:hover, .btn.secondary:focus {
  background: var(--color-earth-brown);
  color: var(--color-light);
}
@media (max-width: 480px) {
  .btn {
    padding: 12px 18px;
    font-size: .98rem;
  }
}

/* ===== FEATURE/CARD GRIDS - FLEX ONLY ===== */
.feature-grid, .feature-list, .team-list, .article-list, .testimonial-list, .categories-overview ul, .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .feature-list > div, .team-list > div, .article-list > article {
  flex: 1 1 calc(50% - 24px);
  min-width: 260px;
  margin-bottom: 20px;
  background: var(--color-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .22s, transform .15s;
}
.feature-grid > div:hover, .feature-list > div:hover, .team-list > div:hover, .article-list > article:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-3px) scale(1.015);
}
.testimonial-list {
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 28px;
  background: #fffdfa;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 18px 0 rgba(90,112,60,0.08);
  min-width: 220px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-nature-green);
  transition: box-shadow .2s;
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: var(--color-forest-green);
  font-weight: 600;
  font-size: 1rem;
  margin-left: 0;
}
.rating-summary {
  margin-top: 20px;
  padding: 8px 20px 12px 20px;
  background: var(--color-sand);
  border-radius: var(--radius-sm);
  color: var(--color-nature-green);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

@media (max-width: 900px) {
  .feature-grid > div, .feature-list > div, .team-list > div, .article-list > article {
    flex: 1 1 100%;
  }
}
@media (max-width: 600px) {
  .feature-grid, .feature-list, .team-list, .article-list, .testimonial-list, .categories-overview ul, .contact-details {
    gap: 16px;
  }
  .feature-grid > div, .feature-list > div, .team-list > div, .article-list > article, .testimonial-card {
    padding: 18px 10px;
    font-size: 1rem;
  }
}

/* ===== TEXT & IMAGE SECTIONS ===== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ===== CARDS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-md);
  background: var(--color-light);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .22s, transform .16s;
}
.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-3px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 18px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ===== CONTACT DETAILS ===== */
.contact-info, .contact-details {
  font-size: 1rem;
  color: var(--color-primary);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  margin-top: 16px;
  margin-bottom: 16px;
}
.contact-info img, .contact-details img {
  height: 18px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
  display: inline;
}
.contact-details > div {
  flex: 1 1 160px;
  min-width: 130px;
}
@media (max-width: 700px) {
  .contact-details {
    flex-direction: column;
  }
  .contact-details > div {
    width: 100%;
  }
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(90deg, #EAE3D2 60%, #F5F6F7 100%);
  padding: 48px 0 18px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
footer img[alt="Silent Nectar"] {
  height: 42px;
  margin-bottom: 14px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 13px;
}
footer nav a {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-primary);
  font-size: .98rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  padding: 2px 8px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-nature-green);
  background: var(--color-sand);
}
footer small {
  color: var(--color-secondary);
  font-size: .92rem;
  margin-top: 10px;
}

@media (max-width: 600px) {
  footer .container {
    padding: 0 10px;
    gap: 14px;
  }
  footer nav {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }
}

/* ===== MANDATORY FLEXBOX CLASSES ===== */
.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; }

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2000;
  background: rgba(232, 225, 210, 0.98);
  color: var(--color-primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  box-shadow: 0 -2px 16px 0 rgba(70,70,70,0.08);
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(.67,.22,.26,.99), opacity .2s;
}
.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-weight: 600;
}
.cookie-btn.accept {
  background: var(--color-nature-green);
  color: var(--color-light);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-forest-green);
}
.cookie-btn.reject {
  background: var(--color-earth-brown);
  color: var(--color-light);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ab9776;
}
.cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-nature-green);
  border: 2px solid var(--color-nature-green);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-sand);
  color: var(--color-forest-green);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 10px;
    font-size: .97rem;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(60, 60, 40, 0.23);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity .21s;
}
.cookie-modal {
  background: #fffdfa;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(60,80,30,0.13);
  padding: 40px 26px 28px 26px;
  min-width: 285px;
  max-width: 95vw;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  z-index: 2200;
  animation: modalPopIn .36s cubic-bezier(.67,.22,.26,.99);
}
@keyframes modalPopIn {
  from { opacity:0; transform: scale(0.94) translateY(40px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}
.cookie-category {
  padding: 12px 0 12px 0;
  border-bottom: 1px dashed var(--color-sand);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-size: 1rem;
  color: var(--color-primary);
  cursor: pointer;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #e3e6e4;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  border: 1.5px solid var(--color-nature-green);
  transition: background 0.2s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2.5px; top: 2.5px;
  width: 18px; height: 17px;
  background: var(--color-nature-green);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}
.cookie-toggle input:checked + .slider {
  transform: translateX(14px);
  background: var(--color-forest-green);
}
.cookie-category .always-on {
  color: var(--color-nature-green);
  font-weight: 600;
  font-size: .9rem;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal .btn, .cookie-modal .cookie-btn {
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .cookie-modal {
    min-width: 0;
    padding: 24px 6px 14px 6px;
  }
}

/* ===== RESPONSIVE TYPOGRAPHY & LAYOUT ===== */
@media (max-width: 1100px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.55rem; }
}
@media (max-width: 700px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.10rem; }
  h3 { font-size: 1.05rem; }
  .section { padding: 26px 6px; }
}
@media (max-width: 490px) {
  .section { padding: 16px 2px; }
}

/* ===== HIDING/SHOWING ===== */
.hide-mobile { display: block; }
@media (max-width: 600px) {
  .hide-mobile { display: none !important; }
}

/* ===== UTILITIES ===== */
.nature-shadow {
  box-shadow: 0 8px 32px rgba(98, 111, 80, 0.08);
}
.organic-border {
  border-radius: 38% 65% 61% 36% / 52% 41% 65% 38%;
}

/* ===== ANIMATIONS/MICRO-INTERACTIONS ===== */
.btn, .cookie-btn,
.card, .feature-grid > div, .testimonial-card, .article-list > article {
  transition: box-shadow .22s, background .25s, color .18s, transform .18s;
}
.btn:active, .cookie-btn:active {
  transform: scale(.98);
}
.card:active, .feature-grid > div:active, .testimonial-card:active, .article-list > article:active {
  transform: scale(.98) translateY(1.5px);
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 2.5px solid var(--color-nature-green);
  outline-offset: 2px;
}

/* ===== END ===== */
