/* ==================== 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
main {
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
article, aside, details, figcaption, figure,  footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  background: none;
  border: none;
  font: inherit;
  outline: none;
}
/* ==================== FONT IMPORTS ==================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

:root {
  --color-primary: #23293A;
  --color-secondary: #607C9B;
  --color-accent: #F4EDE4;
  --color-bg-main: #181B23;
  --color-bg-alt: #23293a;
  --color-highlight: #49FFD8;
  --color-white: #FFF;
  --color-dark: #1a1d26;
  --shadow-main: 0 6px 32px rgba(52,92,255,0.08);
  --radius-main: 18px;
  --transition-main: 0.24s cubic-bezier(.4,0,.2,1);
}

body {
  background: var(--color-bg-main);
  color: var(--color-accent);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 500px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.text-section {
  max-width: 700px;
  margin-bottom: 20px;
}

/* ==================== TECH FUTURISTIC HERO AREA ==================== */
.hero {
  background: linear-gradient(92deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
  padding: 56px 0 48px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  z-index: 2;
}
.hero h1 {
  color: var(--color-highlight);
  text-shadow: 0 2px 18px rgba(73,255,216,0.1);
  font-size: 2.6rem;
  line-height: 1.14;
}
.hero p {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 36px 0; }
  .hero h1 { font-size: 2rem; }
}

.btn-primary {
  background: var(--color-highlight);
  color: var(--color-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15em;
  padding: 11px 32px;
  border-radius: 32px;
  border: 2px solid var(--color-highlight);
  box-shadow: 0 2px 14px rgba(73,255,216,0.12);
  cursor: pointer;
  letter-spacing: 1px;
  display: inline-block;
  transition: box-shadow var(--transition-main), color var(--transition-main), background var(--transition-main);
  margin-top: 8px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-bg-main);
  color: var(--color-highlight);
  box-shadow: 0 4px 32px rgba(73,255,216,0.18);
  border-color: var(--color-highlight);
}

/* ==================== NAVIGATION ==================== */
header {
  width: 100%;
  background: var(--color-bg-alt);
  box-shadow: 0 2px 10px rgba(34,43,58,0.16);
  z-index: 100;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
}
header img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-right: 24px;
}
.main-nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1em;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-main);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-highlight);
}
.main-nav a.active {
  color: var(--color-highlight);
  font-weight: 700;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--color-highlight);
  font-size: 2rem;
  cursor: pointer;
  border: none;
  margin-left: 24px;
  z-index: 110;
  transition: color var(--transition-main);
}
.mobile-menu-toggle:hover {
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========== MOBILE MENU OVERLAY =========== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35,41,58,0.99);
  z-index: 1500;
  transform: translateX(-105%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(.53,-0.07,.35,1.42), opacity 0.15s;
  box-shadow: 0 0 0 100vmax rgba(35,41,58,0.5);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  background: none;
  color: var(--color-highlight);
  font-size: 2.2em;
  align-self: flex-end;
  margin: 22px 34px 0 0;
  cursor: pointer;
  border: none;
  transition: color var(--transition-main);
  z-index: 1510;
}
.mobile-menu-close:hover {
  color: var(--color-accent);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  gap: 32px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25em;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 10px 0;
  border-radius: 6px;
  min-width: 180px;
  text-align: center;
  transition: background var(--transition-main), color var(--transition-main);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .btn-primary {
    margin-left: 0;
  }
}

/* ==================== FLEX LAYOUT PATTERNS ==================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover {
  box-shadow: 0 4px 32px rgba(73,255,216,0.14);
  transform: translateY(-4px) scale(1.02);
}

.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: flex-start;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-main);
  padding: 20px 32px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 18px 0 rgba(36,45,55,0.07);
  font-size: 1.12em;
  max-width: 540px;
  border-left: 4px solid var(--color-highlight);
}
.testimonial-card p {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-style: italic;
  font-size: 1.1em;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1em;
  margin-top: 5px;
}

.feature-item, .features ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 1em;
}
.features ul, .trendy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.features ul li, .trendy ul li {
  background: rgba(96,124,155, 0.10);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1em;
  color: var(--color-accent);
  min-width: 220px;
  box-shadow: 0 2px 9px rgba(36,45,55,0.04);
  transition: box-shadow var(--transition-main), border-color var(--transition-main);
  border-left: 4px solid transparent;
}
.features ul li:hover, .trendy ul li:hover {
  box-shadow: 0 6px 28px rgba(73,255,216,0.13);
  border-left: 4px solid var(--color-highlight);
}
.features ul li img, .trendy ul li img {
  width: 32px; height: 32px; object-fit: contain;
}

/* ========== CARDS, CTA, SERVICES ========= */
.collections-overview, .cta, .services, .hours, .about-section, .team, .collections, .trendy, .contact-section, .thank-you-section, .legal-section {
  background: var(--color-bg-alt);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  margin-bottom: 60px;
  padding: 40px 20px 36px 20px;
}

.cta .content-wrapper, .thank-you-section .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta h2, .thank-you-section h1 {
  color: var(--color-highlight);
  margin-bottom: 14px;
}

.map-placeholder {
  background: #202226;
  color: var(--color-highlight);
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 14px;
  padding: 18px 16px;
  margin-top: 18px;
  font-size: 1em;
  text-align: center;
  min-width: 220px;
}

