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

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Dark Brutalist Theme: #000000 background, white and bright red only */
  --bg: #000000;
  --text: #ffffff;
  --text-muted: #e0e0e0;
  --accent: #ff0000;
  --radius-sm: 0px; /* Brutalist often uses sharp edges */
  --radius-md: 0px;
  --radius-lg: 0px;
  --shadow-glass: 0 8px 32px 0 rgba(255, 0, 0, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.2);
  --font-heading: 'Righteous', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --section-pad: 120px;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 15px; /* High density requirement: 14-15px */
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  width: 100%;
  max-width: 100vw;
}

h1, h2, h3, h4, .outline-text {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.1;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* === PAGE LAYOUT SCHEME: Bottom Navigation Bar === */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #000;
  border-top: 2px solid var(--accent);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 10px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
}

.bottom-nav-item i {
  font-size: 24px;
  margin-bottom: 4px;
}

.bottom-nav-item.active {
  color: var(--accent);
}

.main-content {
  padding-bottom: 90px; /* Avoid overlap with bottom nav */
}

/* === Layout Archetype: Horizontal Sections Magazine === */
/* Each section is a distinct horizontal band with its own background color/image */
.magazine-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
}

/* Section Internal Layout: Stacked blocks */
.stacked-block {
  width: 100%;
  padding: 40px 5%;
}

/* Section Dividers: Rounded concave curve */
.section-divider-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--bg);
  border-bottom-left-radius: 50% 100%;
  border-bottom-right-radius: 50% 100%;
  z-index: 2;
  transform: translateY(-50%);
}

.section-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--bg);
  border-top-left-radius: 50% 100%;
  border-top-right-radius: 50% 100%;
  z-index: 2;
  transform: translateY(50%);
}

/* === HERO STYLE: Outline text hero === */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.outline-headline {
  font-size: clamp(4rem, 15vw, 12rem);
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  text-align: center;
  position: relative;
  z-index: 5;
  padding: 0 5%;
}

/* Navigation Style: Transparent Hero Nav */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  z-index: 1001;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  background: transparent;
}

.top-header.scrolled {
  background: rgba(0,0,0,0.95);
  border-bottom: 1px solid var(--accent);
}

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: -1px;
}

/* === Background Texture: Elegant glassmorphism blobs === */
.glass-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--accent);
  filter: blur(120px);
  opacity: 0.15;
  border-radius: 50%;
  animation: float 20s infinite alternate;
}

.blob:nth-child(2) {
  background: #ffffff;
  width: 400px;
  height: 400px;
  right: -100px;
  top: -100px;
  animation-duration: 25s;
}

@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

/* === CTA / Button Style: Text-only links with animated arrow === */
.cta-link {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.cta-link i {
  transition: transform 0.3s ease;
}

.cta-link:hover i {
  transform: translateX(10px);
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1240px;
  margin: 0 auto;
}

.card {
  background: var(--bg);
  border: 2px solid var(--text);
  padding: 1.5rem; /* High density: 16-24px */
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

/* === Testimonial Presentation: Spotlight single === */
.testimonial-spotlight {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 30px;
  border: 3px solid var(--accent);
}

.testimonial-text {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--accent);
}

/* === Interactive Element: Live Filtering/Sorting Widget === */
.filter-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
  padding: 8px 20px;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.sort-select {
  background: #000;
  color: #fff;
  border: 1px solid var(--text);
  padding: 8px;
  font-family: var(--font-body);
}

/* === Footer Style: Asymmetric Footer === */
footer {
  padding: 100px 5% 150px;
  background: #000;
  border-top: 5px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-left {
  max-width: 500px;
}

.footer-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer-links h4 {
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

/* === Special Effect: Fade-in === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */
.container { max-width: 1240px; margin: 0 auto; padding: 0 5%; width: 100%; }
.text-accent { color: var(--accent); }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Breadcrumbs */
.breadcrumbs {
  padding: 20px 5%;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumbs a:after {
  content: '/';
  margin: 0 10px;
}

/* === Gallery Section === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* === Filterable Grid === */
.filterable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Video Section === */
.video-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  color: var(--accent);
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 20px;
  z-index: 10;
  pointer-events: none;
}

@media (max-width: 768px) {
  .card-container {
    grid-template-columns: 1fr;
  }
  .magazine-section {
    padding: 60px 0;
  }
  .outline-headline {
    font-size: 4rem;
  }
}

/* Inner Page Sidebar */
.page-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .page-with-sidebar {
    grid-template-columns: 3fr 1fr;
  }
}

.sidebar {
  background: var(--glass-bg);
  padding: 30px;
  border: 1px solid var(--glass-border);
}

.sidebar h3 {
  margin-bottom: 20px;
  color: var(--accent);
}

.sidebar-links a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Pricing cards special */
.pricing-card.popular {
  border-color: var(--accent);
  transform: scale(1.05);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 15px;
}
