/* style.css – modern, bold, competition-ready */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fafafc;
  color: #1a1e2b;
  line-height: 1.5;
  overflow-x: hidden;
}

/* color palette */
:root {
  --navy: #0b1b33;
  --deep-navy: #071126;
  --gold: #d4af37;
  --light-gold: #ead6a5;
  --off-white: #f5f3f0;
  --slate: #3a4a5c;
  --pure-white: #ffffff;
  --shadow: 0 20px 35px -8px rgba(0,0,0,0.15);
  --shadow-soft: 0 10px 25px -5px rgba(0,0,0,0.05);
}

/* typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .subhead {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  padding: 0.4rem 1.2rem;
  border-radius: 40px;
  margin-bottom: 1rem;
}

.section-header.light .subhead {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.section-header p {
  font-size: 1.2rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gold);
  color: var(--deep-navy);
  box-shadow: 0 8px 18px -6px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
  background: #e6c451;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -8px #d4af37;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--deep-navy);
}

/* container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* header / navbar */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(7, 17, 38, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.8rem 2rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo-text {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--pure-white);
  letter-spacing: -0.5px;
}

.logo-text .light {
  font-weight: 300;
  color: var(--gold);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--off-white);
  font-weight: 500;
  font-size: 1rem;
  transition: 0.2s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta .phone-glow {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 60px;
  padding: 0.5rem 1.5rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s;
}

.nav-cta .phone-glow:hover {
  background: var(--gold);
  color: var(--deep-navy);
  border-color: var(--gold);
}

/* hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center 30%;
  color: white;
  padding: 7rem 2rem 5rem;
}

.hero-content {
  max-width: 800px;
  margin-left: 5%;
  z-index: 5;
}

.hero-tagline {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.8rem;
  border-radius: 40px;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,215,0,0.3);
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.hero .accent {
  color: var(--gold);
  text-decoration: underline 4px;
  text-underline-offset: 12px;
}

.hero p {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.hero-stats div {
  font-weight: 300;
  font-size: 1rem;
  opacity: 0.8;
}

.hero-stats span {
  font-weight: 700;
  font-size: 1.8rem;
  display: block;
  color: var(--gold);
  line-height: 1.2;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: white;
  opacity: 0.6;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
  40% {transform: translateX(-50%) translateY(-15px);}
  60% {transform: translateX(-50%) translateY(-7px);}
}

/* services */
.services {
  padding: 6rem 0;
  background: var(--pure-white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.service-card {
  background: #fafafc;
  border-radius: 40px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: 0.3s ease;
  border: 1px solid rgba(0,0,0,0.02);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow);
  border-color: var(--light-gold);
}

.card-icon {
  background: var(--deep-navy);
  width: 80px;
  height: 80px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem;
  color: var(--gold);
  font-size: 2.5rem;
  border-bottom: 4px solid var(--gold);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: capitalize;
}

/* gallery */
.gallery {
  padding: 6rem 0 4rem;
  background: var(--deep-navy);
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 1400px;
  margin: 3rem auto 2rem;
  padding: 0 2rem;
}

.gallery-item {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1 / 1.2;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.5);
  transition: 0.4s;
  border: 2px solid transparent;
}

.gallery-item:hover {
  border-color: var(--gold);
  transform: scale(1.02);
  box-shadow: 0 25px 35px -8px #000;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-note {
  text-align: center;
  color: var(--light-gold);
  font-size: 1.1rem;
  margin: 2rem 0 0;
  font-weight: 300;
}

.gallery-note i {
  margin-right: 0.5rem;
}

/* contact */
.contact {
  padding: 6rem 0;
  background: var(--pure-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 {
  margin: 0.5rem 0 2rem;
}

.contact-details {
  list-style: none;
  margin: 2.5rem 0;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.2rem;
  margin-bottom: 1.6rem;
}

.contact-details i {
  width: 42px;
  height: 42px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
}

.contact-details a {
  text-decoration: none;
  color: var(--deep-navy);
  font-weight: 500;
  transition: 0.2s;
}

.contact-details a:hover {
  color: var(--gold);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
}

.trust-badge {
  background: #eef2f5;
  padding: 0.8rem 1.8rem;
  border-radius: 60px;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--slate);
}

.map-frame {
  background: #ddd;
  border-radius: 48px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid white;
  height: 360px;
  position: relative;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* footer */
.footer {
  background: var(--deep-navy);
  color: #b7b7c0;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  color: white;
}

.footer-logo img {
  height: 36px;
}

.footer-links a {
  color: #c5c5cf;
  text-decoration: none;
  margin: 0 0.5rem;
  text-transform: capitalize;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-social a {
  color: var(--gold);
  margin: 0 0.4rem;
  font-size: 1.3rem;
  opacity: 0.8;
  transition: 0.2s;
}

.footer-social a:hover {
  opacity: 1;
  transform: scale(1.2);
}

hr {
  border: 0.5px solid #2e3850;
  margin: 2rem 0 1rem;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
}

/* back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gold);
  color: var(--deep-navy);
  width: 48px;
  height: 48px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: 0.2s;
  z-index: 99;
  text-decoration: none;
}

.back-to-top:hover {
  background: white;
  transform: scale(1.1);
}

/* responsiveness */
@media (max-width: 900px) {
  .nav-menu { display: none; } /* simplified for contest – in real scenario we'd use hamburger, but layout remains clean */
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .hero-content { margin-left: 0; }
  .nav-container { justify-content: space-between; }
  .navbar { padding: 0.5rem 1rem; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .btn { padding: 0.8rem 1.8rem; }
}