/* ========================================================================
   SHIMMER PIAZZA – Modern Bold CSS
   ======================================================================== */

/* ======================== CSS RESET & NORMALIZE ======================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  padding: 0;
  margin: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: #f7fafc;
  color: #062947;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #1FA495;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.43,1.03,.34,1);
  outline: none;
}
a:hover, a:focus {
  color: #F4B440;
}
ul, ol {
  margin: 0 0 16px 24px;
  padding-left: 0;
}
li {
  margin-bottom: 0.4em;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ============================ BRAND VARIABLES ============================ */
:root {
  --color-primary: #062947;
  --color-secondary: #1FA495;
  --color-accent: #F4B440;
  --color-bg: #f7fafc;
  --color-footer-bg: #062947;
  --color-footer-text: #fff;
  --color-testimonial-bg: #fff;
  --color-testimonial-text: #062947;
  --color-border: #e0e6ef;
  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow-card: 0 6px 28px 0 rgba(6,41,71,0.10);
  --shadow-pop: 0 6px 40px 3px rgba(31,164,149,0.17);
}

@font-face {
  font-family: 'Oswald';
  font-weight: 700;
  src: local('Oswald Bold'), url('https://fonts.gstatic.com/s/oswald/v48/TK3iWkUHHAIjg75cFRf3bXL8LICs1U6_4E4.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-weight: 400;
  src: local('Roboto Regular'), url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Me4xM.woff2') format('woff2');
  font-display: swap;
}

/* ======================= LAYOUT: CONTAINER & SECTIONS ===================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.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 SPACING LOGIC */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  transition: box-shadow 0.2s cubic-bezier(.43,1.03,.34,1), transform 0.2s cubic-bezier(.43,1.03,.34,1);
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 33px 0 rgba(6,41,71,0.15);
  transform: translateY(-3px) scale(1.015);
  z-index: 2;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 13px;
  box-shadow: var(--shadow-card);
  padding: 20px 18px;
  margin-bottom: 20px;
}

/* =============================== TYPOGRAPHY =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
  letter-spacing: 0.7px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 { font-size: 1.15rem; margin-bottom: 6px; }

.text-section p,
.content-wrapper p,
.content-wrapper ul,
.content-wrapper ol {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: #232936;
}
ul, ol {
  font-size: 1.1rem;
}
ul strong, ol strong {
  color: var(--color-secondary);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.08em;
}

/* ========================= BUTTONS & CTA STYLES ========================= */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
  height: 54px;
  border-radius: 32px;
  background: var(--color-secondary);
  box-shadow: 0 6px 20px 0 rgba(31,164,149,0.16);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.14s;
  margin-top: 10px;
  margin-bottom: 10px;
  gap: 7px;
  box-shadow: var(--shadow-card);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent);
  color: #062947;
  box-shadow: 0 8px 28px 0 rgba(244,180,64,0.14);
  transform: translateY(-2px) scale(1.03);
}

.button, .modal-footer button {
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 28px;
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: var(--shadow-card);
  margin: 0 10px 10px 0;
  cursor: pointer;
}
.button-accent, .modal-footer .button-accent {
  background: var(--color-accent);
  color: #062947;
}
.button-accent:hover, .modal-footer .button-accent:hover {
  background: #e89a12;
  color: #fff;
}
.button-secondary, .modal-footer .button-secondary {
  background: var(--color-secondary);
  color: #fff;
}
.button-secondary:hover, .modal-footer .button-secondary:hover {
  background: #128378;
  color: #fff;
}
.button-ghost, .modal-footer .button-ghost {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
}
.button-ghost:hover, .modal-footer .button-ghost:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* ========================= HEADER & NAVIGATION ===================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(6,41,71,.045);
  transition: box-shadow 0.22s;
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  height: 74px;
  min-height: 74px;
}
header img[alt="Shimmer Piazza"] {
  height: 44px;
  width: auto;
  margin-right: 18px;
  user-select: none;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.09rem;
  color: var(--color-primary);
  text-transform: uppercase;
  position: relative;
  padding: 0 6px;
  letter-spacing: .08em;
  transition: color 0.13s;
}
header nav a:hover, header nav a.active {
  color: var(--color-secondary);
}

header .cta-primary {
  margin: 0 0 0 16px;
}

/* ======================== MOBILE MENU ======================== */
.mobile-menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  font-size: 2.4rem;
  justify-content: center;
  align-items: center;
  color: var(--color-primary);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 10px 0 rgba(18,131,120,0.07);
  position: absolute;
  right: 18px;
  top: 10px;
  z-index: 10;
  transition: background 0.12s, box-shadow 0.12s;
}
.mobile-menu-toggle:active {
  background: #eef5fc;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6,41,71, 0.95);
  transform: translateX(-110vw);
  transition: transform 0.3s cubic-bezier(.53,1.56,.74,.85);
  z-index: 101;
  padding: 0 0 0 0;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
  box-shadow: 0 8px 44px 12px rgba(6,41,71,.27);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #f7fafc;
  font-size: 2.1rem;
  position: absolute;
  top: 27px;
  right: 24px;
  z-index: 110;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  transition: background 0.13s;
}
.mobile-menu-close:active {
  background: #1FA49511;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 90px 0 0 36px;
  gap: 24px;
  align-items: flex-start;
  width: 70vw;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.24rem;
  color: #fff;
  padding: 9px 0;
  width: 100%;
  letter-spacing: .09em;
  font-weight: 700;
  border-bottom: 1px solid #1fa49533;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active, .mobile-nav a:focus {
  color: var(--color-accent);
  background: none;
}

