/*
Theme Name: Rebel Slots
Theme URI: https://www.rebelslotsinc.com/
Author: Rebel Oil Company
Description: Single-page theme for Rebel Slots Inc., a Nevada gaming route operator. Static hand-authored markup, no page builder, no external dependencies.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: rebel-slots
*/

/* ==========================================================================
   FONTS  --  paths are relative to this file, which sits at the theme root
   ========================================================================== */
@font-face { font-family: 'Klint'; src: url('klint/Klint_Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Klint'; src: url('klint/Klint_Light_Italic.otf') format('opentype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Klint'; src: url('klint/Klint_Medium.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Klint'; src: url('klint/Klint_Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Klint'; src: url('klint/Klint_Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Klint'; src: url('klint/Klint_Medium_Italic.otf') format('opentype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Klint'; src: url('klint/Klint_Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Klint'; src: url('klint/Klint_Bold_Italic.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Klint'; src: url('klint/Klint_Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Klint'; src: url('klint/Klint_Black_Italic.otf') format('opentype'); font-weight: 900; font-style: italic; font-display: swap; }

/* ==========================================================================
   SITE STYLES
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #111821;
  --navy-mid:    #1a2a3a;
  --blue-head:   #1b3a6b;
  --red:         #e43d30;
  --red-hover:   #c9341f;
  --gray-bg:     #eef0f3;
  --white:       #ffffff;
  --text:        #2e2e2e;
  --text-light:  #555555;
  --border:      #d6dae1;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Klint', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 3rem;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 54px; width: auto; display: block; }

nav { display: flex; align-items: center; gap: 2.5rem; }
nav a {
  color: #c8d0db;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.15s;
  position: relative;
}
nav a:hover { color: #fff; }
nav a.active { color: var(--red); }
nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}
.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--red-hover) !important; }
.nav-cta::after { display: none !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(rgba(20,18,16,0.58), rgba(20,18,16,0.58)),
              url('assets/Jonny-Macs-1.jpg') center center / cover no-repeat;
  min-height: 440px;
  display: flex;
  align-items: center;
  padding: 80px 3rem;
}
.hero-inner { max-width: 820px; }
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  max-width: 660px;
  line-height: 1.72;
}

/* ── LAYOUT ── */
section { padding: 80px 3rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-gray { background: var(--gray-bg); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); }

h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--blue-head);
  margin-bottom: 0.6rem;
  letter-spacing: -0.3px;
}
.section-intro {
  font-size: 16px;
  color: var(--text-light);
  max-width: 680px;
  margin-bottom: 2.5rem;
  line-height: 1.72;
}
.section-intro strong { color: var(--text); font-weight: 700; }

/* ── CARDS ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-2-center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 2rem 2.25rem;
}
.card-icon {
  width: 54px; height: 54px;
  margin-bottom: 1.25rem;
}
.card-icon svg {
  width: 54px; height: 54px;
  stroke: var(--navy-mid);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-head);
  margin-bottom: 0.7rem;
}
.card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.72;
  margin-bottom: 0.9rem;
}
.card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.card ul li {
  font-size: 14px;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.55;
}
.card ul li::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ── EQUIPMENT CARDS ── */
.equip-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.equip-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.equip-body { padding: 1.5rem; }
.equip-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-head);
  margin-bottom: 0.6rem;
}
.equip-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
}

/* ── BUTTON ── */
.btn {
  display: inline-block;
  padding: 13px 36px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Klint', sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
  letter-spacing: 0.2px;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-wrap { text-align: center; margin-top: 2.25rem; }

/* ── LOCATIONS ── */
.locations-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0;
}
.loc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 2rem 2.25rem;
}
.loc-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-head);
  margin-bottom: 1.25rem;
}
.loc-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.loc-list li { display: flex; align-items: flex-start; gap: 10px; }
.loc-dot {
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.loc-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 1px;
}
.loc-addr {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}
a.loc-addr {
  color: var(--red);
  text-decoration: none;
}
a.loc-addr:hover {
  text-decoration: underline;
}
.loc-card-future h3 { color: var(--blue-head); }
.loc-card-future p {
  font-size: 15px;
  color: var(--text-light);
  margin-top: 0.5rem;
}



/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-head);
  margin-bottom: 0.25rem;
}
.contact-info .title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.contact-info address {
  font-style: normal;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.contact-info .contact-detail {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.contact-info .contact-detail strong { font-weight: 700; }
.contact-info .contact-detail a { color: var(--red); text-decoration: none; }
.contact-info .contact-detail a:hover { text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 15px;
  font-family: 'Klint', sans-serif;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--blue-head); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form button { align-self: flex-start; }
#form-confirm {
  display: none;
  color: #1a6b2a;
  font-size: 14px;
  font-weight: 600;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 2.5rem 3rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

footer p {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-2-center,
  .locations-wrap, .contact-grid { grid-template-columns: 1fr; }
  .photos-row { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 1.5rem; }
  header { padding: 0 1.5rem; }
  nav { gap: 1.5rem; }
}
@media (max-width: 600px) {
  nav a:not(.nav-cta) { display: none; }
  .photos-row { grid-template-columns: 1fr; }
}

/* ── WORDPRESS INTEGRATION ── */
/* Admin bar is fixed at the top; nudge the sticky header below it for logged-in users. */
body.admin-bar header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar header { top: 46px; }
}

/* Server-rendered form feedback (the JS path sets display inline; these are the PHP paths). */
#form-confirm.is-visible { display: block; }
.form-error {
  color: #b3261e;
  font-size: 14px;
  font-weight: 600;
}

/* Screen-reader-only helper for the honeypot label and skip link. */
.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;
}
.skip-link:focus {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 300;
  width: auto; height: auto;
  padding: 10px 18px;
  clip: auto;
  background: var(--white);
  color: var(--text);
  border-radius: 4px;
  font-weight: 700;
}
