/* ==========================================================  
   HAZY DREAM UHREN  |  style.css
   Geometric Structured | Responsive Flexbox-Only CSS
   ==========================================================  */

/* --- CSS RESET & NORMALIZE --- */
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%;
  vertical-align: baseline; box-sizing: border-box;
}

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
  background: #F5F5F1;
  color: #222631;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  font-feature-settings: "ss01" on;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }
a { color: #222631; text-decoration: none; transition: color 0.2s; }
a:focus {outline: 2px solid #D3B376; outline-offset: 2px;}

/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #222631;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 18px;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem;  margin-bottom: 20px; }
h3 { font-size: 1.3rem;  margin-bottom: 12px; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.05rem; }
}

.subheadline {
  font-size: 1.2rem;
  font-family: 'Lato', Arial, sans-serif;
  color: #222631;
  margin-bottom: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: 400;
}

strong, b { font-weight: 700; color: #222631; }

/* --- GLOBAL CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;  /* required spacing */
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
}

.card-container { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 24px; 
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(34, 38, 49, 0.06);
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.18s;
  min-width: 240px;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(34,38,49,0.16);
  transform: translateY(-4px) 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; align-items: stretch; gap: 20px; }
  .content-wrapper { padding: 0; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(34,38,49,0.09);
  padding: 28px 32px;
  margin-bottom: 20px;
  border-left: 5px solid #D3B376;
  max-width: 620px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 2px 32px rgba(34,38,49,0.15);
}

.customer-name {
  font-size: 1.1rem;
  color: #222631;
  font-style: italic;
  font-family: 'Lato', Arial, sans-serif;
  letter-spacing: 0.012em;
  margin-top: 8px;
}

.testimonials .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 900px) {
  .testimonials .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { max-width: 100%; }
}

.feature-grid,
.feature-list,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  list-style: none;
}
.feature-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(34,38,49,0.06);
  flex: 1 1 240px;
  min-width: 170px;
  padding: 24px 18px;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.18s, transform 0.16s;
  border-top: 4px solid #D3B376;
}
.feature-card img {
  width: 44px; height: 44px;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 1.12rem; }
.feature-card:hover {
  box-shadow: 0 4px 24px rgba(34,38,49,0.18);
  transform: translateY(-2px) scale(1.01);
}

.feature-list li, .service-list li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 10px rgba(34,38,49,0.04);
  padding: 16px 20px 16px 16px;
  margin-bottom: 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 210px;
}
.feature-list img, .feature-list svg {
  width: 32px; height: 32px;
}

.service-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.service-price {
  color: #D3B376;
  font-family: 'Playfair Display', serif;
  font-size: 1.04rem;
  font-weight: 700;
  display: inline-block;
  background: #F5F5F1;
  border-radius: 4px;
  padding: 2px 9px;
  margin-left: 10px;
}

/* --------- NAVIGATION --------- */
header {
  background: #F5F5F1;
  padding: 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1010;
  box-shadow: 0 2px 16px rgba(34,38,49,0.04);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 78px;
}
.logo-link img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 18px;
  border-radius: 11px;
  font-weight: 500;
  color: #222631;
  transition: background 0.18s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #D3B376;
  color: #fff;
}
.cta-nav {
  background: #222631;
  color: #fff !important;
  border-radius: 28px;
  padding: 9px 22px;
  letter-spacing: 0.2px;
  font-size: 1.01rem;
  font-weight: 700;
  border: none;
  transition: background 0.21s, color 0.21s;
  box-shadow: 0 2px 6px rgba(34,38,49,0.12);
  margin-left: 10px;
}
.cta-nav:hover, .cta-nav:focus {
  background: #D3B376;
  color: #222631 !important;
}

