/* Red Antler Inspired Design System for SlideOra */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Red Antler Signature Colors */
  --bg-black: #0D0D0D;
  --bg-white: #FFFFFF;
  --bg-cream: #F5F3EF;
  --bg-surface: #F9F9F8;
  
  --text-black: #0D0D0D;
  --text-white: #FFFFFF;
  --text-muted: #666666;
  --text-subtle: #999999;
  
  --primary-red: #E53935;
  --primary-red-hover: #C62828;

  --border-dark: rgba(255, 255, 255, 0.12);
  --border-light: #E5E5E5;

  /* Fonts */
  --font-brand: 'Space Grotesk', -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-white);
  color: var(--text-black);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: inherit;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Red Antler Header Navigation */
.ra-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.ra-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.ra-wordmark {
  font-family: var(--font-brand);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text-black);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.ra-wordmark-dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary-red);
  border-radius: 50%;
}

.ra-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.ra-nav-link {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.ra-nav-link:hover, .ra-nav-link.active {
  color: var(--primary-red);
}

.ra-cta-btn {
  font-family: var(--font-brand);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background-color: var(--text-black);
  color: var(--text-white);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.ra-cta-btn:hover {
  background-color: var(--primary-red);
  transform: translateY(-2px);
}

/* Red Antler Signature Hero Section */
.ra-hero {
  padding: 12rem 0 6rem 0;
  background-color: var(--bg-white);
}

.ra-hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  max-width: 1100px;
  line-height: 1.05;
  margin-bottom: 2rem;
}

.ra-hero-title span {
  color: var(--primary-red);
}

.ra-hero-sub {
  font-size: 1.35rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.5;
  margin-bottom: 3rem;
}

.ra-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Filter Pills (Red Antler Work Grid Style) */
.filter-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-surface);
  color: var(--text-black);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-pill:hover, .filter-pill.active {
  background-color: var(--text-black);
  color: var(--text-white);
  border-color: var(--text-black);
}

/* Asymmetric Work Grid (Red Antler Tile Layout) */
.ra-work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}

.ra-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--bg-black);
  cursor: pointer;
  transition: var(--transition);
}

.ra-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tile-col-8 {
  grid-column: span 8;
  aspect-ratio: 16 / 10;
}

.tile-col-4 {
  grid-column: span 4;
  aspect-ratio: 4 / 5;
}

.tile-col-6 {
  grid-column: span 6;
  aspect-ratio: 16 / 10;
}

.tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.ra-tile:hover .tile-img {
  transform: scale(1.06);
}

.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.85) 0%, rgba(13, 13, 13, 0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--text-white);
  transition: var(--transition);
}

.tile-category {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-red);
  margin-bottom: 0.3rem;
}

.tile-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.tile-link {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-white);
  transition: var(--transition-fast);
}

.ra-tile:hover .tile-link {
  color: var(--primary-red);
  transform: translateX(5px);
}

/* Red Antler Editorial Statement Section */
.ra-statement-section {
  background-color: var(--bg-black);
  color: var(--text-white);
  padding: 8rem 0;
}

.ra-statement-title {
  font-size: 3.5rem;
  font-weight: 800;
  max-width: 900px;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -1.5px;
}

.ra-statement-sub {
  font-size: 1.25rem;
  color: var(--text-subtle);
  max-width: 650px;
  line-height: 1.6;
}

/* Red Antler Service Grid */
.ra-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.ra-service-card {
  background-color: #171717;
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 3rem;
  transition: var(--transition);
}

.ra-service-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-4px);
}

.service-num {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 1.5rem;
}

.ra-service-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.ra-service-card p {
  color: var(--text-subtle);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.ra-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #D4D4D4;
}

.ra-checklist li::before {
  content: "→ ";
  color: var(--primary-red);
  font-weight: 700;
}

/* Interactive Quote Estimator */
.ra-estimator-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 3.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-surface);
  color: var(--text-black);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-red);
  background-color: var(--bg-white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Lightbox Modal */
.ra-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.ra-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ra-modal-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 3rem;
}

.ra-modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Footer */
.ra-footer {
  background-color: var(--bg-black);
  color: var(--text-white);
  padding: 6rem 0 3rem 0;
}

.ra-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.ra-footer-brand p {
  color: var(--text-subtle);
  font-size: 1rem;
  margin-top: 1.5rem;
  max-width: 340px;
}

.ra-footer-col h4 {
  font-family: var(--font-brand);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.ra-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ra-footer-links a {
  color: var(--text-subtle);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.ra-footer-links a:hover {
  color: var(--text-white);
}

/* Responsive */
@media (max-width: 992px) {
  .ra-hero-title { font-size: 3rem; }
  .ra-work-grid { grid-template-columns: 1fr; }
  .tile-col-8, .tile-col-4, .tile-col-6 { grid-column: span 12; aspect-ratio: 16/10; }
  .ra-services-grid { grid-template-columns: 1fr; }
  .ra-footer-grid { grid-template-columns: 1fr 1fr; }
}
