/* =====================================================
   Twilight Chronographen – Geometric Structured CSS
   Author: Professional UI/CSS Developer
   ===================================================== */

/* --------- CSS RESET/BASE --------- */
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.6;
  background: #F5F3EF;
  color: #21242B;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* --------- COLOR VARIABLES --------- */
:root {
  --primary: #21242B;
  --secondary: #A38B5F;
  --accent: #F5F3EF;
  --body: #25282f;
  --muted: #8a909b;
  --white: #fff;
  --danger: #bf3636;
  --success: #148240;
  --shadow: 0 4px 24px rgba(33,36,43,0.10);
  --radius: 14px;
}

/* --------- TYPOGRAPHY --------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Lato', serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.2rem;
}
h5, h6 {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

p, li, blockquote,
input, textarea, select {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--body);
  line-height: 1.6;
}
strong {
  font-weight: 700;
}
.subheadline {
  font-size: 1.15rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--primary);
  border-left: 5px solid var(--secondary);
  padding-left: 18px;
  margin-bottom: 12px;
}

/* --------- LAYOUT CONTAINERS --------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(33,36,43,0.16);
  transform: translateY(-4px) scale(1.017);
  z-index: 3;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 470px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(33,36,43,0.15);
}
.testimonial-info {
  margin-top: 8px;
  color: var(--secondary);
  font-size: 0.95em;
  letter-spacing: 0.01em;
}

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

/* --------- MAIN NAVIGATION --------- */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--accent);
  position: relative;
  z-index: 22;
}
.main-nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 10px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  background: #ede8df;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cta-button {
  font-family: 'Playfair Display', serif;
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05em;
  padding: 11px 32px;
  border-radius: 40px;
  box-shadow: 0 1px 5px rgba(163,139,95, 0.04);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border: 2.5px solid var(--secondary);
  outline: none;
  transition: background 0.18s, border 0.18s, color 0.18s, transform 0.15s;
  margin-left: 14px;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 2px 12px rgba(33,36,43,0.13);
}

