/*
Theme Name: Mat4luX
Theme URI: https://mat4lux.lu
Author: Mat4luX
Description: Theme lightweight and bespoke for Mat4luX virtual 3D tours.
Version: 1.1.0
Text Domain: mat4lux
*/

:root {
  --mat-ink: #0d1728;
  --mat-blue: #0560bb;
  --mat-cyan: #36abd2;
  --mat-cyan-light: #6ad5ef;
  --mat-paper: #f7fafc;
  --mat-line: #dbe5ec;
  --mat-text: #1e2a39;
  --mat-muted: #637083;
  --mat-radius: 18px;
  --mat-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--mat-text);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--mat-blue); }
a:hover { color: #034b96; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto; height: auto; width: auto; margin: 12px; padding: 10px 14px; background: #fff; z-index: 100000; }

.mat-site-header { background: var(--mat-ink); color: #fff; position: relative; z-index: 5; }
/* Mobile first: the small screen is the default layout. */
.mat-header-inner { max-width: var(--mat-max); margin: 0 auto; padding: 14px 20px; display: grid; gap: 12px; }
.mat-brand { display: flex; align-items: center; flex: 0 0 auto; }
.mat-brand img { width: 150px; max-height: 46px; object-fit: contain; object-position: left center; }
.mat-brand .custom-logo-link { display: block; line-height: 0; }
.mat-brand .custom-logo { width: 150px; height: auto; max-height: 46px; }
.mat-menu ul { list-style: none; padding: 0 0 3px; margin: 0; display: flex; align-items: center; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.mat-menu ul::-webkit-scrollbar { display: none; }
.mat-menu a { color: #e7f4fb; text-decoration: none; font-size: 14px; font-weight: 650; letter-spacing: .01em; }
.mat-menu a:hover, .mat-menu .current-menu-item > a { color: var(--mat-cyan-light); }
.mat-menu .menu-item:last-child a { display: inline-block; background: var(--mat-cyan); color: var(--mat-ink); padding: 10px 15px; border-radius: 999px; }

.mat-main { min-height: 58vh; }
.mat-main > article { max-width: var(--mat-max); margin: 0 auto; padding: 42px 20px 62px; }
.entry-title { color: var(--mat-ink); font-size: clamp(2rem, 5vw, 3.55rem); line-height: 1.08; letter-spacing: -.04em; margin: 0 0 24px; }
.entry-content > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--mat-max); }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { color: var(--mat-ink); font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.15; letter-spacing: -.03em; margin-top: 2.2em; }
.entry-content h3 { color: var(--mat-ink); font-size: 1.25rem; line-height: 1.25; }
.entry-content p { margin-bottom: 1.15em; }
.wp-block-button__link { background: var(--mat-cyan); color: var(--mat-ink); border-radius: 999px; padding: .82em 1.28em; font-weight: 750; }
.wp-block-button__link:hover { background: #80e2f5; color: var(--mat-ink); }
.wp-block-button.is-style-outline .wp-block-button__link { color: var(--mat-blue); border-color: var(--mat-blue); background: transparent; }
.wp-block-group.is-style-mat-dark, .mat-dark-section { background: var(--mat-ink); color: #effaff; border-radius: var(--mat-radius); padding: clamp(28px, 5vw, 68px); }
.wp-block-group.is-style-mat-dark h1, .wp-block-group.is-style-mat-dark h2, .wp-block-group.is-style-mat-dark h3 { color: #fff; }
.wp-block-group.is-style-mat-soft, .mat-soft-section { background: var(--mat-paper); border: 1px solid var(--mat-line); border-radius: var(--mat-radius); padding: clamp(24px, 4vw, 48px); }
.wp-block-columns { gap: clamp(24px, 4vw, 62px); }
.wp-block-cover { border-radius: var(--mat-radius); overflow: hidden; }
.wp-block-quote { border-left: 4px solid var(--mat-cyan); padding-left: 22px; font-size: 1.22rem; color: var(--mat-ink); }

/* Reusable homepage sections, written in semantic HTML blocks. */
.mat-hero { position: relative; overflow: hidden; padding: clamp(42px, 10vw, 112px) clamp(22px, 7vw, 96px); border-radius: var(--mat-radius); background: linear-gradient(125deg, #091321 0%, #0d2743 56%, #075c95 140%); color: #fff; }
.mat-hero::after { content: ""; position: absolute; width: 390px; height: 390px; right: -210px; top: -175px; border-radius: 50%; background: rgba(106,213,239,.19); filter: blur(3px); }
.mat-hero > * { position: relative; z-index: 1; }
.mat-kicker { margin: 0 0 15px; color: var(--mat-cyan-light); font-weight: 760; font-size: .76rem; letter-spacing: .11em; text-transform: uppercase; }
.mat-hero h1 { max-width: 850px; margin: 0; color: #fff; font-size: clamp(2.25rem, 9vw, 4.65rem); line-height: 1.02; letter-spacing: -.055em; }
.mat-hero-text { max-width: 680px; margin: 22px 0 0; color: #e2f3fa; font-size: clamp(1.03rem, 3.9vw, 1.22rem); line-height: 1.55; }
.mat-hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 30px; }
.mat-button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 13px 20px; border: 1px solid transparent; border-radius: 999px; color: var(--mat-ink); background: var(--mat-cyan-light); font-weight: 780; text-decoration: none; text-align: center; }
.mat-button:hover { color: var(--mat-ink); background: #a5edfb; }
.mat-button--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.55); }
.mat-button--ghost:hover { color: #fff; background: rgba(255,255,255,.13); }

.mat-site-footer { background: #09111e; color: #d5e0e8; }
.mat-footer-inner { max-width: var(--mat-max); margin: 0 auto; padding: 42px 20px 20px; display: grid; gap: 27px; }
.mat-footer-title { color: #fff; font-size: 1rem; font-weight: 750; margin: 0 0 10px; }
.mat-footer-inner p, .mat-footer-inner a { font-size: .92rem; color: #c0d2dc; }
.mat-footer-inner a { text-decoration: none; }
.mat-footer-inner a:hover { color: var(--mat-cyan-light); }
.mat-footer-bottom { max-width: var(--mat-max); margin: 0 auto; padding: 18px 20px 25px; border-top: 1px solid rgba(255,255,255,.13); color: #91a6b6; font-size: .82rem; }

@media (min-width: 700px) {
  .mat-header-inner { min-height: 86px; padding: 14px 26px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
  .mat-brand img, .mat-brand .custom-logo { width: 185px; max-height: 50px; }
  .mat-menu ul { gap: 23px; overflow: visible; padding: 0; }
  .mat-main > article { padding: 62px 26px 88px; }
  .mat-hero-actions { flex-direction: row; align-items: center; }
  .mat-button { justify-content: flex-start; }
  .mat-footer-inner { grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; padding: 54px 26px 26px; }
  .mat-footer-bottom { padding: 18px 26px 28px; }
}
