/* Base styles */
:root {
  --primary-color: #d4af37;
  --secondary-color: #edc967;
  --text-color: #ffffff;
  --bg-color: #0f1334;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top left, #0f1334, #080a20 80%);
  color: var(--text-color);
  line-height: 1.6;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Navigation */
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 19, 48, 0.4);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s, box-shadow 0.3s;
}

header nav.scrolled {
  background: rgba(15, 19, 48, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logo a {
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

/* blurred gradient behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -20%;
  width: 140%;
  height: 120%;
  background: radial-gradient(circle at center, var(--primary-color), var(--secondary-color));
  opacity: 0.25;
  filter: blur(100px);
  z-index: -1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h2.subtitle {
  font-size: 1.5rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .tagline {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 800px;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Sections */
.section {
  padding: 120px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* About */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.service-card {
  padding: 40px 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #d0d5ef;
}

/* Contact */
.contact-text {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.email a {
  font-size: 1.1rem;
  color: var(--secondary-color);
  border-bottom: 1px solid var(--secondary-color);
  transition: color 0.3s, border-bottom 0.3s;
}

.email a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Footer */
footer {
  background: #0b0e22;
  padding: 40px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-content p {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #b0b5d9;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.social-links a {
  color: #b0b5d9;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
  header nav {
    padding: 15px 40px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero .tagline {
    font-size: 1rem;
  }
  .section {
    padding: 80px 20px;
  }
  .section h2 {
    font-size: 2rem;
  }
}

/* Hero logo */
.hero-logo {
  width: 120px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.6));
  /* Use blend mode so black background becomes transparent when over dark backgrounds */
  mix-blend-mode: lighten;
}

/* Watermark logo background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('logo.png');
  background-size: 400px;
  background-repeat: no-repeat;
  background-position: 90% 10%;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}
