/* RESET & NORMALIZE */
html { box-sizing: border-box; }
*,*:before,*:after { box-sizing: inherit; margin: 0; padding: 0; }
body, h1, h2, h3, h4, h5, h6, ul, ol, li, p, figure, figcaption, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, picture { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
input, button, select, textarea { font: inherit; }
button { border: none; background: none; cursor: pointer; }

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* CSS VARIABLES FOR LUXURY/PREMIUM STYLE */
:root {
  --color-primary: #0A1D2E;
  --color-secondary: #1E8A70;
  --color-accent: #F7F6F1;
  --color-gold: #B89C53;
  --color-gold-light: #D9CBA3;
  --color-gold-dark: #957735;
  --color-bg: #F7F6F1;
  --color-bg-dark: #f1ede7;
  --color-text: #222222;
  --color-text-secondary: #555;
  --color-footer: #08131D;
  --shadow-base: 0 4px 18px rgba(10,29,46,0.07);
  --radius-normal: 16px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --transition: all .26s cubic-bezier(.42,0,.15,1);
  --container-max: 1200px;
  --z-menu: 1200;
  --z-modal: 1500;
  --z-cookie: 2000;
}

/* GLOBAL STYLES */
html, body {
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  scroll-behavior: smooth;
}
body {
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background: var(--color-bg);
}

img { border-radius: var(--radius-normal); }

strong { font-weight: 600; color: var(--color-primary); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}
section h2 { color: var(--color-gold); }
.blockquote, blockquote {
  border-left: 4px solid var(--color-gold);
  padding-left: 18px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.15rem;
}

/* LINKS & BUTTONS */
a {
  transition: var(--transition);
  color: var(--color-secondary);
}
a:hover, a:focus {
  color: var(--color-gold);
}
.cta-btn {
  display: inline-block;
  background: var(--color-gold);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 34px;
  border-radius: var(--radius-normal);
  letter-spacing: 0.03em;
  box-shadow: 0 1px 12px 0 rgba(10,29,46,0.11);
  text-shadow: 0 2px 8px rgba(186,156,83,0.13);
  border: 2px solid var(--color-gold);
  margin: 8px 12px 0 0;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-gold-dark);
  color: #fff;
  border-color: var(--color-gold-light);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 20px 0 rgba(186,156,83,0.16);
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: var(--container-max);
  padding: 0 18px;
  margin: 0 auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-normal);
  box-shadow: var(--shadow-base);
  padding: 28px 20px;
  flex: 1 1 300px;
  min-width: 280px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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;
  margin-bottom: 20px;
  border-radius: var(--radius-normal);
  background: #fff;
  box-shadow: 0 2px 12px rgba(10,29,46,0.10);
  border-left: 5px solid var(--color-gold);
  color: #231c15;
}
.testimonial-card p {
  flex: 1;
  color: #231c15;
  font-style: italic;
}
.testimonial-card strong {
  font-family: var(--font-display);
  color: var(--color-gold);
  margin-left: 14px;
  font-size: 1.04rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* LISTS */
ul, ol {
  padding-left: 0;
  margin-bottom: 0;
}
ul:not(.main-nav):not(.footer-nav), ol:not(.main-nav):not(.footer-nav) {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  position: relative;
  padding-left: 32px;
}
ul li img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin-right: 7px;
  position: absolute;
  left: 0;
  top: 2px;
}

ol {
  counter-reset: num;
}
ol li {
  counter-increment: num;
  padding-left: 2.4em;
}
ol li:before {
  content: counter(num) '.';
  color: var(--color-gold);
  font-family: var(--font-display);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* MAIN HEADER & NAV */
.main-header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(10,29,46,.05);
  position: sticky;
  top: 0;
  z-index: var(--z-menu);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
  padding: 16px 0;
  font-family: var(--font-display);
}
.main-nav img {
  height: 38px;
  margin-right: 20px;
}
.main-nav a {
  font-size: 1.03rem;
  color: var(--color-primary);
  padding: 6px 10px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.main-nav a:not(.cta-btn):hover, .main-nav a:not(.cta-btn):focus {
  color: var(--color-gold);
  background: rgba(184,156,83,0.08);
}
.main-nav .cta-btn {
  margin-left: 18px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  box-shadow: 0 1px 8px 0 rgba(30,138,112,0.19);
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: var(--color-gold);
  color: #fff;
  box-shadow: 0 4px 22px 0 rgba(30,138,112,0.18);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 18px;
  font-size: 2rem;
  background: none;
  color: var(--color-gold);
  border-radius: 8px;
  padding: 6px 12px;
  z-index: var(--z-menu)+1;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(184,156,83,0.12);
}

/* MOBILE NAV */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10,29,46,0.97);
  z-index: var(--z-menu)+10;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(-100%);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border-radius: 8px;
  margin: 18px 22px 12px 0;
  padding: 8px 12px;
  transition: background 0.15s;
  z-index: inherit;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(184,156,83,0.15);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  width: 80%;
  max-width: 350px;
  margin: 0 0 0 30px;
  padding: 12px 0 0 0;
}
.mobile-nav a {
  background: none;
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  padding: 13px 10px;
  transition: color 0.14s, background 0.14s;
  margin-right: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-gold);
  background: rgba(184,156,83,0.10);
}

