@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=La+Belle+Aurore&family=Architects+Daughter&display=swap');

:root {
  --primary: #0a061a;
  --secondary: #00f2ff;
  --accent: #ff00ff;
  --text: #f4f4f4;
  --text-muted: #b4b4b4;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --handwritten: 'Architects Daughter', cursive;
  --organic: 'La Belle Aurore', cursive;
  --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: var(--primary);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Base Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  background: rgba(18, 11, 45, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -1px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(18, 11, 45, 0.9), rgba(18, 11, 45, 0.7)),
    url('hero.png') center/cover no-repeat;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  animation: slideUp 1s ease-out forwards;
}

.hero h1 {
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fff 30%, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
}

.hand-note {
  font-family: var(--organic);
  color: var(--secondary);
  font-size: 1.8rem;
  position: absolute;
  transform: rotate(-5deg);
  opacity: 0.8;
  pointer-events: none;
}

.hero .hand-note {
  top: 15%;
  right: 15%;
  border-bottom: 2px solid var(--secondary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 1.25rem 2.5rem;
  background: var(--secondary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(0, 242, 255, 0.5);
}

/* Services */
.services {
  padding: 10rem 0;
  background: var(--primary);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.section-head {
  text-align: center;
  margin-bottom: 5rem;
}

.section-head h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.service-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary);
}

.service-img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-info {
  padding: 2.5rem;
}

.service-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.service-info p {
  color: var(--text-muted);
}

/* About Section */
.about-section {
  padding: 10rem 0;
  background: #0d0724;
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 242, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
}

.blueprint-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url('blueprints.png') center/cover no-repeat;
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-img-wrapper {
  position: relative;
  border-radius: 12px;
  /* Less synthetic roundness */
  padding: 1rem;
  background: var(--glass);
  transform: rotate(-1deg);
}

.about-img {
  width: 100%;
  display: block;
  border-radius: 4px;
  filter: grayscale(20%) contrast(110%);
}

.about-content h2 {
  font-size: 3.8rem;
  margin-bottom: 2rem;
  line-height: 1;
}

.about-content h2 span {
  font-family: var(--handwritten);
  display: block;
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.handwritten-sidebar {
  font-family: var(--handwritten);
  font-size: 1.1rem;
  color: var(--secondary);
  border-left: 2px solid var(--secondary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  max-width: 400px;
  line-height: 1.4;
}

.about-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item h4 {
  font-size: 2.5rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* About/Contact */
.contact-section {
  padding: 10rem 0;
  background: linear-gradient(to bottom, var(--primary), #0a061a);
}

.contact-box {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-text h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.contact-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.contact-details i {
  color: var(--secondary);
  font-size: 1.5rem;
}

.contact-cta {
  text-align: right;
}

.phone-link {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}

.phone-link span {
  color: var(--secondary);
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  padding: 4rem 0;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  background: #0a061a;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    grid-template-columns: 1fr;
    padding: 3rem;
    text-align: center;
  }

  .contact-cta {
    text-align: center;
  }

  .phone-link {
    font-size: 2rem;
  }
}