/* ------------------------
   RESET & BASE STYLES
-------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F1FAEE;
  color: #1D3557;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: #E63946;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #1D3557;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1D3557;
  font-weight: bold;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: 12px; letter-spacing: -0.5px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
h4 { font-size: 1.13rem; }
p, li, label {
  font-size: 1rem;
  color: #27314d;
}
strong { font-weight: bold; }
small {
  font-size: 0.9em;
  color: #858585;
}
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ------------------------
       HEADER & NAV
-------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 24px 0 rgba(30,50,100,0.05);
  position: sticky;
  top: 0;
  z-index: 101;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 22px 20px 18px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a {
  color: #1D3557;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.15s;
  padding: 6px 6px;
}
.main-nav a:not(:first-child):after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: #E63946;
  transition: width 0.2s;
  border-radius: 5px;
  position: absolute;
  bottom: 0;
  left: 0;
}
.main-nav a:not(:first-child):hover:after, .main-nav a:not(:first-child):focus:after {
  width: 100%;
}
.main-nav a:focus {
  outline: 2px solid #E63946;
}
.main-nav img {
  height: 36px;
  margin: 0 20px 0 0;
}
.mobile-menu-toggle {
  display: none;
  background: #E63946;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 4px 16px 3px 16px;
  cursor: pointer;
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 103;
  transition: background .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1D3557;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F1FAEE;
  z-index: 102;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.7,0,.3,1);
  box-shadow: 0 6px 32px 0 rgba(30,50,100,0.18);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #E63946;
  font-size: 2.1rem;
  margin: 20px 32px 0 0;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #1D3557;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 28px;
  margin-top: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: bold;
  color: #1D3557;
  padding: 12px 0;
  border-radius: 6px;
  width: 100%;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E63946;
  color: #fff;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
    padding: 18px 7px 14px 7px;
  }
  .main-nav a {
    font-size: 0.98rem;
    padding: 4px 4px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ------------------------
        HERO SECTION
-------------------------*/
.hero {
  background: #1D3557;
  color: #fff;
  border-radius: 0 0 28px 28px;
  margin-bottom: 60px;
  padding: 60px 0 42px 0;
  box-shadow: 0 6px 32px 0 rgba(30,50,100,0.09);
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 16px;
}
.hero h1 {
  color: #fff;
  font-size: 3rem;
  letter-spacing: -2px;
}
.hero .subtitle {
  color: #F1FAEE;
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 18px;
}

/* ------------------------
        CTA BUTTONS
-------------------------*/
.cta-button {
  display: inline-flex;
  align-items: center;
  background: #E63946;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 99px;
  box-shadow: 0 8px 24px rgba(230,57,70,.18);
  padding: 12px 36px;
  margin-top: 10px;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
  cursor: pointer;
}
.cta-button img {
  margin-left: 10px;
  height: 1.2em;
}
.cta-button:disabled,
.cta-button[disabled] {
  opacity: 0.6;
  background: #aaa;
  cursor: not-allowed;
}
.cta-button:hover, .cta-button:focus {
  background: #1D3557;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 32px rgba(30,50,100,0.17);
  color: #fff;
  outline: none;
}

/* ------------------------
      FEATURES / CARDS
-------------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 24px 0 0 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 15px rgba(29,53,87,.09);
  padding: 26px 22px 22px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow .22s, transform .18s;
  margin-bottom: 20px;
}
.feature-item h3 { font-size: 1.18rem; color: #E63946; font-weight: bold; }
.feature-item img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 10px #e6394633);
  margin-bottom: 6px;
}
.feature-item:hover {
  box-shadow: 0 10px 36px 0 #E6394622;
  transform: translateY(-3px) scale(1.04);
}

/* Standard card container */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px #1D355711;
  padding: 22px 18px 18px 18px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow .19s, transform .16s;
  position: relative;
}
.card:hover {
  box-shadow: 0 8px 38px #E6394620;
  transform: translateY(-4px);
}

