/* === CSS RESET AND 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, 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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  background: #f4f5f8;
  color: #12243a;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
ul,ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* === ROOT COLORS AND FONTS === */
:root {
  --color-primary: #12243a;
  --color-secondary: #eb9200;
  --color-gold: #bfa869;
  --color-accent: #f5f5f5;
  --color-shadow: rgba(18,36,58,0.07);
  --color-white: #fff;
  --color-footer-bg: #191e28;
  --color-border: #e9eaea;
  --color-card-bg: #fff;
  --color-card-border: #e6e1d5;
  --font-display: 'Montserrat', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* === SPACING & FLEXBOX LAYOUTS === */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 4px 32px var(--color-shadow);
  border: 1px solid var(--color-card-border);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px rgba(191,168,105,0.18), 0 1.5px 5px var(--color-shadow);
  border-color: var(--color-gold);
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-card-bg);
  border-radius: 14px;
  box-shadow: 0 2px 20px var(--color-shadow);
  border: 1px solid var(--color-gold);
  margin-bottom: 20px;
  max-width: 380px;
  transition: box-shadow 0.18s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(235,146,0,0.14); 
  border-color: var(--color-secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 20px 18px 18px 18px;
  border: 1px solid var(--color-card-border);
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s, border-color 0.2s;
}
.feature-item img {
  width: 38px;
  height: 38px;
}
.feature-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: 0.4em;
}
.feature-item:hover {
  box-shadow: 0 6px 22px rgba(235,146,0,0.12);
  border-color: var(--color-secondary);
}

/* === HEADER NAVIGATION & LOGO === */
header {
  width: 100%;
  background: var(--color-white);
  border-bottom: 1.5px solid var(--color-gold);
  box-shadow: 0 2px 16px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 2px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  text-shadow: 0 1px 8px rgba(235,146,0,0.07);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 34px;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 16px var(--color-shadow);
  letter-spacing: 0.03em;
  margin-left: 8px;
  transition: background 0.2s, box-shadow 0.18s, color 0.15s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: var(--color-gold);
  box-shadow: 0 4px 36px rgba(191,168,105,0.22);
  outline: none;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  background: none;
  color: var(--color-secondary);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 16px;
  border-radius: 22px;
  padding: 0 9px;
  margin-top: 8px;
  transition: color 0.18s;
  border-bottom: 1.5px solid var(--color-gold);
}
.link-btn:hover, .link-btn:focus {
  color: var(--color-primary);
  border-color: var(--color-secondary);
}

/* === HAMBURGER MENU BUTTON === */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  padding: 8px 10px;
  margin-left: 10px;
  color: var(--color-primary);
  background: var(--color-accent);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  z-index: 200;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 2px 8px var(--color-gold);
}

/* Hide hamburger on desktop */
@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(18,36,58,0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.5,1,0,1);
  z-index: 1050;
  padding: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 32px;
  color: var(--color-gold);
  background: none;
  border: none;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 0 40px;
  margin-top: 42px;
  width: 80vw;
  max-width: 400px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  padding: 10px 6px;
  border-radius: 10px;
  transition: background 0.2s, color 0.13s;
  margin-right: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Hide main nav on mobile, show hamburger */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
}
@media (max-width: 1024px) {
  .cta-btn {
    padding: 10px 22px;
    font-size: 16px;
  }
  header .container {
    gap: 8px;
  }
  .logo img {
    height: 32px;
  }
}
/* Show hamburger and mobile menu only on mobile */
@media (max-width: 1024px) {
  .mobile-menu {
    display: flex;
  }
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 8px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 7px;
}
.subheadline {
  font-size: 1.19rem;
  color: #343c4b;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 9px;
}
p, ul, ol, li {
  font-size: 1rem;
  font-family: var(--font-body);
}
p {
  line-height: 1.6;
  color: #273246;
  margin-bottom: 12px;
}
strong {
  font-weight: bold;
}

