/* 🌟 RESET + THEME */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --black: #000000;
  --gold: #d4af37;
  --white: #ffffff;
}

/* 🌟 BODY */
body {
  background: black;
  color: gold;
  -webkit-font-smoothing: antialiased;
}
nav {
  padding: 10px 30px;
  height: 70px;
}

.nav-links {
  gap: 25px;
  font-size: 17px;
}

nav img {
  height: 35px;
}

.login-btn .btn {
  padding: 6px 14px !important;
  font-size: 15px;
}

.brand-link {
  font-size: 24px;
}


/* 🌟 NAVBAR */
/* ✅ FIXED PERFECT NAVBAR */
nav {
  background: #000;
  color: #d4af37;
  display: flex;
  justify-content: space-between;
  align-items: center; /* ✅ aligns everything */
  padding: 12px 60px;
  border-bottom: 1px solid #d4af37;
  position: sticky;
  top: 0;
  z-index: 999;
  height: 80px; /* ensures even height */
}

/* LOGO + TEXT */
/* LOGO + BRAND FIX */
nav .brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav .brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;        /* ❌ removes underline */
  color: #d4af37;               /* ✅ gold text */
  font-weight: 700;
  font-size: 22px;
}

nav .brand-link:hover {
  color: #fff;                  /* optional hover */
}

nav .brand-link img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;       /* ✅ keeps image perfectly aligned with text */
}


/* NAV LINKS CENTERED */
nav .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex: 1; /* pushes it to center */
  margin-left: 100px;
}

nav .nav-links a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  transition: 0.3s;
}

nav .nav-links a :hover,
nav .nav-links a .active {
  color: #fff;
}

/* LOGIN BUTTON */
nav .login-btn {
  display: flex;
  align-items: center;
}

nav .login-btn .btn {
  background: #d4af37;
  color: #000;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

nav .login-btn .btn:hover {
  background: #fff;
  color: #d4af37;
}

/* 🌟 HERO SECTION */
.hero {
  background: black;
  color: gold;
  text-align: center;
  padding: 80px 10%;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  color: gold;
  opacity: 0.9;
  margin-bottom: 25px;
}

/* 🌟 BUTTONS */
.buttons .btn {
  padding: 12px 25px;
  margin: 10px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn.gold {
  background: gold;
  color: black;
}

.btn.gold:hover {
  background: black;
  color: gold;
  border: 1px solid gold;
}

.btn.outline {
  border: 1px solid gold;
  color: gold;
}

.btn.outline:hover {
  background: gold;
  color: black;
}

/* 🌟 SECTIONS */
section {
  background: black;
  color: gold;
  padding: 70px 10%;
  text-align: center;
}

section .white,
.container {
  background: black; /* 🔥 Fixes white gaps */
  color: gold;
}

/* 🌟 SERVICES */
.services-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 60px 10%;
}

.service-box {
  border: 1px solid gold;
  border-radius: 15px;
  padding: 20px;
  transition: 0.3s;
  background: black;
}

.service-box:hover {
  background: gold;
  color: black;
}

/* 🌟 WHY SECTION */
#why {
  text-align: center;
  background: black;
  padding: 60px 10%;
}

#why ul {
  list-style: none;
  padding-left: 0;
}

#why li {
  font-size: 20px;
  font-weight: 600;
  color: gold;
  margin: 10px 0;
}

#why h2 {
  font-size: 35px;
  font-weight: 700;
  color: gold;
  margin-bottom: 25px;
  text-transform: uppercase;
}

/* 🌟 FOOTER */
footer {
  text-align: center;
  background: black;
  color: gold;
  padding: 20px 10px;
  border-top: 1px solid gold;
}

/* 🌟 HR LINE */
hr {
  border: none;
  border-top: 1px solid white;
  margin: 60px 0;
  width: 100%;
  opacity: 0.7;
}

/* 🌟 RESPONSIVE FIX */
@media (max-width: 900px) {
  nav {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .services-preview {
    grid-template-columns: 1fr;
  }

  .buttons .btn {
    display: block;
    margin: 10px auto;
  }
}
/* ================= NAV RESPONSIVE FIX ================ */

/* Base tweaks */
nav {
  padding: 10px 30px;
  height: auto;              /* let it grow if it needs */
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;           /* so things can go on 2nd row */
}

/* brand + logo */
.brand-link {
  font-size: 24px;
}

/* nav links row */
.nav-links {
  display: flex;
  gap: 25px;
  font-size: 17px;
}

/* logo size */
nav img {
  height: 35px;
}

/* buttons on right */
.login-btn .btn {
  padding: 6px 14px !important;
  font-size: 15px;
}

/* greeting text */
.login-btn span {
  white-space: nowrap;        /* keep in one line when possible */
}

/* -------- Laptop / tablet (<= 1024px) ---------- */
@media (max-width: 1024px) {
  nav {
    padding: 8px 18px;
  }

  .nav-links {
    gap: 18px;
    font-size: 15px;
  }

  .login-btn {
    gap: 8px;
  }

  .login-btn .btn {
    font-size: 14px;
    padding: 6px 10px !important;
  }
}

/* -------- Small screens / phones (<= 768px) ---------- */
@media (max-width: 768px) {

  nav {
    padding: 8px 12px;
    justify-content: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
    margin-bottom: 6px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
  }

  .login-btn {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 6px;
  }

  .login-btn span {
    font-size: 13px;
  }

  .login-btn .btn {
    font-size: 13px;
    padding: 5px 9px !important;
  }
}
/* ---------- MOBILE RESPONSIVE FIX ---------- */

@media (max-width: 992px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 15px;
    text-align: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 18px;
  }

  .login-btn {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .brand-link {
    font-size: 22px;
  }

  nav img {
    height: 35px;
  }

  .hero h1 {
    font-size: 30px;
    padding: 0 10px;
  }

  .hero p {
    font-size: 18px;
  }

  .buttons a {
    width: 90%;
    font-size: 18px;
    padding: 12px;
  }
}

/* SMALL PHONES */
@media (max-width: 600px) {
  .nav-links {
    font-size: 16px;
    gap: 10px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 16px;
  }

  .login-btn .btn {
    font-size: 14px;
    padding: 8px 10px;
  }
}