/* ------------------------
   LISTINGS / TAGS / BARS
-------------------------*/
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 16px 0 28px 0;
}
.filter-bar label, .filter-bar span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  color: #E63946;
  font-size: 1.03rem;
}
.filter-bar input[type=date],
.filter-bar select {
  padding: 5px 12px;
  border-radius: 7px;
  border: 1px solid #ddd;
  font-size: 1rem;
  font-family: inherit;
  margin-right: 5px;
  background: #F1FAEE;
  color: #1D3557;
}
.filter-bar button {
  background: #1D3557;
  color: #F1FAEE;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 7px 18px;
  margin-right: 0.5rem;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.filter-bar button:hover, .filter-bar button:focus {
  background: #E63946;
  color: #fff;
}

.tag {
  background: #E63946;
  color: #fff;
  border-radius: 8px;
  font-size: 0.95em;
  padding: 3px 13px 2px 13px;
  margin-left: 8px;
  font-weight: bold;
  letter-spacing: .02em;
}

.event-list, .exhibition-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}
.event-list li, .exhibition-list li {
  flex: 1 1 280px;
  border-radius: 16px;
  background: #fff;
  padding: 16px 22px 14px 22px;
  box-shadow: 0 2px 18px #e6394622;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .15s, transform .18s;
}
.event-list li:hover, .exhibition-list li:hover {
  box-shadow: 0 10px 36px 0 #1D355720;
  transform: translateY(-3px);
}
.event-list h3, .exhibition-list h3 {
  color: #1D3557;
  font-size: 1.05rem;
  font-weight: bold;
  margin-bottom: 8px;
  margin-top: 0;
}

/* ------------------------
    NEWSLETTER SIGNUP
-------------------------*/
.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 17px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 18px #1D355710;
  padding: 24px 28px;
  max-width: 480px;
  margin-top: 6px;
}
.newsletter-signup form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}
.newsletter-signup label {
  font-weight: 600;
  color: #E63946;
  margin-right: 8px;
}
.newsletter-signup input[type=email] {
  border: 1px solid #bbc6d6;
  border-radius: 7px;
  padding: 7px 15px;
  font-size: 1rem;
  margin-right: 0.5rem;
  background: #F1FAEE;
  color: #1D3557;
  transition: border-color .18s;
}
.newsletter-signup input[type=email]:focus {
  border-color: #E63946;
  outline: none;
}
.newsletter-signup button {
  background: #1D3557;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  padding: 9px 24px;
  font-size: 1em;
  cursor: pointer;
  transition: background .18s;
}
.newsletter-signup button:hover, .newsletter-signup button:focus {
  background: #E63946;
  color: #fff;
}
.privacy-notice {
  font-size: 0.98em;
  color: #7c8da8;
  margin-top: 8px;
}
.privacy-notice a {
  color: #E63946;
  text-decoration: underline;
  font-weight: bold;
}

/* ------------------------
   TESTIMONIAL CARDS
-------------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F1FAEE;
  border-left: 7px solid #1D3557;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px #1D355714;
  color: #252525;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card strong {
  color: #E63946;
  font-size: 1.03rem;
  font-weight: bold;
}
.testimonial-card blockquote {
  margin: 0 0 0 0;
  padding: 0;
  font-size: 1.07rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1D3557;
  letter-spacing: .01em;
  quotes: "\201C" "\201D" "\2018" "\2019";
}

/* ------------------------
    FOOTER
-------------------------*/
footer {
  background: #1D3557;
  color: #fff;
  padding: 36px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 70px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #F1FAEE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color 0.2s;
  padding: 5px;
  border-radius: 5px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E63946;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
  justify-content: center;
  color: #F1FAEE;
  font-size: 1.08rem;
}
.footer-contact address {
  font-style: normal;
  color: #F1FAEE;
  font-size: 1.1em;
}
.footer-contact span img {
  vertical-align: middle;
  height: 1.1em;
  margin-right: 5px;
}
footer small {
  display: block;
  text-align: center;
  color: #F1FAEE99;
  letter-spacing: .02em;
  font-size: .95em;
  font-weight: bold;
}

