/* =========================================================================
   VARIABLES & COLOR PALETTE
   ========================================================================= */
:root {
  /* Brand Colors from Logo */
  --color-primary: #10123b; /* Navy Blue */
  --color-secondary: #e69d35; /* Orange */
  --color-tertiary: #8bb74f; /* Green */
  
  /* Neutral Colors */
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #fdfdfd;
  --color-bg-alt: #f4f6f9;
  --color-white: #ffffff;
  --color-border: #eaeaea;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;

  /* Shadows & Transitions */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 24px rgba(16, 18, 59, 0.1);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* =========================================================================
   RESET & TYPOGRAPHY
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary);
}

ul {
  list-style: none;
}

/* =========================================================================
   REUSABLE COMPONENTS
   ========================================================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #d18d2d;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-secondary);
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
}

/* =========================================================================
   PAGE SECTIONS
   ========================================================================= */
.section {
  padding: 5rem 0;
}

.section-bg-alt {
  background-color: var(--color-bg-alt);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  min-height: 90vh;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.hero-title span {
  color: var(--color-tertiary);
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-image-wrapper {
  flex: 1;
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transform: translateY(0);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Page Header (for About, Contact, etc.) */
.page-header {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 3rem;
  background-color: var(--color-bg-alt);
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Content Area */
.content-area {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.content-area h2 {
  margin-top: 2rem;
  font-size: 1.75rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 500;
  color: var(--color-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background-color: var(--color-bg);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(230, 157, 53, 0.1);
  background-color: var(--color-white);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3rem 0;
  margin-top: auto;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

/* =========================================================================
   RESPONSIVE DESIGN (MOBILE)
   ========================================================================= */
@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2rem);
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* In a real app we'd add JS for toggling, but sticking to pure CSS static for now, or use a simple hamburger */
    /* Alternatively, for pure CSS no JS, we just show them stacked or smaller */
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
  }

  /* Basic CSS-only hack for mobile menu */
  .mobile-menu-btn {
    display: block;
  }

  /* Since we can't use JS per instructions, we will just display links below on mobile natively if needed, but flex wrap them or display inline block */
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    padding: 0;
    gap: 1.5rem;
  }

  /* If space is too tight, we shrink font */
  .nav-links a {
    font-size: 0.9rem;
  }

  /* On very small screens, force mobile layout */
  @media (max-width: 576px) {
    .nav-container {
      flex-direction: column;
      gap: 1rem;
      padding-top: 1rem;
      padding-bottom: 1rem;
    }

    .header {
      height: auto;
      padding: 10px 0;
    }

    .hero {
      padding-top: 120px; /* Adjust for taller header */
    }

    .hero-title {
      font-size: 2.2rem;
    }

    .content-area {
      padding: 1.5rem;
    }
  }
}
