/* ===== CSS RESET & BASE ============================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #191A1B;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.2s;
  line-height: 1.6;
}
:root {
  --color-primary: #191A1B;         /* Jet Black */
  --color-primary-dark: #111214;
  --color-secondary: #f7f7f7;      /* Off white */
  --color-accent: #E4A859;         /* Brand Gold */
  --color-link: #191A1B;
  --color-link-hover: #E4A859;
  --color-shadow: rgba(25,26,27,0.08);
  --color-card-bg: #fff;
  --color-footer-bg: #191A1B;
  --color-footer-text: #F5F3EC;
  --color-border: #d7d7d7;
  --color-muted: #666869;
  --color-testimonial-bg: #f5f5f5;
  --transition: 0.24s cubic-bezier(.4,.1,.33,1);
  --radius: 12px;
  --radius-sm: 7px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--color-link);
  text-decoration: underline;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--color-accent);
  outline: none;
}

/* ================= TYPOGRAPHY ========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 1.8rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 16px; }
h4 { font-size: 1.1rem; margin-bottom: 12px; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}
p, ul, ol, pre, .highlighted-tip, .text-section {
  margin-bottom: 16px;
  font-size: 1rem;
}
strong { font-weight: 700; color: var(--color-primary-dark); }
ul, ol { margin-left: 18px; }
ul li, ol li { margin-bottom: 8px; }

/* =============== CONTAINER & LAYOUT ================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  background: none;
  margin: 0 auto;
  padding: 0; 
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px var(--color-shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 24px rgba(25,26,27,0.15);
  transform: translateY(-2px) scale(1.015);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.occasion-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.occasion-grid .text-section {
  flex: 1 1 270px;
  min-width: 210px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 26px 18px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .occasion-grid {
    flex-direction: column;
    gap: 12px;
  }
  .occasion-grid .text-section {
    min-width: unset;
    padding: 18px 12px;
    margin-bottom: 14px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-testimonial-bg);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(25,26,27,0.04);
  padding: 20px;
  margin-bottom: 24px;
  flex-direction: row;
}
.testimonial-card p {
  color: #222;
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card span {
  margin-left: auto;
  color: #6c6e70;
  font-size: 1rem;
  font-style: normal;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .testimonial-card span {
    margin-left: 0;
  }
}

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

/* ================= Nav & Header ===================== */
header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(25,26,27,0.07);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  width: 100%;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 65px;
  padding: 8px 18px;
}
header img {
  height: 40px;
  width: auto;
}
header nav {
  display: flex;
  gap: 28px;
}
header nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 3px 0;
  position: relative;
  transition: color var(--transition);
}
header nav a:hover, header nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
header .cta-btn {
  margin-left: 16px;
  min-width: 116px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  background: none;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  margin-left: 16px;
  z-index: 102;
  line-height: 1;
  width: 46px;
  height: 46px;
  align-self: center;
  transition: color var(--transition);
}
@media (max-width: 1020px) {
  header .container nav {
    display: none;
  }
  header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========== MOBILE NAVIGATION ==================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(25,26,27,0.97);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
  transition: opacity 0.24s, transform 0.33s cubic-bezier(.55,.12,.44,1.13);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 26px 0 0;
  background: transparent;
  color: #fff;
  font-size: 2.3rem;
  cursor: pointer;
  border: none;
  z-index: 1002;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-left: 40px;
  margin-top: 30px;
  width: 80%;
  max-width: 340px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  padding: 9px 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
@media (min-width: 1021px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* ============== BUTTONS / CTA ======================== */
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  box-shadow: 0 1px 5px rgba(25,26,27,0.04);
  letter-spacing: 0.01em;
  display: inline-block;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cta-btn.primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 3px 13px var(--color-shadow);
  transform: translateY(-2px) scale(1.025);
}
.cta-btn.secondary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 3px 13px var(--color-shadow);
}
button, input[type=button], input[type=submit] {
  outline: none;
}

