/* ====================
   Lumina Cash Beauty – style.css
   Monochrome Sophisticated Responsive Flexbox Theme
 ==================== */

/* ======= 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;
}
body {
  line-height: 1.5;
  font-feature-settings: "liga" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
}
*, *::before, *::after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img, svg {
  max-width: 100%;
  display: block;
}

/* ======= FONT FACE (assuming webfonts are provided) ======= */
@font-face {
  font-family: 'Playfair Display';
  src: local('Playfair Display'), local('PlayfairDisplay'), url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
}
@font-face {
  font-family: 'Inter';
  src: local('Inter'), url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
}

:root {
  --color-primary: #111215;
  --color-secondary: #44444a;
  --color-accent: #F9F5EF;
  --color-brand: #3B3663;
  --color-special: #D5A4CC;
  --color-muted: #f4f4f6;
  --color-white: #fff;
  --color-black: #111215;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', Arial, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 3px 16px 0 rgba(32,32,32,0.09);
}

body {
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

/* ======= CONTAINER & SECTIONS ======= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 10px;
  }
}

/* ======= HEADER & NAVIGATION ======= */
header {
  background: var(--color-white);
  box-shadow: 0 2px 8px 0 rgba(32,32,32,0.04);
  position: sticky;
  top: 0;
  z-index: 60;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: var(--font-body);
  color: var(--color-secondary);
  font-size: 16px;
  padding: 4px 0;
  position: relative;
  font-weight: 500;
  transition: color 0.18s;
}
header nav a:hover,
header nav a.active {
  color: var(--color-brand);
}
header nav a.cta {
  color: var(--color-white);
  background: var(--color-brand);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  margin-left: 10px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: var(--shadow);
  border: none;
}
header nav a.cta:hover,
header nav a.cta:focus {
  background: var(--color-special);
  color: var(--color-brand);
}
header img {
  height: 48px;
  width: auto;
  display: block;
  margin-right: 24px;
}

/* ======= MOBILE MENU BUTTON ======= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-brand);
  cursor: pointer;
  line-height: 1;
  z-index: 120;
  padding: 0 10px;
  margin-left: 12px;
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ======= MOBILE MENU OVERLAY ======= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 18, 21, 0.96);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.77,0,0.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  border: none;
  background: none;
  color: var(--color-white);
  font-size: 2.2rem;
  padding: 1.2rem 1rem 0.8rem 2rem;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 1003;
  align-self: flex-end;
}
.mobile-menu-close:hover {
  color: var(--color-special);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100vw;
  padding: 48px 28px 20px 44px;
}
.mobile-nav a {
  color: var(--color-white);
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  display: block;
  padding: 10px 0px 10px 0px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a.cta,
.mobile-nav a.active {
  background: var(--color-special);
  color: var(--color-brand);
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* ======= HERO SECTION ======= */
.hero {
  background: linear-gradient(108deg, #fff 78%, #f5f5f7 100%);
  padding: 0;
  margin-bottom: 56px;
}
.hero .container {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  text-align: left;
  max-width: 720px;
}
.hero h1 {
  font-family: var(--font-display);
  color: var(--color-black);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.14;
  margin-bottom: 0.3em;
}
.hero p {
  color: var(--color-secondary);
  font-size: 1.13rem;
}
.hero .cta {
  margin-top: 15px;
}
@media (max-width: 768px) {
  .hero .container {
    padding-top: 30px;
    padding-bottom: 26px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}

/* ======= HEADINGS ======= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-black);
  font-weight: 700;
  letter-spacing: 0.01em;
 }
h1 { font-size: 2.4rem; margin-bottom: 0.6em; }
h2 { font-size: 1.7rem; margin-bottom: 0.5em; }
h3 { font-size: 1.23rem; margin-bottom: 0.4em; }
h4 { font-size: 1.08rem; margin-bottom: 0.3em; }
@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
}

/* ======= TEXT & TYPOGRAPHY ======= */
p, li, td, th {
  font-size: 1rem;
  color: var(--color-secondary);
  line-height: 1.6;
}
strong {
  color: var(--color-black);
  font-weight: 600;
}
cite {
  font-size: 0.99rem;
  color: var(--color-brand);
  font-family: var(--font-body);
  display: inline-block;
  margin-top: 7px;
  letter-spacing: 0.01em;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  padding: 0;
}
ul, ol {
  margin-bottom: 0.9em;
  margin-left: 0.1em;
}
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 10px;
  word-break: break-word;
}
ul li img, ol li img {
  flex-shrink: 0;
  height: 28px;
  width: 28px;
  margin-right: 9px;
  filter: grayscale(97%);
  opacity: 0.72;
}
@media (max-width: 768px) {
  ul li img, ol li img {
    height: 22px; width: 22px;
  }
}

/* ======= FLEX SPACING & LAYOUTS ======= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  transition: box-shadow 0.22s, border-color 0.2s;
  border: 1px solid #eee;
}
.card:hover {
  box-shadow: 0 6px 26px 0 rgba(32,32,32,0.16);
  border-color: var(--color-special);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .card-container, .content-grid, .text-image-section {
    flex-direction: column !important;
    gap: 14px !important;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 442px;
  word-break: break-word;
  border-left: 5px solid var(--color-brand);
  transition: box-shadow 0.18s, border-color 0.15s;
}
.testimonial-card p {
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 1.07rem;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px 0 rgba(32, 32, 32, 0.15);
  border-color: var(--color-special);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ======= BLOG TEASERS & CATEGORIES ======= */
.blog-teaser {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-radius: var(--radius-sm);
  padding: 20px 18px 20px 22px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  min-width: 235px;
  max-width: 410px;
  border-left: 4px solid var(--color-brand);
  transition: box-shadow 0.17s, border-color 0.15s;
}
.blog-teaser h3 { font-family: var(--font-display); color: var(--color-brand); font-size: 1.19rem; }
.blog-teaser a {
  color: var(--color-special);
  font-weight: 600;
  margin-top: 10px;
  font-family: var(--font-body);
  display: inline-block;
  transition: color 0.16s;
}
.blog-teaser a:hover {
  color: var(--color-brand);
}
.blog-teaser:hover {
  box-shadow: 0 8px 32px 0 rgba(32, 32, 32, 0.13);
  border-color: var(--color-special);
}
.blog-categories {
  font-size: 0.98rem;
  color: var(--color-secondary);
  margin-top: 12px;
  padding-left: 8px;
}

/* ======= TABLES ======= */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
  font-size: 0.99rem;
}
table th, table td {
  padding: 15px 13px;
  text-align: left;
  color: var(--color-secondary);
}
table th {
  background: #f8f8fa;
  font-family: var(--font-display);
  color: var(--color-black);
  font-size: 1.04rem;
  font-weight: 700;
}
table tr {
  border-bottom: 1px solid #eee;
}
table tr:last-child {
  border-bottom: none;
}
table tbody tr:hover {
  background: #f3f1f5;
  transition: background 0.16s;
}
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  th, td {
    padding: 10px 8px;
  }
  thead { display: none; }
  tr {
    margin-bottom: 10px;
    border-bottom: 2px solid #eee;
  }
}

