/* ============================================================
   CAESAR CITY CORPORATION — Modern Roman Classical
   LIGHT EDITION — white marble + selective gold
   ============================================================ */

:root {
  --bg: #faf9f6;
  --bg-2: #f1efe8;
  --surface: #ffffff;
  --surface-2: #f7f5ef;
  --gold: #a8861f;
  --gold-light: #c9a227;
  --gold-dark: #7a621a;
  --text: #19191d;
  --text-dim: #4c4a45;
  --text-faint: #8a867e;
  --line: rgba(168, 134, 31, 0.32);
  --line-soft: rgba(25, 25, 29, 0.10);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold-dark); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }

.section-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.section-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.gold-rule {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  margin: 26px 0 34px;
}
.gold-rule.center { margin-left: auto; margin-right: auto; }

.lead { font-size: 18px; color: var(--text-dim); max-width: 760px; }

p { color: var(--text-dim); margin-bottom: 18px; }
p:last-child { margin-bottom: 0; }

strong { color: var(--text); font-weight: 500; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 34px 0 22px;
}

.brand { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.brand img { width: 42px; height: 50px; object-fit: contain; }
.brand-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.5em;
  color: var(--gold);
  margin-top: 3px;
}

.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a {
  display: block;
  padding: 10px 11px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.main-nav a:hover { color: var(--gold-dark); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold); }

.nav-toggle { display: none; }
.hamburger {
  display: none;
  cursor: pointer;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  width: 22px; height: 1.5px;
  background: var(--gold-dark);
  transition: all .3s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,12,14,.58) 0%, rgba(12,12,14,.20) 42%, rgba(250,249,246,.94) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 860px; padding: 140px 28px 90px; }
.hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #e8c96a;
  margin-bottom: 26px;
  text-shadow: 0 1px 18px rgba(0,0,0,.55);
}
.hero h1 {
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 500;
  color: #f8f7f3;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 44px rgba(0,0,0,.6);
  margin-bottom: 22px;
}
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(19px, 2.6vw, 27px);
  font-style: italic;
  font-weight: 400;
  color: rgba(248, 247, 243, 0.95);
  text-shadow: 0 1px 30px rgba(0,0,0,.55);
  margin-bottom: 42px;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 15px 38px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid var(--gold-dark);
  color: #5c4a0e;
  background: transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.btn:hover {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 8px 30px rgba(168, 134, 31, 0.35);
}
.btn.solid {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: #fff;
  border-color: transparent;
  font-weight: 600;
}
.btn.solid:hover {
  box-shadow: 0 10px 36px rgba(168, 134, 31, 0.5);
  color: #fff;
}
.hero .btn { color: #f0d88a; border-color: #c9a227; text-shadow: none; background: rgba(8, 8, 10, 0.55); backdrop-filter: blur(4px); }
.hero .btn:hover { background: #c9a227; color: #131309; }
.hero .btn.solid { color: #131309; background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light)); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 26px;
}
.link-arrow::after { content: "→"; transition: transform .3s ease; }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- Sections ---------- */

section.block { padding: 104px 0; }
section.block.alt { background: var(--bg-2); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.center-text { text-align: center; }
.center-text .lead { margin-left: auto; margin-right: auto; }

/* ---------- Stats band ---------- */

.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(168,134,31,.08), transparent 60%),
    var(--bg-2);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 62px 0;
  text-align: center;
}
.stat .stat-value {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1.1;
}
.stat .stat-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 12px;
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 54px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 42px 36px;
  position: relative;
  box-shadow: 0 2px 14px rgba(25, 25, 29, 0.04);
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.card:hover {
  border-color: var(--line);
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(25, 25, 29, 0.10);
}
.card .numeral {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.card h3 { font-size: 24px; margin-bottom: 14px; color: var(--text); }
.card p { font-size: 15px; color: var(--text-dim); }

/* ---------- Teaser strips ---------- */

.teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  margin-top: 54px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(25, 25, 29, 0.05);
}
.teaser-img {
  min-height: 380px;
  background-size: cover;
  background-position: center;
}
.teaser-body { padding: 62px 58px; display: flex; flex-direction: column; justify-content: center; }
.teaser-body h3 { font-size: 30px; margin-bottom: 16px; }

/* ---------- Privacy page ---------- */

.prose { max-width: 820px; margin: 0 auto; }
.prose h3 {
  font-size: 24px;
  color: var(--gold-dark);
  margin: 46px 0 16px;
}
.prose h3:first-of-type { margin-top: 0; }

/* ---------- Forms ---------- */

.contact-form { max-width: 700px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.form-group label .req { color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  color: var(--text);
  padding: 15px 18px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  outline: none;
  transition: border-color .25s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-dark) 50%), linear-gradient(135deg, var(--gold-dark) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.hidden { display: none; }

/* ---------- Download portal ---------- */

.portal-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 34px 40px;
  margin-top: 40px;
  color: var(--text-dim);
  font-size: 15px;
  box-shadow: 0 2px 14px rgba(25, 25, 29, 0.04);
}

/* ---------- Footer ---------- */

.site-footer {
  background: #f4f2ea;
  border-top: 1px solid var(--line);
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 54px;
  margin-bottom: 54px;
}
.footer-brand img { width: 52px; height: 62px; object-fit: contain; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; max-width: 420px; }
.footer-nav h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
}
.footer-nav ul { list-style: none; columns: 2; gap: 30px; }
.footer-nav li { margin-bottom: 11px; break-inside: avoid; }
.footer-nav a {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.footer-nav a:hover { color: var(--gold-dark); }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 30px;
  text-align: center;
}
.footer-bottom .copyright {
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6f6a5e;
}
.footer-bottom .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.14em;
  margin-top: 10px;
}

