/* ===========================================================
 * GLINT VENUE AI — "luxury_premium" CSS (Flexbox Only)
 * Sophisticated, modern, luxury design with gold, deep blue, aqua accents
 * Responsive, mobile-first, with burger nav & cookie banner
 * =========================================================== */

/* -----------------------------------------------------------
   CSS Reset & Normalize
----------------------------------------------------------- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
html, body { height: 100%; }
body { min-height: 100%; line-height: 1.5; background: #f6f7fa; }
img, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding-left: 1.2em; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; margin: 0 0 12px; line-height: 1.13; }
button, input, textarea, select { font: inherit; background: none; border: none; outline: none; }
a { color: inherit; text-decoration: none; transition: color 0.22s; }

/* Remove tap highlight on mobile */
a, button { -webkit-tap-highlight-color: transparent; }

/* -----------------------------------------------------------
   CSS Variables for Brand Palette
----------------------------------------------------------- */
:root {
  --primary: #063E57;
  --secondary: #1494A4;
  --accent: #FFFFFF;
  --gold: #BFA15A;
  --gold-hover: #a1873c;
  --background: #f6f7fa;
  --background-dark: #e9ecf0;
  --surface: #fff;
  --text: #1a222f;
  --text-light: #fff;
  --text-muted: #65859B;
  --shadow-medium: 0 2px 28px 0 rgba(6,62,87,0.07), 0 1.5px 4px 0 rgba(30,28,49,0.10);
  --radius: 18px;
  --radius-sm: 10px;
  --transition: 0.25s cubic-bezier(.51,.03,.64,.28);
}

/* Custom fonts are expected to be loaded in the HTML <head> or via import */
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--background);
  letter-spacing: 0.02em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 1.8rem; margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
p, ul, ol, li, address { font-size: 1rem; color: var(--text); margin-bottom: 8px; }
section ul, section ol { margin-bottom: 16px; }

/* Emphasize inline elements */
strong, b { font-weight: 700; color: var(--primary); }

/* -----------------------------------------------------------
   Layout Containers (Flexbox Only!)
----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
  padding: 40px 28px;
  margin-bottom: 60px;
}

/**** SPACING & ALIGNMENT PATTERNS (MANDATORY) ****/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { 
  margin-bottom: 20px;
  position: relative; 
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-medium);
  padding: 28px 24px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--background-dark);
  border-left: 5px solid var(--gold);
  box-shadow: 0 6px 30px rgba(20,28,45,0.09);
  border-radius: var(--radius-sm);
  margin: 32px 0 16px 0;
  font-size: 1.08rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/**** END Mandatory Flex Layouts ****/

/* -----------------------------------------------------------
   HEADER & NAVIGATION
----------------------------------------------------------- */
header {
  width: 100%;
  background: var(--surface);
  box-shadow: 0 2px 12px 0 rgba(16,30,52,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
  padding: 0 36px 0 24px;
  min-height: 70px;
}
header img {
  max-height: 50px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  color: var(--primary);
  transition: color 0.18s, border-bottom 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}
.cta-btn {
  font-family: 'Montserrat', sans-serif;
  background: var(--gold);
  color: var(--accent);
  border-radius: 32px;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 11px 32px;
  margin-left: 24px;
  margin-right: 8px;
  transition: box-shadow var(--transition), background var(--transition);
  box-shadow: 0 3px 22px 0 rgba(191,161,90,0.13);
  display: inline-block;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--gold-hover);
  color: var(--accent);
  box-shadow: 0 7px 36px 0 rgba(191,161,90,0.23);
}
.mini-cta {
  text-decoration: underline;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.mini-cta:hover { color: var(--gold); }

/* -----------------------------------------------------------
   MOBILE MENU (Burger Nav)
----------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  margin-left: 16px;
  z-index: 202;
  padding: 8px 12px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.22s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(20,148,164,0.09);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6,62,87,0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.45,.44,.08,1.01);
  z-index: 9999;
  padding: 0 0 0 0;
  min-width: 250px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--gold);
  background: none;
  border: none;
  margin: 34px 0 18px 26px;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover { color: var(--accent);}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 16px 0 0 42px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  padding: 6px 0 6px 0;
  border-left: 3px solid transparent;
  transition: color 0.18s, border-left 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold);
  border-left: 3px solid var(--gold);
}
@media (max-width: 1040px) {
  .main-nav, .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}

@media (min-width: 1041px) {
  .mobile-menu { display: none!important; }
}
/* -----------------------------------------------------------
   HERO & GENERAL SECTION STYLES
----------------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
}
section:nth-child(even) {
  /* Slight alternate surface effect */
  background: rgba(245,248,250,0.42);
}
section .container { padding: 0 14px; }

