/* ============================================================
   MV Nexus Advisory – Global Styles (WEBP optimized)
   ============================================================ */

/* ========== GLOBAL ========== */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: #F5F5F5;
  background-color: #000000; /* Dark theme */
  line-height: 1.6;
}

/* ========== HEADER / NAVBAR ========== */
header {
  background-color: #000000;
  color: white;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #222;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* LOGO */
.logo img {
  max-height: 150px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo img {
    max-height: 60px;
  }
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #D4AF37; /* Gold hover / active */
}

/* LANGUAGE SWITCH */
.language-switch img {
  cursor: pointer;
  margin-left: 8px;
  border-radius: 3px;
  border: 1px solid #ffffff22;
}

/* ========== HERO SECTIONS (WEBP backgrounds) ========== */
.hero {
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  height: 90vh;
  color: white;
  position: relative;
}

/* Default hero (Home) */
.hero.home {
  background-image: url('images/hero-office.webp');
}

/* About page hero */
.hero.about {
  background-image: url('images/about-team.webp');
}

/* Services page hero */
.hero.services {
  background-image: url('images/service-consulting.webp');
}

/* Case Studies page hero */
.hero.cases {
  background-image: url('images/case-meeting.webp');
}

/* Contact page hero */
.hero.contact {
  background-image: url('images/contact-desk.webp');
}

/* Overlay and text */
.hero .overlay {
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  padding: 20px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.1rem;
  color: #D4AF37;
}

/* CTA Button */
.cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #D4AF37;
  color: #000000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.cta:hover {
  background: #c09a2f;
}

/* ========== SECTIONS ========== */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  color: #F5F5F5;
  text-align: center;
}

section h2 {
  color: #D4AF37;
  margin-bottom: 20px;
}

section p {
  color: #C0C0C0;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* About page approaches */
.approach-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 20px auto;
  text-align: left;
}

.approach-list li {
  color: #C0C0C0;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.approach-list li::before {
  content: "•";
  color: #D4AF37;
  position: absolute;
  left: 0;
}

/* About page values */
.values-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 20px auto;
  text-align: left;
}

.values-list li {
  color: #C0C0C0;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.values-list li::before {
  content: "•";
  color: #D4AF37;
  position: absolute;
  left: 0;
}

/* ========== FOOTER ========== */
footer {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 30px 10px;
  font-size: 14px;
  border-top: 1px solid #222;
}

footer a {
  color: #D4AF37;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* Social icons */
footer .social {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

footer .social a {
  color: #D4AF37;
  font-size: 22px;
  transition: transform 0.2s ease;
}

footer .social a:hover {
  transform: scale(1.2);
}

/* ===== SERVICES LIST ===== */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 60px auto;
  text-align: center;
}

.service-item i {
  font-size: 40px;
  color: #D4AF37;
  margin-bottom: 10px;
}

.service-item h2 {
  color: #D4AF37;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.service-item p {
  color: #C0C0C0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== CASE STUDIES ===== */
.case-list {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.case-item h2 {
  color: #D4AF37;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.case-item p {
  color: #C0C0C0;
  line-height: 1.6;
  font-size: 1rem;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  color: #fff;
}

.contact-container {
  max-width: 600px;
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.contact-form input,
.contact-form textarea {
  background-color: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 10px;
  border-radius: 6px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #D4AF37;
  outline: none;
}

.contact-form button {
  background-color: #D4AF37;
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #b69130;
}

.contact-direct {
  margin-top: 30px;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-direct a {
  color: #D4AF37;
  text-decoration: none;
}

.contact-direct i {
  color: #D4AF37;
  margin-right: 6px;
}

.form-status {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #D4AF37;
  text-align: center;
}

/* ============================================================
   💻 Responsive Design – Tablet Optimization (768px–1024px)
   ============================================================ */
@media (max-width: 1024px) and (min-width: 769px) {

  body {
    font-size: 1rem;
    line-height: 1.6;
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px 25px;
  }

  .navbar .logo img {
    max-width: 180px;
    height: auto;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 8px 14px;
  }

  .hero {
    height: 70vh;
    background-position: center;
    background-size: cover;
  }

  .hero-content {
    max-width: 700px;
    padding: 40px 25px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .cta {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .intro, .services-list, .case-list, .contact-section {
    padding: 60px 25px;
  }

  .service-item, .case-item {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 40px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    padding: 12px;
  }

  .contact-container {
    max-width: 700px;
    margin: 0 auto;
  }

  footer {
    padding: 30px 20px;
  }

  footer p {
    font-size: 0.9rem;
  }

  footer .social a {
    font-size: 1.3rem;
    margin: 0 10px;
  }
}

/* ============================================================
   📱 Responsive Design (Mobile Optimization)
   ============================================================ */

@media (max-width: 768px) {

  /* General layout */
  body {
    font-size: 0.95rem;
    line-height: 1.5;
    overflow-x: hidden;
  }

  /* Navbar */
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }

  .navbar .logo img {
    max-width: 140px;
    height: auto;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 6px 10px;
  }

  /* Language icons */
  .language-switch img {
    width: 20px;
    height: 14px;
  }

  /* Hero section */
  .hero {
    height: 60vh;
    background-position: center;
    background-size: cover;
  }

  .hero-content {
    padding: 20px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
    margin: 8px 0;
  }

  .cta {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  /* Intro & Sections */
  .intro,
  .services-list,
  .case-list,
  .contact-section {
    padding: 40px 15px;
  }

  .service-item,
  .case-item {
    margin-bottom: 30px;
  }

  /* Contact form */
  .contact-container {
    padding: 0 10px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  .contact-form button {
    width: 100%;
  }

  /* Footer */
  footer {
    flex-direction: column;
    text-align: center;
    padding: 20px 10px;
  }

  footer p {
    font-size: 0.85rem;
  }

  footer .social {
    margin-top: 10px;
  }

  footer .social a {
    font-size: 1.2rem;
    margin: 0 8px;
  }
}

/* Extra small screens (phones under 480px) */
@media (max-width: 480px) {
  .hero {
    height: 50vh;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .cta {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  section {
    padding: 40px 10px;
  }

  footer p {
    font-size: 0.8rem;
  }

  footer .social a {
    font-size: 1rem;
    margin: 0 6px;
  }
}

/* COOKIE BANNER (Dark Theme, Multilingual, Responsive) */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  color: #f5f5f5;
  text-align: center;
  padding: 15px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.8);
  font-size: 0.95rem;
  z-index: 2000;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cookie-banner p { margin: 0; max-width: 700px; line-height: 1.5; }
.cookie-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.cookie-link { color: #D4AF37; text-decoration: underline; font-weight: 600; align-self: center; }
.cookie-buttons button {
  background-color: #D4AF37; color: #000; border: none; padding: 8px 18px;
  border-radius: 4px; font-weight: bold; cursor: pointer; transition: background 0.2s ease;
}
.cookie-buttons button:hover { background-color: #c09a2f; }
/* Mobile */
@media (max-width: 600px) {
  .cookie-banner { font-size: 0.9rem; padding: 12px 10px; }
  .cookie-buttons { flex-direction: column; align-items: center; width: 100%; }
  .cookie-buttons button, .cookie-link { width: 80%; }
}