/* ========== FOOTER AREA ========== */
footer {
  background: var(--color-bg-alt);
  padding: 38px 0 12px 0;
  font-size: 1em;
  color: var(--color-accent);
  box-shadow: 0 -2px 10px rgba(34,43,58,0.07);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 46px;
  width: auto;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-direction: column;
}
.footer-nav a {
  color: var(--color-highlight);
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  margin-bottom: 6px;
  transition: color var(--transition-main);
}
.footer-nav a:hover {
  color: var(--color-secondary);
}
.footer-contact {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-accent);
}
.footer-contact img {
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
}
footer p {
  font-size: 0.98em;
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
}

/* ========== LEGAL, POLICY, THANK YOU PAGES ========== */
.legal-section {
  background: var(--color-bg-alt);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  padding: 40px 20px 36px 20px;
  margin-bottom: 60px;
  font-size: 1.08em;
}
.legal-section h2 {
  color: var(--color-highlight);
  margin-top: 20px;
}
.legal-section ul {
  margin: 10px 0 16px 20px;
  padding-left: 20px;
  list-style: disc;
  color: var(--color-accent);
}
.legal-section ul li {
  margin-bottom: 8px;
}

/* ========== MEDIA QUERIES - FLEX ADAPTATION ========== */
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .features ul, .trendy ul {
    gap: 18px;
    flex-direction: column;
  }
  .card-container, .content-grid {
    gap: 14px;
    flex-direction: column;
  }
  .content-wrapper {
    gap: 18px;
  }
  .testimonial-card {
    padding: 16px 12px;
    max-width: 100%;
  }
  .collections-overview, .cta, .services, .hours, .about-section, .team, .collections, .trendy, .contact-section, .thank-you-section, .legal-section {
    padding: 26px 8px;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-bg-alt);
  color: var(--color-accent);
  z-index: 2500;
  box-shadow: 0 -2px 20px rgba(34,43,58,0.16);
  padding: 18px 24px 22px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 1.05em;
  transition: opacity 0.25s, transform 0.32s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  max-width: 420px;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  padding: 8px 20px;
  margin: 0 2px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: var(--color-highlight);
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(73,255,216,0.07);
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main);
}
.cookie-banner button.cookie-reject {
  background: #353B51;
  color: var(--color-accent);
  border: 1px solid var(--color-highlight);
}
.cookie-banner button.cookie-reject:hover {
  background: var(--color-highlight);
  color: var(--color-dark);
}
.cookie-banner button.cookie-settings {
  background: transparent;
  border: 1px solid var(--color-highlight);
  color: var(--color-highlight);
}
.cookie-banner button.cookie-settings:hover {
  background: var(--color-highlight);
  color: var(--color-primary);
}
@media (max-width: 620px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 14px 10px 16px 10px;
    font-size: 0.98em;
  }
  .cookie-banner .cookie-banner-buttons {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2600;
  background: rgba(19,23,33,0.93);
  transition: opacity .3s;
}
.cookie-modal.open {
  display: flex;
  animation: fadeInCookieModal 0.25s;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--color-bg-alt);
  padding: 36px 26px 32px 26px;
  border-radius: var(--radius-main);
  min-width: 310px;
  max-width: 98vw;
  color: var(--color-accent);
  box-shadow: 0 8px 32px 0 rgba(76,109,220,0.16);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h3 {
  color: var(--color-highlight);
  font-size: 1.28em;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 8px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
  padding: 7px 0;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--color-highlight);
  width: 18px; height: 18px;
  border-radius: 4px;
}
.cookie-category .cookie-essential {
  font-style: italic;
  color: var(--color-highlight);
}
.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--color-highlight);
  font-size: 1.6em;
  cursor: pointer;
  position: absolute;
  right: 24px;
  top: 22px;
  transition: color var(--transition-main);
}
.cookie-modal-close:hover {
  color: var(--color-accent);
}

/* ========== GENERAL STYLES ========== */
p { margin-bottom: 16px; }
strong { color: var(--color-highlight); font-weight: 700; }

ul ul, ol ol {
  margin-left: 20px;
}

hr {
  border: 0;
  border-top: 1px solid #282c34;
  margin: 26px 0;
}

::-webkit-scrollbar {
  width: 9px;
  background: #23293a;
}
::-webkit-scrollbar-thumb {
  background: #3c4154;
  border-radius: 9px;
}

/* ========== FORM & INPUTS (for future use) ========== */
input[type=text], input[type=email], textarea {
  background: #202226;
  border-radius: 8px;
  border: 1.5px solid var(--color-secondary);
  color: var(--color-accent);
  padding: 10px 12px;
  font-size: 1em;
  margin-bottom: 18px;
  min-width: 220px;
  transition: border var(--transition-main), color var(--transition-main);
}
input:focus, textarea:focus {
  border-color: var(--color-highlight);
  color: var(--color-highlight);
}
label { color: var(--color-accent); font-family: 'Montserrat', Arial, sans-serif; font-size: 1em; }

/* ========== ANIMATION & MICRO-INTERACTIONS ========== */
.btn-primary, .cookie-banner button, .main-nav a, .mobile-nav a {
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main), border-color var(--transition-main), transform .15s;
}
.card, .feature-item, .testimonial-card {
  transition: box-shadow var(--transition-main), border-color var(--transition-main), transform .13s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.97);
}

/* ========== FOCUS STYLES ========== */
:focus {
  outline: 2px solid var(--color-highlight);
  outline-offset: 2px;
}

/* ========== Z-INDEX LAYERS (header/menus/banners) ========== */
header { z-index: 100; }
.mobile-menu { z-index: 1500; }
.cookie-banner { z-index: 2500; }
.cookie-modal { z-index: 2600; }

/* ========== OVERLAP PREVENTION: Ensure all flex children have margin/gap ========== */
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.features ul li, .trendy ul li {
  margin-bottom: 20px;
}

/* ========== END OF CSS ========== */