/* -----------------------------------------------------------
   FEATURE & SERVICE GRIDS (FLEX MODE)
----------------------------------------------------------- */
.feature-grid, .service-cards, .service-list, .solution-grid, .insights-teasers, .featured-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 26px 0 18px 0;
  justify-content: space-between;
}
.feature-grid > div, .solution-grid > div, .service-cards > div, .service-list > div, .insights-teasers > article, .featured-articles > article {
  flex: 1 1 252px;
  min-width: 215px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-medium);
  padding: 28px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: box-shadow 0.23s, transform 0.26s;
  border-left: 3px solid var(--gold);
  cursor: pointer;
}
.feature-grid > div:hover, .solution-grid > div:hover, .service-cards > div:hover, .service-list > div:hover, .insights-teasers > article:hover,
.featured-articles > article:hover {
  box-shadow: 0 7px 46px 0 rgba(20,148,164,0.13);
  transform: translateY(-4px) scale(1.015);
  border-left-color: var(--secondary);
}
.feature-grid img, .solution-grid img {
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
}
.service-price{
  color: var(--gold);
  font-weight: 700;
  margin-top: 11px;
  font-size: 1.05em;
}

/* Insights teasers / featured articles */
.insights-teasers > article, .featured-articles > article {
  box-shadow: 0 3px 16px rgba(6,62,87,0.09);
  min-height: 165px;
  padding: 22px 18px;
  border-left: 3px solid var(--secondary);
  margin-bottom: 0;
}
.insights-teasers a, .featured-articles a {
  color: var(--secondary);
  font-weight: 700;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.17s;
}
.insights-teasers a:hover, .featured-articles a:hover { color: var(--gold); }

/* Newsletter/Next Steps */
.next-steps {
  background: var(--background-dark);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 26px 0 18px 0;
  box-shadow: 0 2px 18px 0 rgba(6,62,87,0.07);
}

/* -----------------------------------------------------------
   GENERAL BUTTONS
----------------------------------------------------------- */
button, input[type="submit"], .cta-btn {
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
}
button:disabled { opacity: 0.62; cursor: not-allowed; }

/* -----------------------------------------------------------
  CARDS
----------------------------------------------------------- */
.card, .testimonial-card, .next-steps {
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-medium);
}

/* -----------------------------------------------------------
   TESTIMONIALS + EXTRA CARD CONTRAST
----------------------------------------------------------- */
.testimonial-card {
  color: #23303d;
  background: var(--background-dark);
  border-left: 5px solid var(--gold);
  font-style: italic;
  font-size: 1.13em;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  font-style: normal;
  font-size: 1em;
  color: var(--primary);
  font-weight: 700;
  margin-left: 18px;
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 38px 0 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer img {
  max-height: 36px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--gold);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--secondary); }
