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

:root {
  /* Colors */
  --c-primary: #0a192f;
  --c-primary-light: #112240;
  --c-accent: #0070f3;
  --c-accent-hover: #0056b3;
  --c-text-main: #333333;
  --c-text-muted: #666666;
  --c-bg-main: #ffffff;
  --c-bg-alt: #f5f5f7;
  --c-bg-dark: #020c1b;
  --c-white: #ffffff;

  /* Typography */
  --font-main: 'Inter', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --spacing-section: 5rem;
  
  /* Utilities */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--c-bg-main);
  color: var(--c-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  color: var(--c-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; color: var(--c-text-muted); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  font-family: var(--font-main);
}

.btn-primary {
  background-color: var(--c-accent);
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--c-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--c-white);
  border: 1px solid var(--c-white);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Header & Nav */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: var(--transition);
}

.header.scrolled {
  position: fixed;
  background-color: var(--c-primary);
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background-color: var(--c-accent);
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--c-white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--c-accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--c-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  background-color: var(--c-bg-dark);
  color: var(--c-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2,12,27,0.9) 0%, rgba(10,25,47,0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero h1 {
  color: var(--c-white);
}

.hero p.lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item h3 {
  color: var(--c-accent);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section specific styling */
.section {
  padding: var(--spacing-section) 0;
}

.section-alt {
  background-color: var(--c-bg-alt);
}

.section-dark {
  background-color: var(--c-primary);
  color: var(--c-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--c-white);
}

.section-dark p {
  color: rgba(255,255,255,0.7);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
}

/* Cards & Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.card {
  background-color: var(--c-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.card-content {
  padding: 2rem;
}

/* Testimonial */
.testimonial-box {
  background-color: var(--c-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-text {
  font-size: 1.25rem;
  color: var(--c-text-main);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  color: var(--c-primary);
}

.stars {
  color: #ffb800;
  margin-top: 5px;
}

/* Footer */
.footer {
  background-color: var(--c-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-title {
  color: var(--c-white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--c-accent);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  outline: none;
  font-family: var(--font-main);
}

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--c-accent);
  color: var(--c-white);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--c-accent-hover);
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--c-primary);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  transition: var(--transition);
  background-color: var(--c-bg-alt);
}

.form-control:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.1);
  background-color: var(--c-white);
}

/* Contact Info Box */
.contact-info-box {
  background-color: var(--c-primary);
  color: var(--c-white);
  padding: 3rem;
  border-radius: var(--radius-md);
  height: 100%;
}

.contact-info-box h3 {
  color: var(--c-white);
  margin-bottom: 2rem;
}

.contact-detail {
  margin-bottom: 2rem;
}

.contact-detail h4 {
  color: var(--c-accent);
  margin-bottom: 0.5rem;
}

.contact-detail p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
}

/* Gallery / Showcase */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Header (Inner pages) */
.page-header {
  padding: 10rem 0 4rem;
  background-color: var(--c-primary);
  color: var(--c-white);
  text-align: center;
}

.page-header h1 {
  color: var(--c-white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Media Queries */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--c-primary);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 101;
  }

  .header {
    background-color: var(--c-primary);
    padding: 1rem 0;
  }
  
  .hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  /* When nav is active, toggle hamburger to X visually if needed in JS */
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}
