/* ---------- Base Styles ---------- */

:root {
  --bg-dark: #0a0a0a;
  --bg-gradient: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
  --text-light: #e0e0e0;
  --text-muted: #999;
  --accent-silver: #c0c0c0;
  --accent-red: #d62424;
  --transition: 0.3s ease-in-out;
  --font-main: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background: var(--bg-gradient);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--accent-silver);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-red);
}

/* ---------- Layout Containers ---------- */

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-head h2 {
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--accent-silver);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-muted);
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.nav .brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-silver);
  letter-spacing: 1px;
}

.nav-links a {
  margin-left: 20px;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.btn-small {
  background: var(--accent-red);
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 500;
}

.btn-small:hover {
  background: #ff3b3b;
}

/* ---------- Hero Section ---------- */

.hero {
  position: relative;
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  filter: brightness(0.35);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,0,0,0.15), rgba(0,0,0,0.9));
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  padding: 0 20px;
}

.site-title {
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-silver);
  text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.site-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 10px;
  margin-bottom: 25px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn, .btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn {
  background: var(--accent-red);
  color: #fff;
}

.btn:hover {
  background: #ff3b3b;
}

.btn-outline {
  border: 1px solid var(--accent-silver);
  color: var(--accent-silver);
}

.btn-outline:hover {
  color: #fff;
  border-color: var(--accent-red);
  background: rgba(214,36,36,0.1);
}

/* ---------- About ---------- */

.about p {
  text-align: center;
  max-width: 700px;
  margin: 15px auto;
  color: var(--text-light);
}

.about .muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Gallery / Wallpapers ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
  transition: var(--transition);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.card:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.card-meta {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
}

.card-meta h3 {
  color: var(--accent-silver);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.card-meta p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.center {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Blog ---------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.post {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.post:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255,255,255,0.05);
}

.post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-content h3 {
  color: var(--accent-silver);
  margin-bottom: 10px;
}

.post-content p {
  color: var(--text-muted);
  margin-bottom: 10px;
}

.read-more {
  font-size: 0.9rem;
  color: var(--accent-red);
}

/* ---------- Gear ---------- */

.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gear-item {
  background: #111;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.gear-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255,255,255,0.05);
}

.gear-item h4 {
  color: var(--accent-silver);
  margin-bottom: 5px;
}

.gear-item .muted {
  color: var(--text-muted);
  margin-bottom: 10px;
}

.link {
  color: var(--accent-red);
  font-size: 0.9rem;
}

/* ---------- Newsletter ---------- */

.newsletter form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

input[type="email"] {
  padding: 12px 18px;
  border-radius: 25px;
  border: none;
  outline: none;
  width: 250px;
  font-family: var(--font-main);
}

.btn[type="submit"] {
  padding: 12px 28px;
}

/* ---------- Footer ---------- */

.footer {
  background: #0c0c0c;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer .brand {
  font-weight: 600;
  color: var(--accent-silver);
  font-size: 1.2rem;
}

.footer .muted {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer a {
  color: var(--accent-silver);
}

.footer a:hover {
  color: var(--accent-red);
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
  }

  .nav-links {
    margin-top: 10px;
  }

  .site-title {
    font-size: 2.2rem;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    height: 80vh;
  }
}