/* ======= CTA BUTTONS & INTERACTIONS ======= */
.cta, .btn, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  background: var(--color-brand);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 30px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: none;
  margin-top: 10px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.23s, color 0.23s, box-shadow 0.21s, transform 0.16s;
}
.cta:hover, .btn:hover, button:hover, input[type="submit"]:hover, .cta:focus, .btn:focus {
  background: var(--color-special);
  color: var(--color-brand);
  box-shadow: 0 8px 32px 0 rgba(32,32,32,0.15);
  transform: translateY(-1px) scale(1.03);
}


/* ======= FOOTER ======= */
footer {
  background: var(--color-black);
  color: var(--color-accent);
  width: 100%;
  margin-top: 60px;
  box-shadow: 0 -3px 20px #00000010;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 42px 20px 30px 20px;
  min-height: 168px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 3px;
  transition: color 0.17s;
  font-weight: 500;
}
footer nav a:hover {
  color: var(--color-special);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.99rem;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.footer-social a {
  display: inline-block;
  transition: opacity 0.2s, transform 0.15s;
  opacity: 0.84;
}
.footer-social a:hover {
  opacity: 1;
  transform: scale(1.08);
}
footer img {
  height: 38px;
  width: auto;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
  }
}

/* ======= SPACING BETWEEN CARDS/SECTIONS ======= */
section, .section, .card, .testimonial-card, .blog-teaser, .feature-item {
  margin-bottom: 20px;
}
section:last-child, .section:last-child {
  margin-bottom: 0;
}

/* ======= RESPONSIVE GENERAL ======= */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100vw;
  }
  h1, h2, h3, h4, h5 {
    word-break: break-word;
  }
  .testimonial-card, .blog-teaser {
    max-width: 98vw;
    min-width: 140px;
    padding: 15px 7px 15px 13px;
  }
  footer .container {
    padding: 26px 8px 18px 8px;
  }
}

