/* =============================================
    GLAMOUR COVE – MINIMALIST BRAND CSS
    Author: Senior CSS Developer
    Mobile-first, Flexbox-only, No CSS Grid
   ==============================================
*/

/*========================*
   0. CSS RESET & BASE
 *========================*/
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  touch-action: manipulation;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #2B2E4A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  color: #2B2E4A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.18;
}
h1 { font-size: 2.3rem; margin-bottom: 16px; }
h2 { font-size: 1.8rem; margin-bottom: 14px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; font-weight: 600; }
p, li, dt, dd {
  font-size: 1rem;
  color: #2B2E4A;
}
p { margin-bottom: 12px; }
strong { font-weight: 700; }

/*=======================*
  1. LAYOUT STRUCTURE
 *=======================*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  align-items: flex-start;
}

/*=======================*
  2. SECTIONS & FLEXBOX
 *=======================*/
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(43,46,74,0.06);
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 250px;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(43,46,74,0.10);
}
.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: 20px;
  margin-bottom: 20px;
  background: #F6F6F6;
  border-radius: 15px;
  box-shadow: 0 1.5px 9px 0 rgba(43,46,74,0.05);
  max-width: 530px;
}
.testimonial-card .testimonial-text {
  font-size: 1.1rem;
  color: #22223B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.testimonial-card .testimonial-author {
  font-size: 1rem;
  color: #2B2E4A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  opacity: 0.85;
}
.testimonial-card .testimonial-stars {
  color: #F3A183;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*============================*
  3. NAVIGATION (DESKTOP/MOBILE)
 *============================*/
header {
  background: #fff;
  box-shadow: 0 1px 9px 0 rgba(43,46,74,0.05);
  position: sticky;
  top: 0;
  z-index: 98;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 14px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.05em;
  background: #fff;
}
.main-nav a {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 8px;
  border-radius: 8px;
  transition: background 0.17s cubic-bezier(.4,.14,.7,1);
  color: #2B2E4A;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6F6F6;
  outline: none;
}

.primary-cta {
  background: #2B2E4A;
  color: #fff !important;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 10px 28px;
  margin-left: 12px;
  box-shadow: 0 1px 8px 0 rgba(43,46,74,0.08);
  letter-spacing: 0.03em;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.17s, transform 0.14s;
  border: none;
  outline: none;
}
.primary-cta:hover, .primary-cta:focus {
  background: #F3A183;
  color: #2B2E4A !important;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 22px 0 rgba(243,161,131,0.10);
}

/* Responsive logo height */
.main-nav img {
  height: 36px;
  width: auto;
  margin-right: 12px;
}

/*============================*
 4. MOBILE MENU
 *============================*/
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  color: #2B2E4A;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(43,46,74,0.03);
  cursor: pointer;
  z-index: 105;
  transition: background 0.15s, color 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F6F6F6;
}

.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 5px 54px 0 rgba(43,46,74,0.08);
  padding: 36px 24px 24px 24px;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(.4,.14,.7,1);
  z-index: 120;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #fff;
  border: none;
  font-size: 2rem;
  color: #2B2E4A;
  padding: 4px 10px;
  margin-bottom: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.17s;
  z-index: 121;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F6F6F6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  padding-top: 6px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.17rem;
  font-weight: 600;
  color: #2B2E4A;
  border-radius: 8px;
  padding: 7px 8px;
  transition: background 0.13s;
  width: 100%;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F6F6F6;
}

/* Show burger and mobile menu only on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 12px;
    right: 16px;
  }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/*=======================*
  5. FEATURES & CARDS
 *=======================*/
/* Home Features as FLEX Grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 10px;
}
.feature-grid li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1.5px 12px 0 rgba(43,46,74,0.05);
  flex: 1 1 min(260px,100%);
  min-width: 220px;
  max-width: 320px;
  padding: 26px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.21s, transform 0.13s;
}
.feature-grid li:hover {
  box-shadow: 0 8px 32px 0 rgba(243,161,131,0.10);
  transform: translateY(-3px) scale(1.025);
}
.feature-grid img {
  height: 38px;
  width: 38px;
}

/* Data Table (Porównanie section) */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: 18px;
  box-shadow: 0 2px 18px 0 rgba(43,46,74,0.05);
}
thead {
  background: #F6F6F6;
}
thead th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 12px 10px;
  text-align: left;
  color: #2B2E4A;
}
tbody td, tbody th {
  font-size: 1rem;
  padding: 14px 10px;
  color: #22223B;
  border-bottom: 1px solid #F6F6F6;
  vertical-align: top;
}
tbody tr:last-child td {
  border-bottom: none;
}

/*=======================*
  6. FORMS & CONTACT (minimal)
 *=======================*/
dt {
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 4px;
}
dd {
  margin-bottom: 15px;
  margin-left: 0;
}

