/* =========================================================
   KayMor Audio — FULL SITE STYLESHEET   (Updated)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&family=Roboto:wght@300;400;500&display=swap');

/* ---------- GLOBAL ---------- */
* { box-sizing: border-box; }
html, body {
  height: 100%;
  overflow-x: hidden;
  background-color: #000;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', sans-serif;
  background: url('../assets/images/bg-texture.png') fixed center/cover;
  color: #fff;
  scroll-behavior: smooth;
}
a {
  color: #4da6ff;
  text-decoration: none;
  font-weight: 500;
}
a:hover {
  text-decoration: underline;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.container.narrow {
  max-width: 700px;
}
h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin: 0 0 .6rem;
}
h1 { font-size: 2.1rem; margin-top: .3rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }

/* ---------- HEADER & NAV ---------- */
.main-header {
  background: rgba(0, 0, 0, .55);
  padding: 1rem 0;
  position: relative;
  z-index: 100;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-small {
  max-height: 60px;
}
.logo-small.decorated {
  border-radius: 12px;
  background: rgba(0, 0, 0, .5);
  padding: 6px;
  box-shadow: 0 0 10px rgba(77, 166, 255, .45);
}
.nav-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}
.nav-links {
  list-style: none;
  flex-direction: column;
  position: absolute;
  right: 1rem;
  top: 68px;
  background: rgba(0, 0, 0, .92);
  border-radius: 8px;
  width: 200px;
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}
.nav-links li {
  padding: .65rem 1.2rem;
}
.nav-links a {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  display: block;
}
.nav-links.visible {
  max-height: 500px;
}
@media(min-width: 769px) {
  .nav-links { right: 2rem; }
}

/* ---------- HOME HERO ---------- */
.hero-section {
  text-align: center;
  padding: 6rem 1rem 3.5rem;
}
.hero-overlay {
  background: rgba(0, 0, 0, .65);
  display: inline-block;
  padding: 2.2rem 3rem;
  border-radius: 14px;
}
.hero-logo {
  width: 370px;
  max-width: 95%;
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* ---------- GENERAL SECTION STYLES ---------- */
.section-dark {
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .78) 15%, rgba(0, 0, 0, .78) 85%, transparent 100%);
  padding: 3rem 1rem;
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}
.section-image {
  background-size: cover;
  background-position: center;
  padding: 5rem 1rem;
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-image .overlay {
  background: rgba(0, 0, 0, .88); /* Updated for better contrast */
  padding: 2rem;
  border-radius: 12px;
  display: inline-block;
}
.padded {
  margin-bottom: 3rem;
}

/* ---------- SERVICES PAGE ---------- */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.05rem;
  line-height: 2;
  text-align: left;
  max-width: 600px;
  margin-inline: auto;
}
.service-list i {
  color: #4da6ff;
  margin-right: .6rem;
  font-size: 1.1rem;
}
.service-detail {
  margin: 2.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 2rem;
}
.service-detail:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.service-detail h3 {
  margin-bottom: .5rem;
  font-size: 1.3rem;
  font-family: 'Poppins', sans-serif;
}

/* ---------- TEAM (ABOUT) ---------- */
.team-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.team-card {
  width: 280px;
  text-align: center;
}
.team-photo {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #000;
  margin: 0 auto 1.2rem;
}
.title-bg {
  width: 100%;
  background: rgba(255, 255, 255, .12);
  padding: .7rem 1.2rem;
  border-radius: 10px;
  border: 1px solid #4da6ff;
  display: inline-block;
  margin-bottom: .8rem;
  line-height: 1.35rem;
}
.role {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}
.title-bg small {
  display: block;
  font-size: .83rem;
  color: #bbb;
  margin-top: .25rem;
  font-weight: 300;
}
.team-card p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.55rem;
  font-family: 'Roboto', sans-serif;
}

/* ---------- CONTACT PAGE ---------- */
.contact-hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
}
.contact-overlay {
  background: rgba(0, 0, 0, .65);
  display: inline-block;
  padding: 1.8rem 2.5rem;
  border-radius: 14px;
}
.contact-logo {
  width: 320px;
  max-width: 90%;
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}
.mini-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  justify-content: center;
  margin-top: 1.8rem;
}
.mini-card {
  text-align: center;
  max-width: 200px;
}
.mini-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #000;
  margin: 0 auto .8rem;
}
.mini-name {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.4rem;
}
.mini-name small {
  display: block;
  font-weight: 300;
  font-size: .8rem;
  color: #bbb;
}
.mini-phone {
  display: block;
  margin-top: .45rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

/* ---------- FOOTER ---------- */
.footer-combined {
  background: #000;
  text-align: center;
  padding: 2.5rem 1rem;
  font-family: 'Roboto', sans-serif;
}
.social-icons {
  margin: 1.5rem 0;
}
.social-icons i {
  font-size: 2.2rem;
  color: #4da6ff;
  margin: 0 14px;
  transition: .3s;
}
.social-icons i:hover {
  color: #fff;
}

/* ---------- FADE-IN ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- HERO LOGO ANIMATION ---------- */
.hero-logo {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.hero-logo.visible {
  opacity: 1;
  transform: scale(1);
}

/* === Mobile Brightness Fix for About Page Photos === */
@media (max-width: 768px) {
  .team-photo {
    filter: brightness(85%) contrast(85%);
  }
}