footer p { font-size: 0.97em; color: #e5e8ec; margin: 0; }

/* -----------------------------------------------------------
   LISTS & INFO STYLES
----------------------------------------------------------- */
ul, ol {
  margin: 0 0 8px 26px;
  padding-left: 16px;
}
ul li, ol li {
  margin-bottom: 6px;
  line-height: 1.7;
  color: var(--primary);
  font-size: 1.05em;
}
ul li::marker, ol li::marker { color: var(--gold); }

address {
  font-style: normal;
  line-height: 1.6;
  font-size: 1.02em;
  color: var(--text-muted);
  margin: 2px 0 0 0;
}

/* -----------------------------------------------------------
   RESPONSIVE DESIGN (Mobile-first, then up)
----------------------------------------------------------- */
@media (max-width: 900px) {
  section, .section, .text-section {
    padding: 26px 8px;
  }
  .feature-grid, .service-cards, .solution-grid, .service-list { gap: 16px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper, .text-section { gap: 14px; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.18rem; }
  .section, section, .text-section {
    padding: 22px 5px 22px 5px;
    margin-bottom: 35px;
  }
  .feature-grid, .service-cards, .solution-grid, .insights-teasers, .service-list, .featured-articles {
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
  }
  .feature-grid > div, .solution-grid > div, .service-cards > div, .service-list > div,
  .insights-teasers > article, .featured-articles > article {
    min-width: 0;
    width: 100%;
    max-width: 98vw;
    padding: 18px 10px;
  }
  .main-nav, .cta-btn { display: none !important; }
  .mobile-menu-toggle { display: block; }
  header {
    flex-direction: row;
    padding: 0 12px 0 8px;
    min-height: 62px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.04rem; }
  .footer-nav { gap: 8px; font-size: 0.93em; }
  footer { padding: 23px 0 12px 0; }
}

/* Text-image section responsive */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* -----------------------------------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
----------------------------------------------------------- */
.card, .testimonial-card, .next-steps, .feature-grid > div, .solution-grid > div, .service-cards > div, .service-list > div,
.insights-teasers > article, .featured-articles > article {
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.26s;
}
.card:hover, .feature-grid > div:hover, .service-cards > div:hover,.service-list > div:hover, .solution-grid > div:hover {
  box-shadow: 0 10px 40px 0 rgba(20, 148, 164, 0.10);
  border-left-color: var(--gold);
  transform: translateY(-2px) scale(1.012);
}
.testimonial-card:active {
  box-shadow: 0 2px 6px 0 rgba(20,148,164,0.11);
  border-left-color: var(--secondary);
}

/* -----------------------------------------------------------
   COOKIE CONSENT BANNER
----------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  box-shadow: 0 -6px 20px 0 rgba(30,51,68,0.06);
  border-top: 2px solid var(--gold);
  z-index: 99998;
  padding: 24px 32px 20px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 1.02rem;
  flex-wrap: wrap;
  animation: cookieBannerIn 0.58s cubic-bezier(0.43,0.4,0.15,1.02) forwards;
}
@keyframes cookieBannerIn {
  from { transform: translateY(200px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner button {
  margin-left: 10px;
  margin-top: 5px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  border-radius: 20px;
  padding: 7px 19px;
  background: var(--gold);
  color: var(--accent);
  font-weight: 700;
  border: none;
  transition: background 0.17s, box-shadow 0.17s;
  box-shadow: 0 1.5px 12px 0 rgba(191,161,90,0.07);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--gold-hover);
}
.cookie-banner .settings-btn {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .settings-btn:hover {
  background: #0e7a92;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px 14px 8px;
    gap: 8px;
    font-size: 0.98em;
  }
  .cookie-banner button { width: 100%; margin: 4px 0; }
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(6,62,87,0.81);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.38s cubic-bezier(.49,.44,.23,1.01) forwards;
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 38px 32px 26px 32px;
  box-shadow: 0 10px 48px 0 rgba(6,62,87,0.19);
  color: var(--primary);
  width: 98vw; max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieModalContentIn 0.26s cubic-bezier(.56,.53,.18,1.09) 0.02s backwards;
}
@keyframes cookieModalContentIn {
  from { transform: translateY(80px) scale(.975); opacity:0; }
  to { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal-content h3 { font-size: 1.24em; margin-bottom: 10px; }
.cookie-category {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  accent-color: var(--gold);
  width: 1.13em; height: 1.13em;
  margin-right: 7px;
}
.cookie-modal-content .close-cookie-modal {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  font-size: 1.5em;
  color: var(--gold);
  cursor: pointer;
  z-index: 1;
}
.cookie-modal-content .close-cookie-modal:hover {
  color: var(--secondary);
}
.cookie-modal-actions {
  display: flex; gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.cookie-modal-actions button {
  background: var(--gold);
  color: var(--accent);
  border-radius: 18px;
  padding: 9px 22px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  border: none;
  font-size: 1.05em;
  transition: background 0.17s;
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus { background: var(--gold-hover); }

@media (max-width: 520px) {
  .cookie-modal-content {
    padding: 22px 8px 18px 8px; max-width: 97vw;
  }
}

/* -----------------------------------------------------------
   GOLD ACCENTS, DETAIL SHADOWS, BORDERS
----------------------------------------------------------- */
hr {
  border: none;
  border-top: 2px solid var(--gold);
  margin: 18px 0;
}

/* -----------------------------------------------------------
   FORMS (if present in future)
----------------------------------------------------------- */
input, textarea, select {
  border-radius: 8px;
  border: 1.5px solid #e8ecef;
  padding: 11px 13px;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 14px;
  width: 100%;
  background: #fafbfc;
  transition: border 0.18s;
}
input:focus, textarea:focus { border-color: var(--secondary); }

/* -----------------------------------------------------------
   MISC (Accessibility, Mark, Pre)
----------------------------------------------------------- */
mark {
  background: var(--gold);
  color: var(--accent);
  padding: 3px 5px;
  border-radius: 4px;
}
pre {
  background: #22282f;
  color: var(--gold);
  padding: 18px 14px;
  border-radius: 7px;
  font-size: 0.99em;
  overflow-x: auto;
}

/* -----------------------------------------------------------
   Z-INDEX SANITY
----------------------------------------------------------- */
header { z-index: 100; }
.mobile-menu { z-index: 9999; }
.cookie-banner, .cookie-modal { z-index: 99999; }

/* -----------------------------------------------------------
   PRINT OPTIMIZATION
----------------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  section, .container, main { background: #fff !important; color: #111 !important; }
}