/* --------- HERO SECTIONS --------- */
.hero {
  background: linear-gradient(120deg, #F5F3EF 87%, #e7dcc7 100%);
  display: flex;
  align-items: center;
  min-height: 400px;
  margin-bottom: 42px;
  padding: 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
  padding: 32px 0;
  max-width: 600px;
}

/* --------- FEATURES & SERVICES --------- */
.features ul,
.benefits ul,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  align-items: flex-start;
}
.features ul li, .benefits ul li {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px 18px 18px;
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.features ul li img, .benefits ul li img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.features ul li:hover, .benefits ul li:hover {
  box-shadow: 0 8px 30px rgba(33,36,43,0.13);
  transform: translateY(-2px) scale(1.013);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-list > div {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 18px 20px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.15s;
  border-left: 6px solid var(--secondary);
  position: relative;
}
.service-list > div span {
  color: var(--secondary);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 1.09em;
}
.service-list > div:hover {
  box-shadow: 0 10px 28px rgba(163,139,95,0.12);
  transform: translateY(-2px) scale(1.01);
}

.pricing-highlights, .pricing-table, .pricing-overview {
  background: #edeadd;
  border-radius: 12px;
  padding: 18px 20px 14px 20px;
  margin: 24px 0;
  box-shadow: 0 0.5px 6px rgba(163,139,95,0.08);
  color: var(--primary);
}
.pricing-highlights h4, .pricing-table h3, .pricing-overview h3 {
  margin-bottom: 10px;
}
.pricing-highlights ul, .pricing-table ul, .pricing-overview ul {
  margin-left: 10px;
}

/* --------- ENGRAVING & MATERIAL SECTION --------- */
.engraving-options-list ul, .materials-supported ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.materials-supported {
  margin-top: 16px;
}

/* --------- TIMELINE/FAQ/ACCORDION --------- */
.timeline ul, .watchmakers-overview ul, .faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.timeline ul li, .watchmakers-overview ul li, .faq-accordion h3 {
  font-size: 1rem;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  color: var(--primary);
  background: #f4f1e7;
  border-radius: 8px;
  padding: 10px 14px;
}
.faq-accordion h3 {
  cursor: pointer;
  background: var(--secondary);
  color: var(--white);
  margin-bottom: 0;
  transition: background 0.14s, color 0.14s;
}
.faq-accordion h3:hover {
  background: var(--primary);
  color: var(--secondary);
}
.faq-accordion p {
  font-size: 0.97rem;
  background: #f5f3ee;
  margin-bottom: 0;
  border-left: 3px solid var(--secondary);
  padding: 10px 16px 10px 20px;
  border-radius: 0 8px 8px 0;
}

/* --------- CARDS/CONFIRMATION --------- */
.confirmation, .next-steps {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 30px 28px;
  margin-top: 18px;
  font-size: 1.04em;
}
.next-steps ul {
  margin-top: 10px;
  gap: 8px;
}

/* --------- FOOTER --------- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 32px 0 16px 0;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 0.03em;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--white);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.98em;
}
.footer-contact img {
  width: 45px;
  margin-bottom: 3px;
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 8px;
  margin-top: 8px;
}
.footer-social img {
  width: 28px;
  height: 28px;
  opacity: 0.83;
  transition: opacity 0.15s, transform 0.15s;
}
.footer-social img:hover {
  opacity: 1;
  transform: scale(1.12);
}

/* --------- ADDRESS & MAP --------- */
.address-details, .opening-hours, .map-embed {
  background: var(--white);
  border-radius: 11px;
  box-shadow: 0 1px 8px rgba(33,36,43,0.08);
  padding: 22px 14px;
  margin-bottom: 24px;
  font-size: 1em;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}
.address-details img {
  width: 36px;
  margin-bottom: 4px;
}
.opening-hours h3 { margin-bottom: 10px; }

/* --------- INTERACTIVE: BURGER MENU (Mobile) --------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 2.05em;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  justify-content: center;
  align-items: center;
  z-index: 51;
  box-shadow: 0 1.5px 8px rgba(163,139,95,0.10);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--secondary);
}

.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: var(--accent);
  box-shadow: 0 8px 30px 2px rgba(33,36,43,0.16);
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.63,.01,.58,1.00);
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 34px;
  font-size: 2.2rem;
  color: var(--primary);
  background: var(--secondary);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1110;
  transition: background 0.18s;
}
.mobile-menu-close:hover {
  background: var(--danger);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 80px 38px 20px 38px;
  width: 100vw;
  height: 100vh;
  align-items: flex-start;
  font-size: 1.18em;
}
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.04em;
  background: none;
  border-radius: 6px;
  padding: 12px 6px;
  width: 100%;
  transition: background 0.13s, color 0.13s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--white);
}

/* --------- COOKIE BANNER --------- */
#cookie-banner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--primary);
  color: var(--accent);
  padding: 22px 28px;
  z-index: 2200;
  box-shadow: 0 -2px 22px rgba(33,36,43,0.10);
  animation: cookie-slide-up 0.65s cubic-bezier(.27,1.12,.32,1.0);
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
#cookie-banner p {
  margin: 0;
  font-size: 1rem;
  color: var(--accent);
}
.cookie-btn-group {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn, .cookie-btn--accent {
  padding: 10px 23px;
  font-size: 1em;
  border-radius: 25px;
  border: 2px solid var(--secondary);
  color: var(--white);
  background: var(--secondary);
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, border 0.15s;
  cursor: pointer;
  outline: none;
}
.cookie-btn--accent {
  background: var(--primary);
  border-color: var(--accent);
  color: var(--accent);
}
.cookie-btn--danger {
  background: var(--danger);
  border-color: var(--danger);
  color: var(--white);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--white);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-btn--accent:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--primary);
}
.cookie-btn--danger:hover {
  background: #8a2323;
  color: var(--white);
}

/* COOKIE MODAL POPUP */
#cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(33,36,43,0.50);
  justify-content: center;
  align-items: center;
  z-index: 2500;
  animation: modal-fadein 0.3s cubic-bezier(.17, .67, .83, .67);
}
@keyframes modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(33,36,43,0.22);
  width: 96%;
  max-width: 440px;
  padding: 26px 22px 28px 22px;
  color: var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 10px 0;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 19px;
  background: #bec0c4;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
  vertical-align: middle;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  transition: left 0.18s;
}
.cookie-toggle:checked:before {
  left: 17px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 9px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 1.7rem;
  color: var(--primary);
  background: #eee7d0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.18s;
}
.cookie-modal-close:hover {
  background: var(--secondary);
  color: var(--white);
}