/* ------ MOBILE NAVIGATION ------ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #222631;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 2010;
  position: absolute;
  right: 10px; top: 16px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #D3B376;
  outline: 2px solid #D3B376;
  border-radius: 8px;
}

@media (max-width: 992px) {
  .main-nav ul { gap: 12px; }
}
@media (max-width: 870px) {
  .main-nav ul { display: none; }
  .mobile-menu-toggle { display: block; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #222631;
  color: #fff;
  z-index: 2020;
  transform: translateX(-100vw);
  transition: transform 0.31s cubic-bezier(.77,0,.18,1);
  display: flex; flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 34px;
  box-shadow: 2px 0 48px rgba(34,38,49,0.22);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  position: absolute; right: 22px; top: 13px;
  cursor: pointer;
  padding: 9px 16px;
  z-index: 2030;
  border-radius: 10px;
  transition: background 0.18s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D3B376;
  color: #222631;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 58px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D3B376;
  color: #222631;
}

@media (max-width: 870px) {
  .main-nav ul,
  .main-nav li {
    display: none;
  }
  .main-nav { padding: 0 12px; }
}

@media (max-width: 600px) {
  .container { padding: 0 7px; }
  .main-nav { height: 62px; }
  .logo-link img { height: 33px; }
  .mobile-nav { padding: 50px 0 0 15px; }
}

/* ------------ HERO SECTION ------------ */
.hero {
  background: linear-gradient(120deg, #F5F5F1 65%, #EFE9DE 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: 0;
  margin-bottom: 44px;
  box-shadow: 0 2px 42px rgba(211,179,118,0.04);
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 50px; padding-bottom: 50px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
@media (max-width: 700px) {
  .hero { min-height: unset; margin-bottom: 22px; }
  .hero .container { padding-top: 20px; padding-bottom: 20px; }
}

/* ------------ CTA BUTTON ------------ */
.cta-btn {
  font-family: 'Lato', Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: #222631;
  border: none;
  border-radius: 40px;
  padding: 14px 38px;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  box-shadow: 0 5px 30px rgba(34,38,49,0.13);
  margin-top: 12px;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.16s;
  cursor: pointer;
  text-transform: uppercase;
}
.cta-btn:hover, .cta-btn:focus {
  background: #D3B376;
  color: #222631;
  box-shadow: 0 8px 32px rgba(211,179,118,0.16);
  transform: translateY(-2px) scale(1.018);
}

.cta {
  text-align: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(211,179,118,0.06);
}
.cta .content-wrapper {
  align-items: center;
  gap: 14px;
}

/* ----------- TEXT SECTION ----------- */
.text-section {
  font-size: 1.08rem;
  color: #222631;
  font-family: 'Lato', Arial, sans-serif;
  gap: 22px;
}
.text-section ul, .text-section ol {
  margin: 12px 0 12px 18px;
  padding-left: 0;
}
.text-section li {
  margin-bottom: 8px;
}
.text-section h3 { margin-top: 25px; }
.text-section dt {
  font-weight: 700;
  margin-top: 13px;
  color: #222631;
}
.text-section dd {
  margin-bottom: 4px;
  margin-left: 0;
}

/* ------ FOOTER ------ */
footer {
  background: #222631;
  color: #fff;
  padding: 45px 0 0 0;
  font-size: 1rem;
  margin-top: 65px;
  box-shadow: 0 -2px 24px rgba(34,38,49,0.11);
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 34px;
  border-bottom: 1px solid #45495a;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a, .footer-legal a {
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 2px;
  border-radius: 8px;
  padding: 4px 8px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-legal a:hover, 
.footer-nav a:focus, .footer-legal a:focus {
  background: #D3B376;
  color: #222631;
}
.footer-contact strong {
  font-size: 1.09rem;
  color: #D3B376;
}
.footer-contact, .footer-social {
  font-size: 0.97rem;
  color: #fff;
  margin-bottom: 6px;
}
.footer-social img { height: 39px; opacity: 0.94; }

@media (max-width: 880px) {
  .footer-flex {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}
@media (max-width: 700px) {
  footer {
    padding: 22px 0 0;
    font-size: 0.97rem;
  }
}

/* ------- LEGAL, FORM, CONFIRMATION ----- */
.legal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(211,179,118,0.05);
  margin: 36px 0 36px 0;
  padding: 36px 20px;
}
.confirmation .content-wrapper {
  min-height: 300px;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 32px;
  padding: 60px 8vw 60px 8vw;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(211,179,118,0.06);
}

/* ------------ COOKIES BANNER ------------ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #222631;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3000;
  padding: 18px 14px 24px 14px;
  box-shadow: 0 -3px 32px rgba(34,38,49,0.17);
  font-size: 1rem;
  animation: slideUpBanner 0.35s cubic-bezier(.9,0,.32,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 10px; font-size: 1.03rem;
  color: #fff;
  max-width: 640px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
}
.cookie-banner button {
  padding: 8px 24px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  background: #D3B376;
  color: #222631;
  font-weight: 700;
  cursor: pointer;
  margin-right: 4px;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
  box-shadow: 0 2px 6px rgba(211,179,118,0.11);
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: #D3B376;
  border: 2px solid #D3B376;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #222631;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #D3B376;
  color: #222631;
}
@media (max-width: 600px) {
  .cookie-banner .cookie-btns {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
}

/* ---------- COOKIE MODAL ---------- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4000;
  left: 0; top: 0; right: 0; bottom: 0;
  min-height: 100vh;
  background: rgba(34,38,49,0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.23s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 64px rgba(34,38,49,0.13);
  padding: 30px 28px 20px 28px;
  min-width: 312px;
  max-width: 420px;
  z-index: 4010;
  color: #222631;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: slideUpBanner 0.33s cubic-bezier(.8,0,.18,1);
}
.cookie-modal h2 {
  color: #222631;
  font-size: 1.5rem;
  margin-bottom: 5px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 8px 0 8px 0;
}
.cookie-modal .category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #D3B376;
  border-radius: 6px;
  margin: 0 5px 0 0;
}
.cookie-modal .category.disabled input[type="checkbox"] {
  accent-color: #B6AE97;
}
.cookie-modal .category label {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
}
.cookie-modal .description {
  color: #666B7B;
  font-size: 0.97rem;
  margin-top: -3px;
  margin-bottom: 6px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
}
.cookie-modal .cookie-modal-actions button {
  background: #D3B376;
  color: #222631;
  border: none;
  border-radius: 10px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 22px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .cookie-modal-actions .reject {
  background: transparent;
  border: 2px solid #D3B376;
  color: #D3B376;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: #222631;
  color: #fff;
}
@media (max-width: 500px) {
  .cookie-modal { max-width: 94vw; padding: 18px 6vw 14px 6vw; }
}

/* ------------ MICROINTERACTIONS, HOVER, FOCUS ------------ */
button, [type="button"], [type="submit"] {
  cursor: pointer;
  font-family: 'Lato', Arial, sans-serif;
  transition: background 0.16s, color 0.17s, box-shadow 0.17s, transform 0.14s;
}
button:active, .cta-btn:active {
  transform: scale(0.98);
  box-shadow: 0 1px 10px rgba(34,38,49,0.19);
}

/* ------------ GEOMETRIC STRUCTURED EFFECTS ------------- */
.section, .feature-card, .card, .cta, .testimonial-card, .legal, .confirmation .content-wrapper {
  border-radius: 18px 36px 10px 30px / 20px 14px 44px 20px;
  box-shadow: 0 2px 24px rgba(211,179,118,0.05);
}

@media (max-width: 600px) {
  .section, .feature-card, .card, .cta, .testimonial-card, .legal, .confirmation .content-wrapper {
    border-radius: 13px 19px 9px 17px / 13px 10px 22px 13px;
  }
}

hr {
  border: none;
  border-top: 2px solid #EFE9DE;
  margin: 32px 0 32px 0;
}

/* --------- UTILITIES --------- */
.text-center { text-align: center!important; }
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.gap-20 { gap: 20px !important; }
.gap-30 { gap: 30px !important; }
.mt-20 { margin-top: 20px!important; }
.mt-40 { margin-top: 40px!important; }

/* -------- ACCESSIBILITY -------- */
:focus-visible {
  outline: 2px solid #D3B376;
  outline-offset: 2px;
}

/* ------ SCROLL BAR DESIGN ------ */
::-webkit-scrollbar {
  width: 11px; background: #EFE9DE;
}
::-webkit-scrollbar-thumb {
  background: #D3B376; border-radius: 7px;
}

/* -------- PRINT -------- */
@media print {
  nav, .mobile-menu, footer, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
  body { background: #fff; color: #000; }
  .container, .section { padding: 0; margin: 0; }
}

/*         END OF style.css         */
