/* ===========================
   Base Reset & Theme Tokens
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Core Brand Colors */
  --color-primary: #1f4e79;
  --color-primary-light: #4f83a6;
  --color-primary-dark: #163b5a;

  --color-accent: #c9a24d;
  --color-accent-muted: #e6d8a8;

  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #f7f8f5;
  --color-light-gray: #e4e6e3;
  --color-mid-gray: #9aa0a6;
  --color-dark-gray: #2b2e2f;

  /* Functional */
  --color-success: #3a7d44;
  --color-error: #b03a2e;
  --color-link: var(--color-primary);
  --color-link-hover: var(--color-primary-light);

  /* Backgrounds */
  --bg-page: var(--color-off-white);
  --bg-section: #ffffff;
  --bg-alt: #f1f3f0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-page);
  color: var(--color-dark-gray);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--color-link-hover);
}

/* ===========================
   Brand Header
   =========================== */
.brand-header {
  width: 100%;
  position: relative;
  isolation: isolate;
  background: url("images/NAMA-BG.avif") center 20% / cover no-repeat fixed;
  border-bottom: 1px solid rgba(31, 78, 121, 0.2);
  box-shadow: 0 6px 18px rgba(22, 59, 90, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.brand-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(247, 248, 245, 0.82) 45%,
    rgba(255, 255, 255, 0.72) 100%
  );
  z-index: 0;
}

.brand-header__logo {
  width: auto;
  max-width: 100%;
  max-height: 70vh;
  aspect-ratio: 3600 / 2048;
  display: block;
  object-fit: contain;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.85))
    drop-shadow(0 6px 20px rgba(22, 59, 90, 0.35));
}

.brand-header__logo {
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.55) 35%,
    transparent 65%
  );
  padding: 1.5rem;
  border-radius: 50%;
}

/* ===========================
   About Section – Classy Refinement
   =========================== */

.about-section {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    var(--color-off-white) 100%
  );
  padding: 5.5rem 1.5rem 4.5rem;
}

.about-section__content {
  max-width: 880px;
  margin: 0 auto;
}

/* Eyebrow becomes more editorial */
.about-section__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--color-primary-light);
  margin-bottom: 1.25rem;
}

/* Title feels more confident and timeless */
.about-section__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  line-height: 1.25;
  color: var(--color-primary-dark);
  margin-bottom: 2rem;
}

/* Body copy: slightly larger, calmer rhythm */
.about-section p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #2f3335;
  margin-bottom: 1.5rem;
}

/* Refined list styling */
.about-section__list {
  margin: 2.5rem 0 2.8rem;
  gap: 1.25rem;
}

.about-section__list li {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(31, 78, 121, 0.15);
  border-left: 3px solid var(--color-accent);
  padding: 1.4rem 1.6rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(22, 59, 90, 0.08);
}

/* Softer emphasis */
.about-section__list strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-primary-dark);
}

/* Optional subtle divider for elegance */
.about-section__content::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 3rem auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent),
    transparent
  );
  border-radius: 2px;
}



/* ===========================
   Split Hero Portals
   =========================== */
.split-hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-height: 100vh;
}

.portal-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 2.5rem;
  min-height: 100%;
  text-decoration: none;
  color: var(--color-dark-gray);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(247, 248, 245, 0.85) 50%,
    rgba(228, 230, 227, 0.9) 100%
  );
  z-index: 0;
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(22, 59, 90, 0.15);
}

.portal-card__content {
  position: relative;
  z-index: 1;
  max-width: 420px;
  text-align: center;
}

.portal-card__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.portal-card__title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.portal-card__logo {
  max-width: 240px;
  display: inline-block;
}

.portal-card__body {
  font-size: 1rem;
  color: var(--color-dark-gray);
  margin-bottom: 1.5rem;
}

.portal-card__cta {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.portal-card:hover .portal-card__cta {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.portal-card--business::before {
  background: linear-gradient(
    160deg,
    rgba(31, 78, 121, 0.08) 0%,
    rgba(255, 255, 255, 0.92) 50%,
    rgba(228, 230, 227, 0.9) 100%
  );
}

.portal-card--games::before {
  background: linear-gradient(
    160deg,
    rgba(201, 162, 77, 0.08) 0%,
    rgba(255, 255, 255, 0.92) 50%,
    rgba(228, 230, 227, 0.9) 100%
  );
}


/* ===========================
   Contact Section – Enhanced
   =========================== */

.contact-section {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 100%
  );
  padding: 5rem 1.5rem 6rem;
  border-top: none;
  overflow: hidden;
}

/* subtle light wash for depth */
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top center,
    rgba(255, 255, 255, 0.15),
    transparent 60%
  );
  pointer-events: none;
}

.contact-section__content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  color: var(--color-white);
}

.contact-section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.75rem;
  color: var(--color-accent-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-section__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  color: var(--color-white);
  margin-bottom: 2rem;
}

/* contact items become elegant pills */
.contact-section__details {
  display: grid;
  gap: 1rem;
  font-size: 1.05rem;
}

.contact-section__details p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* optional hover polish */
.contact-section__details p:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===========================
   Modern Greek Headline Font
   =========================== */

.about-section__title,
.contact-section__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* About title: grounded and confident */
.about-section__title {
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  line-height: 1.25;
}

/* Contact title: warmer, inviting */
.contact-section__title {
  font-size: clamp(1.9rem, 2.8vw, 2.4rem);
  line-height: 1.3;
}

/* ===========================
   Contact Icons – Clean Unicode
   =========================== */

.contact-section__details p {
  position: relative;
  padding-left: 2.2rem;
}

/* Phone icon */
.contact-section__details p:first-child::before {
  content: "☎";
  position: absolute;
  left: 0.9rem;
  font-size: 1rem;
  opacity: 0.85;
}

/* Email icon */
.contact-section__details p:last-child::before {
  content: "✉";
  position: absolute;
  left: 0.9rem;
  font-size: 1rem;
  opacity: 0.85;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  background: var(--color-primary-dark);
  color: var(--color-off-white);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 900px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .portal-card {
    min-height: 70vh;
  }
}

@media (max-width: 768px) {
  .brand-header {
    background-attachment: scroll;
    background-position: center;
  }
}

@media (max-width: 600px) {
  .contact-section__details p {
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
    padding: 0.65rem 1rem 0.65rem 1.9rem;
  }

  .contact-section__details p:first-child::before,
  .contact-section__details p:last-child::before {
    left: 0.7rem;
  }
}