/* ------------------------
    COOKIE CONSENT BANNER
-------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #1D3557;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 12px 18px 12px;
  box-shadow: 0 -3px 36px #1D355720;
  z-index: 3000;
  animation: cookie-slide-in 480ms cubic-bezier(.86,-0.01,.19,1.03);
  gap: 15px;
}
@keyframes cookie-slide-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.03rem;
  margin-bottom: 6px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cookie-banner button {
  border: none;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: bold;
  padding: 8px 20px;
  margin: 0 2px;
  transition: background .2s, color .2s, box-shadow .17s;
  cursor: pointer;
  box-shadow: 0 1px 8px #1D35572c;
}
.cookie-banner .accept {
  background: #1D3557;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #E63946;
  color: #fff;
}
.cookie-banner .reject {
  background: #E63946;
  color: #fff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #f1faee;
  color: #E63946;
}
.cookie-banner .settings {
  background: #fff;
  border: 1.5px solid #1D3557;
  color: #1D3557;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #1D3557;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(29,53,87,0.36);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.28s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 28px #E6394620;
  max-width: 430px;
  width: 95vw;
  padding: 32px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #1D3557;
  animation: modal-in .25s cubic-bezier(.7,0,.3,1);
}
@keyframes modal-in {
  from { transform: scale(.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.23rem;
  color: #E63946;
  margin-bottom: 12px;
  font-weight: 700;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal label {
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1D3557;
}
.cookie-modal input[type=checkbox] {
  width: 17px;
  height: 17px;
  accent-color: #E63946;
  margin-right: 3px;
}
.cookie-modal .essential {
  color: #858585;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}
.cookie-modal button {
  border: none;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 8px 18px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.cookie-modal .save {
  background: #1D3557;
  color: #fff;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: #E63946;
  color: #fff;
}
.cookie-modal .cancel {
  background: #fff;
  border: 1.5px solid #1D3557;
  color: #1D3557;
}
.cookie-modal .cancel:hover, .cookie-modal .cancel:focus {
  background: #1D3557;
  color: #fff;
}

/* ------------------------
   FLEXBOX UTILITIES
-------------------------*/
.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;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* ------------------------
     TYPOGRAPHY SCALE
-------------------------*/
.tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: #E63946;
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: .01em;
}
.next-steps {
  margin-top: 20px;
  font-size: 1.11em;
}
.next-steps ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.next-steps li {
  margin-bottom: 0;
}
.next-steps a {
  background: #1D3557;
  color: #fff;
  padding: 7px 16px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background .17s;
}
.next-steps a:hover, .next-steps a:focus {
  background: #E63946;
}

/* ------------------------
      RESPONSIVE DESIGN
-------------------------*/
@media (max-width: 990px) {
  .feature-grid, .content-grid, .card-container, .event-list, .exhibition-list, .footer-contact {
    gap: 12px;
  }
  .feature-item, .event-list li, .exhibition-list li, .card {
    min-width: 180px;
    flex: 1 1 180px;
  }
  .container {
    padding: 0 6px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 38px 0 18px 0;
    border-radius: 0 0 18px 18px;
  }
  .hero h1 { font-size: 2rem; }
  .hero .container {
    padding: 0 8px;
  }
  .section {
    margin-bottom: 38px;
    padding: 23px 6px;
  }
  .feature-item, .event-list li, .exhibition-list li, .card {
    min-width: 140px;
    flex: 1 1 100%;
  }
  .feature-grid, .content-grid, .card-container, .event-list, .exhibition-list, .footer-contact, .content-wrapper, .newsletter-signup form, .footer-nav {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .filter-bar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
  }
  .footer-contact {
    gap: 9px;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.13rem; }
  .footer-contact {
    font-size: .97rem;
    gap: 5px;
  }
  .newsletter-signup {
    padding: 12px 6px;
    max-width: 97vw;
  }
}

/* ------------------------
     MISCELLANEOUS
-------------------------*/
::-webkit-input-placeholder { color: #8b98b2; }
::-moz-placeholder { color: #8b98b2; }
:-ms-input-placeholder { color: #8b98b2; }
::placeholder { color: #8b98b2; }

button:focus, input:focus, select:focus {
  outline: 2px solid #E63946;
  outline-offset: 2px;
}

/* Decorative only: can be absolutely positioned but not for content */
.hero::after {
  content: '';
  display: block;
  width: 160px;
  height: 40px;
  background: #E63946;
  position: absolute;
  right: 0;
  bottom: -10px;
  z-index: 1;
  opacity: 0.10;
  border-radius: 100px 0 0 0;
}

/* Hide scrollbars on mobile nav */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
}

/* Remove arrows for type='number' on Chrome */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/* Accent strongs for section and event highlights */
strong {
  color: #E63946;
}