/* ---------- Page hero (shorter) ---------- */

.hero.page-hero { min-height: 58vh; }
.hero.page-hero .hero-content { padding: 150px 28px 70px; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .main-nav a { padding: 10px 7px; font-size: 9px; letter-spacing: 0.08em; }
  .brand-name { font-size: 13px; }
}

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(250, 249, 246, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
  }
  .nav-toggle:checked ~ .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .main-nav ul { flex-direction: column; padding: 18px 28px 30px; gap: 0; }
  .main-nav a { padding: 13px 0; font-size: 13px; }
  .main-nav a::after { left: 0; right: auto; width: 30px; }

  .two-col { grid-template-columns: 1fr; gap: 44px; }
  .teaser { grid-template-columns: 1fr; }
  .teaser-body { padding: 44px 34px; }
  .stats-inner { grid-template-columns: 1fr; gap: 40px; padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  section.block { padding: 76px 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   Photo Gallery — Corporate Responsibility & Investments
   ============================================================ */

.photo-gallery {
  margin-top: 54px;
  display: grid;
  gap: 32px;
}

.photo-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.photo-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.photo-caption {
  padding: 20px 24px;
}

.photo-caption h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
}

.photo-caption p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.photo-meta {
  font-size: 12px;
  color: #888;
  margin-top: 12px;
  font-style: italic;
}

@media (min-width: 768px) {
  .photo-gallery.two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   Photo Gallery — Corporate Responsibility & Investments
   UPDATED: Smaller cards, 3-column grid
   ============================================================ */

.photo-gallery {
  margin-top: 54px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.photo-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.photo-card img {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
}

.photo-caption {
  padding: 16px 20px;
}

.photo-caption h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
}

.photo-caption p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}

.photo-meta {
  font-size: 11px;
  color: #888;
  margin-top: 10px;
  font-style: italic;
}

.photo-archive-note {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background: rgba(201, 162, 39, 0.05);
  border-left: 3px solid #c9a227;
  border-radius: 4px;
}

.photo-archive-note p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

@media (min-width: 600px) {
  .photo-gallery.two-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-gallery.three-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .photo-gallery.three-col {
    grid-template-columns: repeat(3, 1fr);
  }
}