/* HERO & SECTION CTAS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
section:nth-child(odd) {
  background: #fff;
}
section:nth-child(even) {
  background: var(--color-bg);
}
section .cta-btn {
  margin-top: 18px;
}

/* CARD & FEATURED STYLES */
.card, .feature-item, .workshops-grid > div, .articles-teasers > div, .trend-category-grid > div {
  background: #fff;
  border-radius: var(--radius-normal);
  box-shadow: 0 3px 14px 0 rgba(10,29,46,0.09);
  padding: 22px 18px;
}
.workshops-grid, .articles-teasers, .trend-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.workshops-grid > div, .articles-teasers > div {
  flex: 1 1 300px;
  min-width: 220px;
  border-left: 4px solid var(--color-gold);
  margin-bottom: 0;
  transition: box-shadow .22s;
  position: relative;
}
.articles-teasers > div {
  border-left: 4px solid var(--color-secondary);
}
.trend-category-grid > div {
  min-width: 120px;
  flex: 1 1 110px;
  border-left: 4px solid var(--color-gold);
  background: var(--color-bg-dark);
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.02rem;
}
.workshops-grid > div:hover, .articles-teasers > div:hover {
  box-shadow: 0 5px 26px 0 rgba(10,29,46,0.16);
}

/* TAG, LABEL & FILTER */
.article-tag {
  display: inline-block;
  background: var(--color-gold);
  color: #fff;
  font-size: 0.95rem;
  border-radius: 8px;
  padding: 3px 13px;
  margin-top: 10px;
  margin-bottom: 0;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}
label {
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-gold);
  margin-right: 8px;
}
select, input[type="text"] {
  border-radius: 8px;
  border: 1px solid var(--color-gold-light);
  padding: 8px 16px;
  background: #fff;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  margin-right: 10px;
  transition: border 0.15s;
}
select:focus, input[type="text"]:focus {
  border-color: var(--color-gold);
  outline: none;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  color: var(--color-primary);
  font-family: var(--font-display);
}

/* FAQ & DEFINITION LIST */
dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 3px;
  font-size: 1.1rem;
}
dd {
  margin-bottom: 17px;
  margin-left: 22px;
  color: var(--color-text-secondary);
  font-size: 1rem;
}

/* FOOTER */
footer {
  background: var(--color-footer);
  color: #fff;
  padding: 44px 0 35px 0;
  margin-top: 38px;
}
footer .container {
  padding: 0 18px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: space-between;
  align-items: stretch;
}
footer .text-section, .newsletter-signup {
  color: #fff;
  font-size: 0.97rem;
  flex: 1 1 230px;
}
footer strong {
  font-size: 1.15rem;
  color: var(--color-gold);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: var(--font-display);
  align-items: flex-start;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  position: relative;
  padding-left: 0;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-gold);
}
.newsletter-signup h3 {
  color: var(--color-gold);
  font-size: 1.08rem;
  margin-bottom: 8px;
}