/* ======= COOKIE CONSENT BANNER ======= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(34,34,37,0.985);
  color: var(--color-accent);
  z-index: 1400;
  width: 100vw;
  box-shadow: 0 -2px 22px rgba(32,32,32,0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 23px 18px 23px 25px;
  gap: 32px;
  animation: cookie-slidein 0.6s cubic-bezier(.45,1.6,.4,1) both;
  font-family: var(--font-body);
}
@keyframes cookie-slidein {
  0% { transform: translateY(120%); }
  80% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
.cookie-banner.hide {
  display: none !important;
}
.cookie-banner .cookie-banner-content {
  flex: 1 1 0;
  font-size: 1rem;
  max-width: 680px;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner .cookie-btn {
  background: var(--color-brand);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  min-width: 90px;
  cursor: pointer;
  box-shadow: 0 3px 8px #22222220;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
}
.cookie-banner .cookie-btn:hover {
  background: var(--color-special);
  color: var(--color-brand);
}
.cookie-banner .cookie-btn.settings {
  background: var(--color-special);
  color: var(--color-brand);
}
.cookie-banner .cookie-btn.settings:hover {
  background: var(--color-brand);
  color: var(--color-accent);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 15px 6px 15px 10px;
  }
  .cookie-banner .cookie-banner-buttons {
    flex-direction: column;
    gap: 7px;
    width: 100%;
    align-items: flex-start;
  }
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90vw;
  max-width: 400px;
  background: var(--color-accent);
  color: var(--color-black);
  border-radius: var(--radius);
  box-shadow: 0 10px 36px 0 rgba(32,32,32,0.18);
  z-index: 2000;
  transform: translate(-50%, -53%) scale(0.98);
  opacity: 0;
  transition: opacity 0.3s, transform 0.35s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  padding: 40px 30px 20px 30px;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
  animation: modal-bouncein 0.56s cubic-bezier(.29,2.1,.2,1) both;
}
@keyframes modal-bouncein {
  0% { opacity: 0; transform: translate(-50%, -65%) scale(0.90); }
  80% { transform: translate(-50%, -50%) scale(1.06); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h2 {
  font-family: var(--font-display);
  color: var(--color-black);
  font-size: 1.23rem;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-family: var(--font-body);
  color: var(--color-secondary);
  font-size: 1rem;
  flex: 1;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--color-brand);
  margin-right: 10px;
}
.cookie-modal .cookie-category.essential label {
  color: var(--color-brand);
  font-weight: 700;
}
.cookie-modal .modal-bottom {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 28px;
}
.cookie-modal .modal-btn {
  background: var(--color-brand);
  color: var(--color-accent);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .modal-btn:hover {
  background: var(--color-special);
  color: var(--color-brand);
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px;
  right: 23px;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 10;
}
.cookie-modal .modal-close:hover {
  color: var(--color-brand);
}

/* ======= FORMS ======= */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 13px;
  border: 1px solid #C2C2C4;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-black);
  outline: none;
  margin-bottom: 13px;
  width: 100%;
  max-width: 100%;
  transition: border-color 0.19s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-brand);
  box-shadow: 0 2px 12px 0 rgba(59, 54, 99, 0.19);
}
label {
  font-family: var(--font-body);
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 3px;
  display: block;
}

/* ======= UTILITY CLASSES ======= */
.hide {
  display: none !important;
}
.text-center {
  text-align: center !important;
}
.flex-center {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
.gap-20 {
  gap: 20px !important;
}

/* ======= MICRO-INTERACTIONS ======= */
a, button, .cta, .cookie-btn, .modal-btn {
  transition: background 0.18s, color 0.16s, box-shadow 0.15s, transform 0.11s;
}

/* ======= SELECTION & FOCUS STATES ======= */
::selection {
  background: var(--color-special);
  color: var(--color-black);
}
a:focus, button:focus, .cta:focus {
  outline: 2px dashed var(--color-special);
  outline-offset: 3px;
}

/* ======= SPECIAL CASES ======= */
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column !important;
    gap: 14px !important;
  }
}

/* ======= Z-INDEX MANAGEMENT ======= */
header { z-index: 60; }
.mobile-menu { z-index: 1001; }
.cookie-banner { z-index: 1400; }
.cookie-modal { z-index: 2000; }

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