/* ===============================
   UNIFIED GLOBAL + PAGE 1 + PAGE 2 CSS
   Restores the full Homepage styling
   Keeps Page 2 clean modern layout
   =============================== */

/* ---------------------- RESET ---------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #c8102e;
  --dark: #050608;
  --dark-soft: #16181c;
  --white: #ffffff;
  --gray: #c4c4c4;
  --max-width: 1120px;
  --radius-lg: 14px;
  --radius-md: 10px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
}

/* ---------------------- HEADER ---------------------- */
.site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(to right, #000, #1a1a1a);
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.logo-image {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff 0, #ff4b4b 45%, #530000 100%);
  box-shadow: 0 0 0 3px #111, 0 0 18px rgba(255,0,0,.6);
}

.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 1rem; letter-spacing: .04em; }
.brand-tagline { font-size: .7rem; color: var(--gray); }

.main-nav { display: flex; gap: 1rem; }
.main-nav a {
  color: #e5e5e5;
  text-decoration: none;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding-bottom: .2rem;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width .2s ease-out;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #444;
  padding: .25rem .6rem;
  color: #fff;
  border-radius: 6px;
}

/* ---------------------- HERO (RESTORED) ---------------------- */
.hero {
  background: radial-gradient(circle at top left, rgba(255, 0, 0, 0.8), transparent 55%),
              radial-gradient(circle at bottom right, #151515, #000000 60%);
  border-bottom: 1px solid #222;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  text-align: left;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: .75rem;
  text-shadow: 0 0 18px rgba(0,0,0,.8);
}

.hero p {
  max-width: 640px;
  color: #e5e5e5;
  margin-bottom: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: .15s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #ff4b4b);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(255,0,0,.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(255,0,0,.45); }

.btn-outline {
  border: 1px solid #888;
  color: #f1f1f1;
}
.btn-outline:hover { background: #1b1b1b; }

/* ---------------------- GALLERY (BRAND LOGOS) ---------------------- */
.gallery { max-width: var(--max-width); margin: 2.5rem auto; padding: 1rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
}

.photo-placeholder {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 150px;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    linear-gradient(135deg, #333 0%, #000 50%, #222 100%);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
}

.photo-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at top left, rgba(255,59,59,0.6), transparent 55%);
  mix-blend-mode: screen;
}

.photo-placeholder img {
  width: 100%; height: 100%; object-fit: contain;
  border-radius: inherit;
}

.photo-placeholder span {
  position: absolute;
  bottom: .9rem; left: 1rem;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
}

/* ---------------------- PAGE 2 CLEAN SYSTEM ---------------------- */
.p2-wrapper { max-width: var(--max-width); margin: auto; padding: 2.5rem 1.25rem 3rem; }

.p2-wrapper h3 {
  color: var(--red);
  font-size: 1.45rem;
  text-align: center;
  margin-bottom: .5rem;
}

/* TOP ROW */
.p2-top3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-bottom: 3rem; }
.p2-topbox p { color: #ccc; text-align: center; margin-bottom: 1rem; }

.p2-imgframe {
  background: #0d0d0d;
  border-radius: var(--radius-lg);
  padding: 10px;
  border: 1px solid rgba(200,16,46,.35);
  box-shadow: 0 12px 28px rgba(0,0,0,.55);
}

.p2-imgframe img { width: 100%; border-radius: var(--radius-md); }

/* MIDDLE SECTION */
.p2-middle {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: center;
}

.p2-text-col p { color: #d5d5d5; text-align: center; }

.p2-stack-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}

.p2-stack-img {
  height: 180px;
  display: flex;
  align-items: center;
}
.p2-stack-img img { height: 100%; object-fit: contain; }

/* TEXT BLOCKS */
.p2-textblock { text-align: center; margin: 2rem 0 1.5rem; }
.p2-textblock p { color: #ccc; }

/* ---------------------- FOOTER ---------------------- */
.site-footer {
  background: #020203;
  padding: 2.5rem 1.25rem;
  border-top: 1px solid #151515;
}

.footer-cols {
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.4rem;
}

.footer-cols div {
  text-align: left;
}

.footer-bottom {
  text-align: center;
  color: #777;
  font-size: .85rem;
  margin-top: 1rem;
}

/* Mobile footer fix */
@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* ---------------- BOTTOM RIGHT PHOTOS ---------------- */

.p2-rightphoto {
  display: flex;
  justify-content: space-between;
  align-items: center;            /* ensures vertical alignment */
  margin-bottom: 2.5rem;
}

.p2-smallright {
  width: 180px;
  transform: scale(1.25);         /* 25% scale as requested */
  transform-origin: center;
  margin-top: -15px;              /* lift slightly so it matches text height */
}

.p2-rightphoto .p2-imgframe {
  margin-left: 2rem;              /* keeps consistent spacing */
}

/* Mobile */
@media (max-width: 900px) {
  .p2-rightphoto {
    flex-direction: column;
    align-items: center;
  }
  .p2-rightphoto .p2-imgframe {
    margin-left: 0;
    margin-top: 1rem;
  }
}
