/*
 * Stylesheet for the Trippy&nbsp;Nik&nbsp;Innit website
 *
 * This file defines the visual identity of the site. It uses a dark, cosmic
 * colour palette paired with neon accents inspired by the uploaded logo. The
 * graffiti‑style headlines take their lead from the Prodigy’s intense
 * aesthetic and the edginess of zombie culture, without ever veering into
 * explicit or violent imagery. Everything is responsive, so it looks great
 * on desktops, tablets and phones.
 */

/* Import typefaces from Google Fonts.  "Permanent Marker" gives us that
   hand‑painted, street art feel for headings, while "Montserrat" offers
   clean, modern readability for body text. */
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Montserrat:wght@300;400;600&display=swap');

/* CSS variables to centralise our colour palette. Adjust these to tweak
   the overall mood of the site. */
:root {
  --primary-colour: #7f00ff;     /* vibrant purple for key accents */
  --secondary-colour: #00aaff;   /* electric blue for contrast */
  --accent-colour: #ff0080;      /* hot pink for highlights */
  --dark-bg: #0d0a1a;            /* deep, almost‑black backdrop */
  --light-text: #eeeeee;         /* soft off‑white for readability */
  --muted-text: #bbbbbb;         /* secondary text colour */
}

/* Reset some basic elements and set global defaults. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  color: inherit;
}

/* Navigation bar styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 10, 26, 0.9); /* slightly transparent to let
                                         background textures peek through */
  border-bottom: 1px solid var(--primary-colour);
  backdrop-filter: blur(6px);
}

.navbar .logo {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--secondary-colour);
}

/* Hero section */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  background-image: url('assets/hero-bg.png');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content img {
  max-width: 60%;
  height: auto;
  margin: 0 auto 1rem;
}

.hero-content h1 {
  font-family: 'Permanent Marker', cursive;
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--primary-colour);
  text-shadow: 0 0 10px var(--secondary-colour);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--muted-text);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta-buttons a {
  padding: 0.8rem 2rem;
  border: 2px solid var(--primary-colour);
  border-radius: 40px;
  color: var(--primary-colour);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.cta-buttons a:hover {
  background: var(--primary-colour);
  color: #fff;
  box-shadow: 0 0 10px var(--primary-colour);
}

/* Generic section styling */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  font-family: 'Permanent Marker', cursive;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-colour);
  text-shadow: 0 0 6.5px var(--secondary-colour);
}

.section-description {
  font-size: 1.1rem;
  text-align: center;
  color: var(--muted-text);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  background: var(--secondary-colour);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--primary-colour);
}

/* Products grid */
.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.product-card .product-image {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--primary-colour);
  border-radius: 12px;
  padding: 1.5rem;
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.product-card .product-image-placeholder {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-colour), var(--secondary-colour));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.5rem;
  font-family: 'Permanent Marker', cursive;
}

.product-card h3 {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-colour);
  text-align: center;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
  margin-bottom: 1rem;
  text-align: center;
}

.product-card .price {
  font-size: 1.3rem;
  color: var(--primary-colour);
  margin-bottom: 1rem;
  font-weight: 600;
}

.product-card .btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  background: var(--secondary-colour);
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.product-card .btn:hover {
  background: var(--primary-colour);
}

/* Carousel styling for The Chaos Report page */
.carousel {
  position: relative;
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid var(--primary-colour);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
}

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

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.carousel-controls button {
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  pointer-events: auto;
  transition: background 0.3s;
}

.carousel-controls button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Footer */
.footer {
  background: rgba(13, 10, 26, 0.9);
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--primary-colour);
}

.footer p {
  font-size: 0.9rem;
  color: var(--muted-text);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .section {
    padding: 3rem 1rem;
  }
  .product-card {
    width: 100%;
    max-width: 320px;
  }
  .nav-links {
    gap: 1rem;
  }
  .nav-links a {
    font-size: 1rem;
  }
}