/* === HERO SECTION STYLES === */
.hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 56px 0 40px 0;
  margin-bottom: 56px;
  border-bottom: 3.5px solid var(--color-gold);
  box-shadow: 0 8px 48px rgba(18,36,58,0.09);
}
.hero h1, .hero h2, .hero .subheadline {
  color: var(--color-white);
}
.hero .cta-btn {
  margin-top: 18px;
  background: var(--color-gold);
  color: var(--color-primary);
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* === FEATURES SECTIONS === */
.features {
  background: var(--color-accent);
  border-radius: 22px;
  margin-bottom: 54px;
  box-shadow: 0 2px 24px var(--color-shadow);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 20px 14px 16px;
  box-shadow: 0 2px 12px var(--color-shadow);
  font-size: 1rem;
  color: #1b253b;
  border: 1px solid var(--color-card-border);
  transition: box-shadow 0.16s, border 0.18s;
}
.feature-list li img {
  width: 32px;
  height: 32px;
}
.feature-list li:hover {
  border-color: var(--color-gold);
  box-shadow: 0 6px 16px rgba(235,146,0,0.14);
}

/* === TESTIMONIALS === */
.testimonials {
  background: var(--color-accent);
  padding: 48px 0;
  border-radius: 18px;
  margin-bottom: 43px;
  box-shadow: 0 2px 24px var(--color-shadow);
}
.testimonials h2 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 32px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
}
.testimonial-card {
  background: var(--color-card-bg);
  color: var(--color-primary);
  min-width: 280px;
  max-width: 360px;
  border: 1.5px solid var(--color-gold);
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--color-shadow);
  padding: 28px 22px 20px 22px;
  gap: 18px;
}
.testimonial-text {
  font-size: 1.075rem;
  font-style: italic;
  line-height: 1.5;
  color: #2c3548;
  font-family: var(--font-body);
  margin-bottom: 9px;
}
.testimonial-meta {
  color: #7b6642;
  font-weight: 500;
  font-size: 1rem;
}

/* === COLLECTIONS PREVIEW & CTA === */
.collections-preview, .cta  {
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--color-shadow);
  text-align: center;
  margin-bottom: 46px;
  padding: 38px 0 38px 0;
}
.collections-preview h2,
.cta h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 10px;
}
.collections-preview p,
.cta p {
  font-size: 1.075rem;
  color: #273246;
  margin-bottom: 22px;
}
.collections-preview .link-btn,
.cta .cta-btn {
  margin: 20px auto 0 auto;
}

/* === NEWSLETTER === */
.newsletter {
  background: var(--color-accent);
  border-radius: 16px;
  padding: 34px 0;
  box-shadow: 0 2px 20px var(--color-shadow);
  margin-bottom: 44px;
}
.newsletter h2 {
  color: var(--color-primary);
  font-size: 1.45rem;
}
.newsletter ul {
  margin-bottom: 12px;
  margin-left: 23px;
  list-style: disc inside;
  font-size: 1rem;
  color: #2e3242;
}
.newsletter span {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1.1rem;
}

/* === THANK YOU PAGE === */
.thankyou {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 4px 32px var(--color-shadow);
  padding: 54px 20px 44px;
  margin: 48px 0;
  text-align: center;
}

/* === CONTACT BLOCK === */
.contact-block .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  justify-content: flex-start;
}
.contact-block .contact-details {
  min-width: 250px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 13px;
  padding: 22px 20px;
  box-shadow: 0 1.5px 12px var(--color-shadow);
  color: #12243a;
  font-size: 1rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-block .contact-details img {
  width: 27px;
  height: 27px;
  margin-right: 8px;
}
.contact-block .text-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #faf7f1;
  border-radius: 10px;
  border: 1px solid var(--color-gold);
  padding: 20px 18px;
  font-size: 1rem;
}

/* === TEXT SECTIONS === */
.text-section {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px var(--color-shadow);
  border: 1px solid var(--color-border);
  padding: 23px 20px;
  margin-bottom: 16px;
}
.text-section ul {
  list-style: disc inside;
  margin: 10px 0 6px 18px;
  color: #1f2537;
}

/* === FOOTER === */
footer {
  background: var(--color-footer-bg);
  color: #ddd3b4;
  padding: 44px 0 32px 0;
  border-top: 2.5px solid var(--color-gold);
  font-size: 0.95rem;
  letter-spacing: 0.015em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 56px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #f9e8bc;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 7px;
  border-bottom: 1px solid transparent;
  transition: color 0.19s, border-bottom 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 260px;
  font-size: 1rem;
  color: #edce9b;
}
.contact-info img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-logo img {
  height: 38px;
  width: auto;
}

