@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

/* Variables and Theme Tokens */
:root {
  --primary: #d4af37; /* Metallic gold */
  --primary-hover: #b5952f;
  --bg-dark: #0f0f0f; /* Deep dark background */
  --bg-card: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #b0b0b0;
  --border-subtle: rgba(212, 175, 55, 0.2);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Globals */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: #000;
}

/* ================================
   Navbar
================================ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.25rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(15px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: padding 0.3s ease;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo span {
  color: var(--primary);
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.navbar a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  transition: var(--transition);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: var(--primary);
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar a:hover {
  color: var(--primary);
}

/* ================================
   Hero Section
================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  /* Fallback dark background before image loads */
  background: 
    linear-gradient(to right, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.7) 100%), 
    url('images/hero.png') center/cover no-repeat fixed;
  position: relative;
}

/* Optional Overlay Effect */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, #0f0f0f 100%);
  z-index: 1;
}

.hero-content {
  max-width: 650px;
  z-index: 2;
  position: relative;
  animation: fadeUp 1s ease-out backwards 0.3s;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #0f0f0f;
  padding: 1.1rem 2.5rem;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* ================================
   History Section
================================ */
.history {
  padding: 8rem 5%;
  display: flex;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
  background: var(--bg-dark);
}

.history-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.history-image::after {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  z-index: 0;
  transition: var(--transition);
}

.history-image:hover::after {
  top: 10px;
  left: -10px;
}

.history-image img {
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  filter: grayscale(20%);
  transition: var(--transition);
}

.history-image:hover img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.history-text {
  flex: 1;
  min-width: 320px;
}

.history-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-weight: 800;
  line-height: 1.1;
}

.history-text h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin-top: 1rem;
}

.history-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

.stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* ================================
   Services Section
================================ */
.services {
  padding: 8rem 5%;
  background: #121212;
  text-align: center;
}

.services h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.services .subtitle {
  color: var(--primary);
  margin-bottom: 4rem;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.02);
  transition: var(--transition);
  position: relative;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  border-bottom-color: var(--primary);
  background: #1a1b1c;
}

.service-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.08);
}

.card-info {
  padding: 2.5rem 2rem;
  text-align: left;
  position: relative;
  background: var(--bg-card);
}

.card-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.card-info p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ================================
   Footer
================================ */
.footer {
  background: #080808;
  padding: 6rem 5% 3rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.03);
}

.footer h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer h3 span {
  color: var(--primary);
}

.footer > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-info {
  margin-bottom: 3rem;
}

.contact-info p {
  margin: 0.5rem 0;
  color: #ddd;
  font-size: 1.1rem;
}

.contact-info strong {
  color: var(--primary);
}

.socials {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.socials a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.socials a:hover {
  color: var(--primary);
}

.copy {
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
}

/* ================================
   Animations & Responsive
================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .history {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  .history-text h2::after {
    margin: 1rem auto 0;
  }
  .stats {
    justify-content: center;
  }
  .history-image::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar ul {
    gap: 1.2rem;
  }
  .navbar a {
    font-size: 0.8rem;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .services, .history {
    padding: 5rem 5%;
  }
}

@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .navbar ul {
    width: 100%;
    justify-content: center;
  }
  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}