/* =============== FORMS & TABLES ==================== */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fafbfc;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 1rem;
  margin-bottom: 14px;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--color-accent);
  outline: none;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px var(--color-shadow);
  overflow: hidden;
}
th, td {
  border: 1px solid var(--color-border);
  padding: 12px;
  text-align: left;
}
th {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* =========== SPECIAL & CARD ELEMENTS  ======== */
.highlighted-tip {
  background: #f2f2f2;
  border-left: 4px solid var(--color-accent);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  color: var(--color-primary-dark);
  margin-bottom: 18px;
  font-size: 1rem;
  font-style: italic;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.text-section {
  padding: 0;
}

/* =========== FOOTER ========================== */
footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  font-size: 1rem;
  margin-top: 60px;
  width: 100%;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 0 22px 0;
  border-bottom: 1.5px solid #343638;
}
.footer-top nav {
  display: flex;
  gap: 24px;
}
.footer-top nav a {
  color: var(--color-footer-text);
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.88;
  transition: color var(--transition), opacity var(--transition);
}
.footer-top nav a:hover { color: var(--color-accent); opacity:1; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  font-size: 0.98rem;
}
.footer-bottom address,
.footer-bottom p {
  color: var(--color-footer-text);
  opacity: 0.82;
}
.footer-bottom a {
  color: var(--color-accent);
  text-decoration: underline;
}
@media (max-width: 700px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-top {
    align-items: flex-start;
  }
}

/* =============== COOKIE CONSENT =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2500;
  background: #191A1B;
  color: #fff;
  padding: 24px 16px;
  box-shadow: 0 -2px 16px rgba(25,26,27,0.21);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: transform 0.33s;
  transform: translateY(0);
}
.cookie-banner.hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(150%);
}
.cookie-banner .cookie-text {
  flex: 1 1 220px;
  min-width: 150px;
  font-size: 1rem;
  color: #fff;
  opacity: 0.98;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 22px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(60,52,8,0.06);
}
.cookie-btn.accept:hover { background: #fff; color: var(--color-accent); }
.cookie-btn.reject {
  background: #424143;
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #fff;
  color: #424143;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff;
  color: var(--color-primary);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2600;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25, 26, 27, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #111;
  padding: 36px 26px 20px 26px;
  border-radius: var(--radius);
  box-shadow: 0 6px 40px rgba(25,26,27,0.18);
  max-width: 440px;
  width: 94vw;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 1.4rem;
  position: absolute;
  top: 15px; right: 22px;
  cursor: pointer;
}

/* ============ MISC =============== */
::-webkit-input-placeholder { color: #888; }
::-moz-placeholder { color: #888; }
:-ms-input-placeholder { color: #888; }
::placeholder { color: #888; }

hr {
  border: 0;
  border-top: 1.5px solid var(--color-border);
  margin: 28px 0;
}

/* ========== RESPONSIVE FLEX ADJUSTMENTS =============== */
@media (max-width: 1000px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
    max-width: 100vw;
  }
  section {
    padding: 22px 5px;
  }
}
@media (max-width: 600px) {
  .card {
    padding: 18px 10px;
  }
}

/* ========== GENERAL ELEMENTS & UTILITIES ============== */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.muted { color: var(--color-muted); }
.m-b-20 { margin-bottom: 20px; }
.m-b-32 { margin-bottom: 32px; }
.m-b-60 { margin-bottom: 60px; }
.gap-20 { gap: 20px !important; }

/* ========== SHADOWS & DIVIDERS =============== */
.divider { border-top: 1.5px solid var(--color-border); margin: 30px 0; }

/* ========== MICRO-INTERACTIONS =============== */
a, .cta-btn, button, .cookie-btn {
  transition: color var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.card, .testimonial-card, .occasion-grid .text-section {
  transition: box-shadow var(--transition), transform var(--transition);
  will-change: box-shadow, transform;
}
.card:hover, .testimonial-card:hover, .occasion-grid .text-section:hover {
  box-shadow: 0 8px 24px rgba(25,26,27,0.13);
  transform: translateY(-2px) scale(1.011);
}

/* ========== BRAND & MONOCHROME_AESTHETICS =============== */
body {
  background: #fff;
  color: var(--color-primary);
}
section, .card {
  background: #fff;
}
.testimonial-card, .feature-item {
  background: #f8f9fa;
}
h1,h2,h3,h4 { color: #191a1b; }
.cta-btn.primary, .cookie-btn.accept {
  background: #191A1B;
  color: #fff;
  border: 2px solid #191A1B;
}
.cta-btn.primary:hover, .cookie-btn.accept:hover {
  background: #fff;
  color: #191A1B;
}
.cta-btn.secondary {
  background: #fff;
  color: #191A1B;
  border: 2px solid #191A1B;
}
.cta-btn.secondary:hover {
  background: #191A1B;
  color: #fff;
}

/* ========== SPACING & GAPS RULES =============== */
section, .card, .testimonial-card, .feature-item, .occasion-grid .text-section {
  margin-bottom: 20px;
}
.card-container, .content-grid, .occasion-grid, .feature-list {
  gap: 20px;
  display: flex;
  flex-wrap: wrap;
}

/* ========== ICONS & IMAGES ==================== */
img[alt^="icon"] {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-right: 12px;
  vertical-align: middle;
}

/* ========== NEWSLETTER ==================== */
.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  margin-bottom: 20px;
}

/* ========== ACCESSIBILITY FOCUS =========== */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ========== PRINT =========== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section { box-shadow: none; background: #fff !important; }
}