/* === RESPONSIVE DESIGN (MOBILE-FIRST) === */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding-left: 14px;
    padding-right: 14px;
  }
  .footer-nav {
    gap: 18px;
  }
}
@media (max-width: 800px) {
  .features .feature-grid, .testimonials .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .hero { padding: 40px 0 32px 0; }
}
@media (max-width: 768px) {
  .section { margin-bottom: 34px; padding: 24px 8px; }
  .hero { padding: 27px 0 21px 0; margin-bottom: 33px; }
  .footer-logo img { height: 30px; }
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.14rem; }
  .cta-btn { font-size: 15px; padding: 8px 15px; border-radius: 22px; }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 18px; }
  .feature-item { min-width: 160px; max-width: 100%; }
  .testimonials .content-wrapper { gap: 16px; }
  .testimonial-card { min-width: 96vw; max-width: 98vw; }
  .collections-preview, .cta { padding: 28px 0; font-size: 1rem; }
  .newsletter { padding: 18px 0; }
  .thankyou { padding: 28px 7px 22px; margin: 28px 0; }
  footer .container { flex-direction: column; gap: 16px; align-items: stretch; }
}
@media (max-width: 425px) {
  .logo img { height: 24px; }
  .mobile-menu-toggle { font-size: 22px; padding: 7px 7px; }
  .testimonials .content-wrapper { gap: 4px; }
  .newsletter span { font-size: 0.98rem; }
}

/* === INTERACTIVE ELEMENTS & ANIMATIONS === */
.card, .feature-item, .testimonial-card, .cta-btn, .link-btn, .footer-nav a, .main-nav a {
  transition: box-shadow 0.2s, border 0.18s, color 0.18s, background 0.2s;
}
.animated {
  animation: fadeInUp 0.65s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0,30px,0); }
  to { opacity: 1; transform: none; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1600;
  background: var(--color-white);
  box-shadow: 0 -2px 18px var(--color-shadow);
  border-top: 1.5px solid var(--color-gold);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 28px 28px 18px 20px;
  font-size: 1rem;
  font-family: var(--font-body);
}
.cookie-banner__text {
  color: #1b253b;
  max-width: 530px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  background: var(--color-secondary);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-display);
  border-radius: 21px;
  padding: 7px 18px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.13s, box-shadow 0.18s;
  box-shadow: 0 1px 9px rgba(235,146,0,0.08);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}
.btn-outline {
  background: none;
  color: var(--color-secondary);
  border: 1.2px solid var(--color-gold);
  transition: background 0.18s, color 0.15s, border 0.12s;
}
.btn-outline:hover, .btn-outline:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}

/* Responsive for Cookie Banner */
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 8px 15px 7px;
    font-size: 0.97rem;
  }
  .cookie-banner__text { max-width: 98vw; }
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1700;
  inset: 0;
  background: rgba(17,25,37,0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--color-card-bg);
  min-width: 320px;
  max-width: 94vw;
  padding: 26px 24px 20px 24px;
  border-radius: 18px;
  box-shadow: 0 8px 44px var(--color-shadow);
  border: 2px solid var(--color-gold);
  font-size: 1rem;
  color: #2f3443;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInUp 0.32s cubic-bezier(.5,1,0,1) both;
}
.cookie-modal h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.21rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
}
.cookie-category input[type=checkbox]:not(:disabled) {
  accent-color: var(--color-secondary);
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}
.cookie-modal .btn-outline { min-width: 110px; }

/* === MISC UTILITIES === */
.text-center { text-align: center; }
.mt-2 { margin-top: 14px; }
.mb-3 { margin-bottom: 24px; }
.w-100 { width: 100%; }

::-webkit-scrollbar {
  width: 8px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 7px;
}

/* === ACCESSIBILITY STATES === */
a:focus, .cta-btn:focus, .link-btn:focus, .mobile-menu-toggle:focus, .mobile-nav a:focus, button:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  z-index: 1;
}

/* === PRINT STYLES === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #000; background: #fff; }
}
