
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: linear-gradient(-45deg, #0a0a0a, #111, #1c1c1c, #0a0a0a);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0px;
  background: rgba(0,0,0,0.9);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  height: 50px;
}

.navbar nav {
  display: flex;
  gap: 20px;
}

.navbar a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.navbar a:hover { color: #fff; }

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #FFD700;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #111;
    flex-direction: column;
    width: 200px;
    display: none;
    padding: 20px;
    border-radius: 0 0 0 10px;
  }
  .navbar nav.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.animate-text { font-size: 2.5rem; animation: fadeInDown 2s ease; }
.animate-fade { font-size: 1.1rem; animation: fadeIn 3s ease; }

/* Services */
.services {
  padding: 80px 30px;
  text-align: center;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.card {
  background: #111;
  padding: 20px;
  border-radius: 15px;
  transition: transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #FFD70055;
}
.card img {
  width: 100%;
  border-radius: 10px;
}
.card h3 { margin: 15px 0 10px; color: #FFD700; }

/* Footer */
    footer{background:#050506;padding:40px 20px;margin-top:40px;border-top:1px solid rgba(255,255,255,0.04)}
    .footer-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:28px;max-width:1200px;margin:auto;align-items:start}
    .footer-logo{width:110px}
    .footer h3{color:var(--gold);margin-bottom:12px}
    .footer a{color:#cfcfd6;text-decoration:none}
    .footer-bottom{border-top:1px solid rgba(255,255,255,0.03);padding-top:18px;margin-top:20px;color:#9a9aa6;text-align:center}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-top-image {
  width: 100%;
  max-width: 800px;
  margin-bottom: 20px;
}

.hero-top-image img {
  width: auto;
  height: 300px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}
/* -------- Thank You Page Styles -------- */
.thankyou-container {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  margin: 10% auto;
  text-align: center;
  color: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  animation: thankyouFade 1s ease-in-out;
}

.thankyou-logo {
  width: 100px;
  margin-bottom: 20px;
}

.thankyou-container h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #FFD700;
}

.thankyou-container p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.thankyou-btn {
  text-decoration: none;
  padding: 12px 25px;
  background: #FFD700;
  color: #000;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.thankyou-btn:hover {
  background: #ffcc00;
  transform: scale(1.05);
}

@keyframes thankyouFade {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}
/* Footer */
.footer {
  background: #0d0d0d;
  color: #aaa;
  padding: 50px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.footer h3 {
  color: #FFD700;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin: 8px 0;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #FFD700;
}

.social-icons a img {
  width: 30px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 5px #FFD700);
}

.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}
/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #0a0a0a;
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  z-index: 9999;
  animation: fadeOut 1s ease 2.5s forwards;
}

.loading-logo {
  width: 120px;
  animation: bobble 2s infinite ease-in-out;
  margin-bottom: 20px;
}

#loading-screen p {
  color: #FFD700;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  margin-top: 10px;
}

@keyframes bobble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

/* Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
/* ==============================
   Contact Page Styles (Scoped)
   ============================== */

/* Contact Section */
.contact-section {
  max-width: 700px;
  margin: 80px auto;
  padding: 40px;
  background: #111;
  border-radius: 12px;
  color: #f5f5f5;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.contact-section h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-section p {
  margin-bottom: 30px;
  color: #aaa;
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  outline: none;
  background: #1b1b1b;
  color: #fff;
  font-size: 1rem;
}

.contact-section input::placeholder,
.contact-section textarea::placeholder {
  color: #888;
}

.contact-section textarea {
  height: 120px;
  resize: none;
}

.btn {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #111;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(212,175,55,0.5);
}
/* Loyalty Section */
.auth-section, #customer-dashboard, #admin-dashboard {
  text-align: center;
  padding: 30px;
}

.progress-container {
  width: 100%;
  background: #333;
  border-radius: 10px;
  margin: 10px 0;
  height: 20px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, gold, orange);
  width: 0%;
  transition: width 0.5s ease-in-out;
}
.tier-section h3 {
  margin-top: 15px;
  color: #f5f5f5;
}
/* === Legal Pages Section === */
.legal-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.legal-card {
  background: var(--card-bg, #1a1a1a);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  text-align: center;
  padding: 25px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: var(--text-color, #fff);
}

.legal-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.legal-card h2 {
  font-size: 1.3rem;
  margin: 10px 0;
  color: var(--accent-color, #ff3b3b);
}

.legal-card p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.5;
}

.legal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  border-color: var(--accent-color, #ff3b3b);
}
