/* ------------------ Global Styles ------------------ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #000;
  color: #fff;
}

/* Root color variables */
:root {
  --accent: #ffd700; /* Gold accent color */
  --bg-dark: #111;   /* Dark background for sections/cards */
  --max-content-width: 1200px; /* Overall max-width for main sections */
}

/* ------------------ Container & Section Spacing ------------------ */
.container {
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 15px;
}

.section-container {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

section {
  padding: 60px 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------ Navbar / Header ------------------ */
.custom-navbar {
  background-color: var(--bg-dark);
  border-bottom: 2px solid var(--accent);
  animation: slideDown 0.8s ease-out forwards;
  padding: 10px 0;
}

.brand-text {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  color: var(--accent);
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--accent) !important;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ------------------ HERO SECTION ------------------ */
#hero {
  position: relative;
  height: 95vh;
  background: url("hero-bg.jpg") center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 72px; /* Offset for fixed navbar */
  animation: backgroundZoom 20s ease-in-out infinite alternate;
}

@keyframes backgroundZoom {
  from { background-size: 100%; }
  to   { background-size: 110%; }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-content-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

.shimmer {
  font-family: 'Bebas Neue', cursive;
  font-size: 3.5rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent), #fff, var(--accent));
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.hero-content p.lead {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.hero-btn {
  font-weight: 500;
  border-radius: 30px;
  padding: 0.8rem 2.5rem;
  background-color: var(--accent);
  color: #000;
  transition: background 0.3s, transform 0.3s;
  border: none;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  animation: pulse 2s infinite;
}

.hero-btn:hover {
  transform: scale(1.05);
  background-color: #000;
  color: var(--accent);
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Scroll Down Indicator */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

.scroll-down .arrow {
  border: solid var(--accent);
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 10px;
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0) rotate(45deg); }
  50% { transform: translate(-50%, 10px) rotate(45deg); }
}

/* ------------------ Section Headings ------------------ */
.section-heading {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.5rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

/* ------------------ ABOUT, CONTENT & DISCLAIMER ------------------ */
#about p,
#disclaimer p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
}

/* ------------------ FEATURES SECTION ------------------ */
#features {
  background-color: var(--bg-dark);
}

.feature-card {
  background-color: #111;
  border: 2px solid var(--accent);
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 5px;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.feature-card .card-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.feature-card .card-text {
  line-height: 1.6;
}

/* ------------------ SCREENSHOTS SECTION ------------------ */
.gallery-grid .gallery-item {
  border: 2px solid var(--accent);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}

.gallery-grid .gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.7);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* ------------------ INSTALLATION SECTION ------------------ */
#installation {
  background-color: var(--bg-dark);
}

.installation-steps {
  max-width: 650px;
  margin: 0 auto;
}

.installation-steps li {
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
  background-color: transparent;
  margin-bottom: 8px;
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

.download-btn {
  font-weight: 500;
  border-radius: 30px;
  padding: 0.8rem 2.5rem;
  background-color: var(--accent);
  color: #000;
  transition: background 0.3s, transform 0.3s;
  border: none;
  display: inline-block;
  text-align: center;
  margin-top: 20px;
}

.download-btn:hover {
  transform: scale(1.05);
  background-color: #000;
  color: var(--accent);
}

/* ------------------ FAQ SECTION ------------------ */
.faq-item .accordion-button {
  background-color: var(--bg-dark);
  color: #fff;
  border: 2px solid var(--accent);
  font-weight: 500;
  letter-spacing: 1px;
}

.faq-item .accordion-button:hover {
  background-color: #000;
  color: var(--accent);
}

.faq-item .accordion-button:not(.collapsed) {
  background-color: var(--accent);
  color: #000;
}

.faq-item .accordion-body {
  background-color: #000;
  color: #fff;
  border-top: 1px solid var(--accent);
  line-height: 1.6;
}

/* ------------------ CONTENT SECTION ONE ------------------ */
#content-section {
  background: #000;
  padding-top: 60px;
  padding-bottom: 60px;
}

#content-section .lead {
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  text-align: center;
}

#content-section .card {
  background-color: var(--bg-dark);
  border: 2px solid var(--accent);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  margin-bottom: 20px;
  border-radius: 8px;
}

#content-section .card:hover {
  transform: translateY(-5px);
}

#content-section .card-title {
  font-family: 'Bebas Neue', cursive;
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

#content-section .card-text {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

#content-section .row.g-4 {
  margin-top: 30px;
}

#content-section h2.section-heading {
  margin-bottom: 40px;
}

/* ------------------ DISCLAIMER SECTION ------------------ */
#disclaimer {
  background-color: var(--bg-dark);
}

/* ------------------ FOOTER ------------------ */
footer {
  background-color: var(--bg-dark);
  border-top: 2px solid var(--accent);
  text-align: center;
  padding: 20px 0;
}

/* ------------------ MODERN PAGES (Home, Disclaimer, etc.) ------------------ */
/* Shared styles for the pages that include header and footer, ensuring consistency */
header, footer {
  width: 100%;
}

/* ------------------ MEDIA QUERIES ------------------ */
@media (max-width: 768px) {
  .shimmer {
    font-size: 2.2rem;
  }
  
  .hero-content p.lead {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  
  .hero-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.8rem;
  }
  
  .section-heading {
    font-size: 2rem;
  }
  
  .feature-card .card-title {
    font-size: 1.2rem;
  }
  
  #content-section .card-title {
    font-size: 1.1rem;
  }
}