/* --------- RESPONSIVE DESIGN --------- */
@media (max-width: 1060px) {
  .container {
    padding: 0 12px;
  }
}
@media (max-width: 960px) {
  .main-nav ul {
    gap: 12px;
  }
  .footer-contact { font-size: 0.95em; }
  .testimonial-card, .card {
    min-width: 160px;
    padding: 20px 10px;
  }
  .features ul li, .service-list > div {
    min-width: 170px;
    padding: 14px 8px 12px 8px;
  }
}
@media (max-width: 768px) {
  .main-nav ul, .cta-button {
    display: none;
  }
  .main-nav {
    padding-right: 54px;
  }
  .logo-link {
    padding: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper, .features ul, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .card {
    max-width: 99%;
    min-width: unset;
    padding: 20px 14px;
  }
  .features ul li, .service-list > div {
    min-width: unset;
    width: 100%;
    margin-bottom: 16px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
  .hero {
    min-height: unset;
    padding-top: 26px;
    padding-bottom: 26px;
  }
  .hero .container, .hero .content-wrapper {
    align-items: stretch;
    padding: 10px 0;
    text-align: left;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.93em;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.1rem; }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .hero .content-wrapper {
    padding: 10px 0;
    gap: 12px;
  }
  .footer-contact, .footer-nav {
    font-size: 0.91em;
    padding-left: 0;  padding-right: 0;
  }
  #cookie-banner {
    padding: 13px 6px;
    flex-direction: column;
    gap: 12px;
    font-size: 0.97em;
    align-items: flex-start;
  }
  .cookie-btn-group {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .cookie-modal-content {
    max-width: 95vw;
    padding: 12px 5vw 15px 5vw;
    gap: 12px;
  }
}

/* --------- GEOMETRIC STRUCTURAL EFFECTS & DETAILS --------- */
.section, .card, .testimonial-card, .features ul li, .service-list > div, .pricing-highlights, .pricing-table, .address-details, .opening-hours, .map-embed, .confirmation {
  border-radius: var(--radius);
}
.section {
  box-shadow: 0 1.5px 10px rgba(163,139,95,0.07);
  background: var(--accent);
}
.card, .testimonial-card, .features ul li, .service-list > div {
  border: 1.5px solid #e6e1d5;
}

.cta {
  margin: 32px 0 4px 0;
  text-align: center;
}
.cta .cta-button {
  font-size: 1.15em;
  padding: 13px 42px;
  margin-top: 9px;
}

/* Button Micro-interactions */
.cta-button:active,
.cookie-btn:active,
.cookie-btn--accent:active,
.mobile-menu-toggle:active,
.mobile-menu-close:active {
  transform: scale(0.96);
  opacity: .92;
}

/* Subtle transitions */
.card, .testimonial-card, .features ul li, .service-list > div {
  transition: box-shadow 0.18s, transform 0.18s;
}

/* Angular font accent for geometric style */
h1, h2, h3, h4, h5, h6, .cta-button, .mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* Others: Make sure no overlapping anywhere */
.card, .testimonial-card, .features ul li,
.service-list > div, .confirmation, .pricing-overview,
.address-details, .opening-hours, .map-embed,
.materials-supported, .engraving-options-list, .craftsmanship-highlights {
  margin-bottom: 20px;
  margin-top: 0;
}

/* Ensure minimum card margins for all card sets */
.card-container > *, .content-grid > *, .service-list > *, .features ul > *, .testimonial-card {
  margin-bottom: 20px;
}


/* --------- ACCESSIBILITY IMPROVEMENTS --------- */
:focus {
  outline: 2.5px dashed var(--secondary);
  outline-offset: 2px;
}
button:focus, a:focus {
  outline: 2.5px solid var(--secondary);
}


/* --------- END OF STYLES --------- */