/* FORM & INPUTS */
input[type="text"], input[type="email"] {
  border-radius: 8px;
  border: 1.5px solid var(--color-gold-light);
  padding: 8px 14px;
  width: 100%;
  font-size: 1rem;
  margin-bottom: 8px;
  background: #fff;
}
input[type="text"]:focus, input[type="email"]:focus {
  border-color: var(--color-gold);
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -2px 28px 0 rgba(10,29,46,0.14);
  border-top: 3px solid var(--color-gold);
  z-index: var(--z-cookie);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 18px 18px;
  gap: 12px;
  animation: cookieSlideIn .64s cubic-bezier(.42,0,.15,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 17px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 21px;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid var(--color-gold);
  color: var(--color-primary);
  background: #fff;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner button.accept {
  background: var(--color-gold);
  color: #fff;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus  {
  background: var(--color-gold-dark);
  color: #fff;
}
.cookie-banner button.settings {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #fff;
  color: var(--color-secondary);
}
.cookie-banner button.reject {
  border: 2px solid var(--color-gold-light);
  background: #fff;
  color: var(--color-gold-dark);
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: var(--color-gold-light);
  color: var(--color-primary);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: var(--z-modal);
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(17, 26, 33, 0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .38s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  border-radius: 22px;
  box-shadow: 0 6px 36px rgba(10,29,46,0.18);
  padding: 34px 28px 27px 28px;
  min-width: 320px;
  max-width: 95vw;
  animation: modalSlideIn .33s cubic-bezier(.42,0,.15,1);
}
@keyframes modalSlideIn {
  from { transform: translateY(60px) scale(.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-gold);
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 12px 0;
  border-bottom: 1px solid var(--color-bg-dark);
  gap: 12px;
}
.cookie-modal .cookie-category:last-child {
  border: none;
}
.cookie-modal label {
  font-family: var(--font-display);
  font-size: 1.01rem;
  color: var(--color-primary);
  margin-right: 0;
}
.cookie-modal input[type="checkbox"][disabled] {
  accent-color: var(--color-gold);
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 11px;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-modal button {
  border-radius: 7px;
  border: 2px solid var(--color-gold);
  background: var(--color-gold);
  color: #fff;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 1rem;
}
.cookie-modal button.close {
  background: #fff;
  color: var(--color-gold-dark);
  border: 2px solid var(--color-gold-light);
}
.cookie-modal button.close:hover {
  background: var(--color-gold-light);
  color: var(--color-primary);
}
.cookie-modal button.save {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.cookie-modal button.save:hover {
  background: var(--color-gold);
}

/* RESPONSIVE - MOBILE FIRST */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
}
@media (max-width: 980px) {
  .container { max-width: 90vw; }
  footer .content-wrapper { flex-direction: column; align-items: flex-start; gap: 30px; }
}
@media (max-width: 768px) {
  html,body{ font-size: 15px; }
  .container { max-width: 98vw; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  section { padding: 36px 9px; margin-bottom: 40px; }
  .content-wrapper, .text-section { gap: 18px; }
  .workshops-grid, .articles-teasers, .trend-category-grid, .card-container, .content-grid {
    gap: 12px;
  }
  .workshops-grid > div, .articles-teasers > div, .trend-category-grid > div {
    padding: 14px 7px;
    min-width: 110px;
  }
  .article-tag { font-size: .98rem; padding: 3px 9px; }
  .footer-nav { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  .card, .testimonial-card, .workshops-grid > div, .articles-teasers > div, .trend-category-grid > div {
    padding: 14px 7px;
    font-size: 0.95rem;
    min-width: 90px;
  }
  .section { margin-bottom: 30px; padding: 24px 6px; }
  .text-image-section, .content-grid, .card-container { flex-direction: column; gap: 14px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* LAYOUT CORRECTIONS FOR FLEXBOX */
.text-image-section  { flex-direction: row; }
@media (max-width: 860px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
}

/* Helper classes */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* Subtle animations */
.card, .testimonial-card, .workshops-grid > div, .articles-teasers > div, .trend-category-grid > div, .footer-nav a {
  transition: box-shadow .24s, background .19s, color .18s, transform .24s;
}
.card:hover, .workshops-grid > div:hover, .articles-teasers > div:hover, .trend-category-grid > div:hover {
  box-shadow: 0 7px 24px 0 rgba(10,29,46,.17);
  transform: translateY(-1px) scale(1.02);
}

/* Custom details for luxury accents */
.cta-btn, .card, .testimonial-card, .workshops-grid > div {
  border-radius: var(--radius-normal);
  border-width: 2px;
  border-style: solid;
  border-color: transparent;
}
.card, .testimonial-card {
  border-color: var(--color-gold-light);
}

/* Improved contrast for testimonials & reviews */
.testimonial-card, .testimonial-card p, .testimonial-card strong {
  background: #fff !important;
  color: #231c15 !important;
}

/* Z-index for overlays */
.mobile-menu { z-index: 1201; }
.cookie-banner { z-index: var(--z-cookie); }

/* Hide modal/overlay by default */
.cookie-modal-overlay { display: none; }
.cookie-modal-overlay.open { display: flex; }

/* Accessibility Tweaks */
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 1px; }

/* Prevent text overlap on mobile */
.main-header, .footer-nav, .container, .content-wrapper, section, .text-section, .card, .testimonial-card {
  min-width: 0;
}

/* END OF STYLE */
