@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@600;700;800&display=swap");

:root {
  /* Colors */
  --primary: #0a192f;
  --primary-light: #112240;
  --secondary: #4a5568;
  --accent: #d4af37;
  --accent-hover: #b8962e;
  --text-main: #1a202c;
  --text-muted: #4a5568;
  --text-light: #e2e8f0;
  --bg-main: #ffffff;
  --bg-offset: #f8fafc;
  --white: #ffffff;

  /* Layout */
  --header-height: 80px;
  --container-max-width: 1200px;
  --section-padding: 100px 0;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-main);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.inline-image {
    width: 100%;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    max-height: 400px;
}

.image-caption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: -15px;
    margin-bottom: 30px;
    font-style: italic;
}

/* Reusable Components */

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--primary);
}

/* Header Styles */
header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: transparent;
}

header.scrolled {
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(10px);
  height: 70px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Sections */
.hero, .page-hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--white);
    width: 100%;
}

.page-hero {
    height: 550px; /* Increased from 450px for better framing */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.hero-content, .page-hero .container {
    position: relative;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 47, 0.45), rgba(10, 25, 47, 0.7));
    z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Service Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--bg-offset);
  padding: 40px;
  border-radius: 8px;
  transition: var(--transition-smooth);
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.footer-col p {
  color: var(--text-light);
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-light);
  opacity: 0.8;
}

.footer-links a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 30px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Responsive */
@media (max-width: 991px) {
    :root {
        --section-padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-slider {
        height: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .page-hero {
        height: 400px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .stats .container > div {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}
