/* ===== Otimos Casinos — Stylesheet ===== */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #d4af37;
  --gold-light: #f0d97a;
  --gold-dark: #a67c00;
  --navy: #0a0e1a;
  --navy-light: #121830;
  --navy-mid: #1a2240;
  --cream: #f5f0e1;
  --text-light: #e8e4d8;
  --text-muted: #9a9588;
  --white: #ffffff;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--text-light);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold-light); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Header / Nav --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: padding .3s;
}

.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1200px; margin: 0 auto; }

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 44px; height: 44px; border-radius: 50%; }
.nav-logo .brand { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); font-weight: bold; letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-light); font-size: .92rem; text-transform: uppercase; letter-spacing: .5px; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.6rem; cursor: pointer; }

/* --- Hero --- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,26,.55) 0%, rgba(10,14,26,.75) 60%, rgba(10,14,26,.95) 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; padding: 120px 24px 80px; }
.hero-content h1 { font-family: var(--serif); font-size: 3.5rem; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.hero-content h1 span { color: var(--gold); }
.hero-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn { display: inline-block; padding: 14px 40px; font-size: 1rem; text-transform: uppercase; letter-spacing: 1.5px; border-radius: 2px; transition: all .3s; cursor: pointer; border: none; font-family: var(--sans); }
.btn-gold { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: var(--navy); font-weight: 700; }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,175,55,.35); }
.btn-outline { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--navy); }

/* --- Section Headings --- */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title .eyebrow { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); margin-bottom: 12px; }
.section-title h2 { font-family: var(--serif); font-size: 2.5rem; color: var(--white); }
.section-title p { color: var(--text-muted); margin-top: 16px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* --- Casino Cards Grid --- */
.casino-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 32px; }
.casino-card { background: var(--navy-light); border-radius: 8px; overflow: hidden; border: 1px solid rgba(212,175,55,.1); transition: transform .35s, box-shadow .35s, border-color .35s; }
.casino-card:hover { transform: translateY(-6px); box-shadow: 0 16px 50px rgba(0,0,0,.5); border-color: rgba(212,175,55,.4); }
.casino-card img { width: 100%; height: 220px; object-fit: cover; }
.casino-card-body { padding: 28px; }
.casino-card .location { font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 8px; }
.casino-card h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin-bottom: 12px; }
.casino-card p { color: var(--text-muted); font-size: .95rem; margin-bottom: 20px; }
.casino-card .read-more { font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 600; }
.casino-card .read-more::after { content: ' \2192'; }

/* --- Casino Detail Page --- */
.casino-hero { position: relative; height: 60vh; min-height: 400px; display: flex; align-items: flex-end; overflow: hidden; }
.casino-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.casino-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,26,.3) 0%, rgba(10,14,26,.9) 100%); }
.casino-hero-content { position: relative; z-index: 1; padding: 0 24px 60px; max-width: 1200px; margin: 0 auto; width: 100%; }
.casino-hero-content .location-badge { display: inline-block; background: rgba(212,175,55,.15); border: 1px solid var(--gold); color: var(--gold); padding: 6px 18px; border-radius: 30px; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.casino-hero-content h1 { font-family: var(--serif); font-size: 3rem; color: var(--white); }

.casino-body { padding: 60px 0 80px; }
.casino-body .container { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.casino-article h2 { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); margin: 36px 0 16px; }
.casino-article h2:first-child { margin-top: 0; }
.casino-article p { margin-bottom: 20px; color: var(--text-light); }
.casino-article ul { margin: 16px 0 24px 20px; }
.casino-article li { margin-bottom: 10px; color: var(--text-light); }
.casino-article .highlight-box { background: var(--navy-light); border-left: 3px solid var(--gold); padding: 24px 28px; margin: 32px 0; border-radius: 0 6px 6px 0; }
.casino-article .highlight-box p { margin: 0; color: var(--text-muted); font-style: italic; }

.sidebar { background: var(--navy-light); border-radius: 8px; padding: 32px; border: 1px solid rgba(212,175,55,.12); height: fit-content; position: sticky; top: 90px; }
.sidebar h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--gold); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(212,175,55,.2); }
.sidebar .info-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .9rem; }
.sidebar .info-row span:first-child { color: var(--text-muted); }
.sidebar .info-row span:last-child { color: var(--white); font-weight: 600; text-align: right; }

/* --- Stats Band --- */
.stats-band { background: var(--navy-light); padding: 60px 0; border-top: 1px solid rgba(212,175,55,.15); border-bottom: 1px solid rgba(212,175,55,.15); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: 3rem; color: var(--gold); font-weight: bold; }
.stat .label { font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-top: 8px; }

/* --- About Page --- */
.about-hero { position: relative; height: 50vh; min-height: 350px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-hero::after { content: ''; position: absolute; inset: 0; background: rgba(10,14,26,.7); }
.about-hero h1 { position: relative; z-index: 1; font-family: var(--serif); font-size: 3rem; color: var(--white); text-align: center; }
.about-content { padding: 80px 0; }
.about-content .container { max-width: 800px; }
.about-content h2 { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); margin: 36px 0 16px; }
.about-content h2:first-child { margin-top: 0; }
.about-content p { margin-bottom: 20px; color: var(--text-light); }

/* --- Contact Page --- */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); margin-bottom: 24px; }
.contact-info p { margin-bottom: 20px; color: var(--text-muted); }
.contact-info .contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.contact-info .contact-item .icon { width: 44px; height: 44px; background: rgba(212,175,55,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-info .contact-item .label { font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.contact-info .contact-item .value { color: var(--white); }
.contact-form { background: var(--navy-light); padding: 40px; border-radius: 8px; border: 1px solid rgba(212,175,55,.12); }
.contact-form .field { margin-bottom: 24px; }
.contact-form label { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 8px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 16px; background: var(--navy); border: 1px solid rgba(212,175,55,.2); border-radius: 4px; color: var(--text-light); font-family: var(--sans); font-size: 1rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { min-height: 150px; resize: vertical; }

/* --- Pagination / Nav --- */
.page-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(212,175,55,.15); }
.page-nav a { display: flex; align-items: center; gap: 12px; }
.page-nav .label { font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.page-nav .title { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); }

/* --- Footer --- */
.site-footer { background: var(--navy); border-top: 1px solid rgba(212,175,55,.15); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: .9rem; max-width: 300px; }
.footer-col h4 { font-family: var(--serif); color: var(--gold); font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: .9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.05); color: var(--text-muted); font-size: .85rem; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid rgba(212,175,55,.2); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-content h1 { font-size: 2.2rem; }
  .section-title h2 { font-size: 1.8rem; }
  .casino-body .container { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .casino-hero-content h1 { font-size: 2rem; }
  .about-hero h1 { font-size: 2rem; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .casino-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.8rem; }
}
