/*
 * Theme inspired by the dark, neon aesthetic of Typical Media Group.
 * Colors and layout have been adapted to produce a modern, polished
 * one‑page website. Feel free to customise the variables below to
 * change the mood of the design.
 */

/* CSS custom properties for easy theming */
:root {
  --bg: #0a0f11;
  --card-bg: #121c21;
  --accent: #32d887;
  --text: #e5e5e5;
  --secondary-text: #99a1a7;
}

/* Reset and global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header styles */
header {
  background: var(--bg);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent);
}

/* Hero section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 5rem; /* offset for fixed header */
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)),
    url('hero.png') center/cover no-repeat;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-content h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.hero-content .accent {
  color: var(--accent);
}

.hero-content p {
  margin: 1.5rem auto;
  max-width: 700px;
  font-size: 1.1rem;
  color: var(--secondary-text);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Features section */
.features {
  padding: 5rem 0;
  background: var(--bg);
  text-align: center;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--accent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.feature span.material-icons {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.feature p {
  color: var(--secondary-text);
}

/* AdConnect section */
.adconnect {
  padding: 5rem 0;
  background: var(--card-bg);
}

.ad-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.ad-info {
  flex: 1 1 350px;
}

.ad-info h2 {
  color: var(--accent);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ad-info p {
  margin-bottom: 1rem;
  color: var(--secondary-text);
}

.ad-info ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.ad-info li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.ad-info li::before {
  content: '\2714';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.ad-features {
  flex: 1 1 350px;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.ad-feature {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ad-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.ad-feature span.material-icons {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.ad-feature h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.ad-feature p {
  color: var(--secondary-text);
}

/* About section */
.about {
  padding: 5rem 0;
  background: var(--bg);
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--secondary-text);
  font-size: 1.1rem;
}

/* Contact section */
.contact {
  padding: 5rem 0;
  background: var(--card-bg);
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.contact p {
  color: var(--secondary-text);
  margin-bottom: 2rem;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  background: var(--bg);
  border: none;
  padding: 1rem;
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
}

.contact textarea {
  height: 150px;
  resize: vertical;
}

.contact button.btn {
  width: max-content;
  align-self: center;
}

/* Footer */
footer {
  background: var(--bg);
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--secondary-text);
  font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content h2 {
    font-size: 2rem;
  }
  .ad-grid {
    flex-direction: column;
  }
}

.explicit-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
  background: #ff3b3b;
  color: #fff;
}

.featured-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
  background: #04b0ce;
  color: #fff;
}