dl {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/*=======================*
  7. FOOTER
 *=======================*/
footer {
  background: #fff;
  border-top: 1.5px solid #F6F6F6;
  padding: 36px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #2B2E4A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  opacity: 0.83;
  padding: 5px 9px;
  border-radius: 7px;
  transition: background 0.12s, color 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #F6F6F6;
  opacity: 1;
}
.footer-info {
  color: #9292b0;
  text-align: center;
  line-height: 1.7;
  font-size: 0.97rem;
}

/*===========================*
  8. BUTTONS, LINKS, MICROS
 *===========================*/
button, .primary-cta {
  cursor: pointer;
}
button:focus, .primary-cta:focus { outline: none; }

/*========================*
  9. COOKIE CONSENT BANNER
 *========================*/
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #F6F6F6;
  color: #22223B;
  box-shadow: 0 -3px 30px 0 rgba(43,46,74,0.13);
  padding: 22px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  z-index: 200;
  font-size: 1rem;
  transition: transform 0.29s cubic-bezier(.4,.14,.7,1);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-description {
  color: #2B2E4A;
  font-size: 1rem;
  line-height: 1.5;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-consent-btn,
.cookie-settings-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.15s, border 0.11s;
  outline: none;
}
.cookie-consent-btn {
  background: #2B2E4A;
  color: #fff;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  background: #F3A183;
  color: #2B2E4A;
}
.cookie-settings-btn {
  background: #fff;
  color: #2B2E4A;
  border: 1px solid #2B2E4A;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #2B2E4A;
  color: #fff;
  border: 1px solid #2B2E4A;
}

/* Cookie Modal Overlay */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(43,46,74,0.23);
  z-index: 201;
  pointer-events: auto;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
.cookie-modal {
  background: #fff;
  color: #2B2E4A;
  border-radius: 18px;
  padding: 42px 30px 32px 30px;
  box-shadow: 0 12px 56px 0 rgba(43,46,74,0.14);
  min-width: 340px;
  max-width: 94vw;
  min-height: 100px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 211;
  position: relative;
  animation: modal-bounce-in .46s cubic-bezier(.4,.14,.7,1);
}
@keyframes modal-bounce-in {
  0% { transform: scale(0.96) translateY(18px); opacity: 0.4; }
  50% { transform: scale(1.04) translateY(-8px); opacity: 0.85; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.5rem;
  background: #fff;
  border: none;
  border-radius: 6px;
  color: #2B2E4A;
  cursor: pointer;
  padding: 2px 8px;
  z-index: 212;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #F6F6F6;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 500;
  color: #2B2E4A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-category input[type=checkbox] {
  accent-color: #F3A183;
  width: 22px;
  height: 22px;
  margin: 0 5px 0 0;
}
.cookie-category.essential label {
  opacity: 0.63;
  color: #22223B;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* Minimalist switches example for a11y */ 
.cookie-category-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
}

/* Accessibility focus style */
:focus-visible { outline: 2px solid #F3A183; outline-offset: 1.5px; }

/*==========================*
  10. UTILITIES & HELPERS
 *==========================*/
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.mt-60 { margin-top: 60px; }
.mb-60 { margin-bottom: 60px; }
.text-center { text-align: center !important; }
.hidden { display: none !important; }

/*==========================*
  11. RESPONSIVE QUERIES
 *==========================*/
@media (max-width: 960px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container { padding: 0 16px; }
  .feature-grid li { min-width: 160px; padding: 18px 13px 13px 13px; }
  .card { padding: 18px 11px; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  section, .section { margin-bottom: 36px; padding: 24px 4px; }
  .content-wrapper { gap: 18px; }
  .feature-grid { gap: 16px; }
  table thead th, table tbody td { padding: 10px 5px; }
  .testimonial-card { max-width: 100%; padding: 14px 8px; }
  .main-nav img { height: 30px; margin-right: 4px; }
}
@media (max-width: 652px) {
  .feature-grid { flex-direction: column; align-items: stretch; }
  .feature-grid li { max-width: 100%; min-width: 0; }
}
@media (max-width: 550px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card { padding: 7px 3px; }
  .cookie-modal { min-width: 98vw; padding: 22px 3vw 15px 3vw; }
}

/* ENSURE FLEX ON ALL CONTAINERS */
/* Already covered: .card-container, .feature-grid, .content-grid, .text-image-section, .testimonial-card, .main-nav, .mobile-nav, .footer-nav */

/*===========================*
  12. PRINT (optional minimal)
 *===========================*/
@media print {
  header, nav, .cookie-consent, .cookie-modal, .mobile-menu { display: none !important; }
  body, .container { background: #fff; color: #22223B; }
}

/*===========================*
  13. SELECTION & SMOOTH SCROLL
 *===========================*/
::selection { background: #F3A183; color: #fff; }
html { scroll-behavior: smooth; }

/* ===========================*
   14. MINIMALIST SCROLLBAR
 *===========================*/
::-webkit-scrollbar {
  width: 10px;
  background: #F6F6F6;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #E6E6EB;
  border-radius: 8px;
}

/* ===========================*
   15. ACCESSIBILITY CONTRAST (Testimonials/reviews)
 *===========================*/
.testimonial-text, .testimonial-author, .testimonial-stars {
  color: #2B2E4A;
}

/* ===========================*
   16. MISCELLANEOUS
 *===========================*/
hr {
  border: none;
  border-top: 1.5px solid #F6F6F6;
  margin: 24px 0 18px;
}

/* =============================*
   END (No grid/columns used)
 *=============================*/