/* =============== TESTIMONIALS / REVIEW CARDS ================== */
.testimonial-card {
  background: var(--color-testimonial-bg);
  color: var(--color-testimonial-text);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 17px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 1.5px solid #e2edf7;
}
.testimonial-card p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-primary);
  font-family: var(--font-body);
}
.testimonial-card span {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 10px 38px 5px rgba(31,164,149,0.085);
  transform: scale(1.023);
}

/* =============== FOOTER =============== */
footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 40px 0 22px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  opacity: 0.87;
  transition: color 0.13s, opacity 0.13s;
}
footer nav a:hover {
  color: var(--color-accent);
  opacity: 1;
}
.footer-info {
  display: flex;
  gap: 18px;
  font-size: 0.96rem;
  opacity: 0.73;
  flex-wrap: wrap;
}

/* ================== COOKIE CONSENT BANNER ==================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #fff;
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 -5px 24px 0 rgba(31,164,149,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  gap: 25px;
  transition: transform 0.35s cubic-bezier(.43,1.03,.34,1), opacity 0.3s;
  max-width: 100vw;
}
.cookie-banner.hide {
  transform: translateY(180px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: var(--color-primary);
  font-size: 1.05rem;
  flex: 1 1 auto;
  margin-right: 20px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 24px;
  font-weight: 700;
  border: none;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner .cookie-accept {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner .cookie-accept:hover {
  background: #e89a12;
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .cookie-reject:hover {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-accent);
}
.cookie-banner .cookie-settings:hover {
  background: var(--color-accent);
  color: #fff;
}

/* COOKIE MODAL (PREFERENCES DIALOG) */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 10010;
  justify-content: center;
  align-items: center;
  background: rgba(6,41,71,0.74);
  animation: cookieModalIn 0.35s cubic-bezier(.53,1.04,.6,1.15);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-pop);
  padding: 38px 32px 26px 32px;
  max-width: 410px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-dialog h2 {
  font-size: 1.4rem;
  color: var(--color-primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.09rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 22px;
  height: 22px;
  border-radius: 4px;
}
.cookie-category label {
  cursor: pointer;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
}
.cookie-category .always {
  font-size: 12px;
  color: #6c7787;
  margin-left: 4px;
  font-weight: 500;
}
.cookie-modal .modal-footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  font-size: 1.4rem;
  color: #555;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
}
.cookie-modal .modal-close:active {
  background: #f4b44022;
}

/* ======================= RESPONSIVE DESIGN ======================= */
@media (max-width: 1050px) {
  header .container {
    padding: 0 13px;
  }
  .container {
    padding: 0 7px;
  }
}
@media (max-width: 900px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .container {
    padding: 0 4vw;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .card {
    padding: 21px 14px;
  }
  .testimonial-card {
    padding: 16px 10px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    height: 62px;
    min-height: 62px;
    gap: 0;
  }
  header nav {
    display: none;
  }
  header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section {
    margin-bottom: 32px;
    padding: 24px 2vw;
  }
  .container {
    padding: 0 2vw;
  }
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column !important;
    gap: 17px !important;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-info {
    flex-direction: column !important;
    gap: 6px !important;
    align-items: center !important;
    text-align: center;
  }
  .mobile-nav {
    width: 95vw;
    margin-left: 6vw;
    font-size: 1rem;
    gap: 18px;
  }
}
@media (max-width: 580px) {
  h1 {
    font-size: 1.46rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .container {
    padding: 0 4vw;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 4vw;
    gap: 16px;
  }
  .cookie-banner p {
    margin-right: 0;
  }
}

/* ================ MISCELLANEOUS (GEO, VISUAL, ETC) ================ */
.section {
  border-radius: 16px;
  box-shadow: none;
  background: transparent;
}
main section:not(:last-child) {
  margin-bottom: 60px;
}
.text-section ul, .text-section ol {
  margin-left: 16px;
}
.text-section a {
  text-decoration: underline dotted var(--color-secondary);
  color: var(--color-secondary);
}
.text-section a:hover, .text-section a:focus {
  text-decoration: underline solid var(--color-accent);
  color: var(--color-accent);
}

/* ==================== FOCUS VISIBLE OUTLINES (A11Y) ==================== */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  transition: outline 0.13s;
}

/* =================== SMALL DETAIL MICRO-ANIMATIONS ==================== */
.cta-primary, .button, .mobile-nav a, .cookie-banner button, .modal-footer button {
  transition: all 0.16s cubic-bezier(.43,1.03,.34,1);
}
.card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.20s;
}

/* ================= SIMPLE SHAPES (MODERN BOLD) =================== */
.card, .testimonial-card, .section, .feature-item, .cookie-modal-dialog {
  border-radius: 18px;
}

/* ===================== ADDITIONAL SPACING/SAFE AREAS ======================= */
body {
  scroll-padding-top: 70px;
}

/*================== HIDE SCROLL WHEN MOBILE MENU/COOKIE MODAL ACTIVE ==================*/
body.modal-open, body.mobile-menu-open {
  overflow: hidden;
}

/* ============= UTILITY CLASSES ============= */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-24 { gap: 24px; }
.gap-20 { gap: 20px; }

/*
 * ========== END SHIMMER PIAZZA MODERN BOLD CSS ===========
 */
