/* ============================================
   LANDING PAGE STYLES
   ============================================ */

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

:root {
  --nav-height: 100px;
}

/* ensure page content doesn't sit under fixed navbar */
body {
  padding-top: var(--nav-height);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
  background: #BCB812; /* solid primary color */
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 10000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 0 4px; /* pushed further left */
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: 0; /* ensure logo itself has no extra left offset */
}

.logo-image {
  max-height: calc(var(--nav-height) * 1.05);
  width: auto;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
  display: block;
  object-fit: contain;
}

.logo-image:hover {
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.3));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #BCB812;
}

  .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #BCB812;
  transition: width 0.3s ease;
}

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

  .nav-btn {
  background: white;
  color: #BCB812;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
}

.nav-btn::after {
  display: none;
}

  .nav-btn:hover {
  background: #9E9A10;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: url('/static/landing_image.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 100px 20px;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
  font-size: 4em;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  animation: slideInDown 0.8s ease-out;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: 300;
  color: #ffffff;
  animation: slideInUp 0.8s ease-out 0.2s both;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ffffff;
  animation: slideInUp 0.8s ease-out 0.4s both;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-button {
  display: inline-block;
  background: #ffffff;
  color: #333;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.2);
  animation: slideInUp 0.8s ease-out 0.6s both;
  border: 2px solid #ffffff;
}

  .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(188, 184, 18, 0.25);
  background: #BCB812;
  color: #ffffff;
  border-color: #BCB812;
}

/* ============================================
   HERO IMAGE SECTION - HIDDEN (Now used as background)
   ============================================ */
.hero-image {
  display: none;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 80px 20px;
  background: white;
}

.about h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #333;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

  .about-text h3 {
  font-size: 1.8em;
  color: #BCB812;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

  .feature {
    background: linear-gradient(135deg, #BCB81215 0%, #9E9A1015 100%);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
    border-left: 4px solid #BCB812;
}

  .feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(188, 184, 18, 0.12);
}

.feature-icon {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.feature h4 {
  font-size: 1.2em;
  color: #333;
  margin-bottom: 8px;
}

.feature p {
  color: #666;
  font-size: 0.95em;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #333;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    display: block;
    object-fit: contain;
  }
  .logo-image:hover {
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.25));
  }
  gap: 20px;
  margin-bottom: 25px;
}

.info-item .icon {
  font-size: 2em;
  min-width: 50px;
}

.info-item .label {
  font-size: 0.9em;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-item .value {
  font-size: 1.1em;
  color: #333;
  font-weight: 500;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  transition: all 0.3s ease;
}

  .contact-form input:focus,
  .contact-form textarea:focus {
  outline: none;
  border-color: #BCB812;
  box-shadow: 0 0 0 3px rgba(188, 184, 18, 0.1);
}

.error-message {
  color: #ef4444;
  font-size: 0.85em;
  margin-top: 3px;
  min-height: 18px;
}

  .submit-btn {
  background: linear-gradient(135deg, #BCB812 0%, #9E9A10 100%);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

  .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(188, 184, 18, 0.35);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-message {
  padding: 12px 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  min-height: 20px;
}

.form-message.success {
  background: #dcfce7;
  color: #166534;
  border-left: 4px solid #16a34a;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #dc2626;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #2d3748;
  color: white;
  padding: 50px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

  .footer-section h4 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #BCB812;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95em;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

  .footer-section a:hover {
  color: #BCB812;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }

  /* Scale down navbar logo on tablet */
  .logo-image {
    max-height: calc(var(--nav-height) * 1.02);
  }

  .hero-content h1 {
    font-size: 2.5em;
  }

  .hero-content h2 {
    font-size: 1.5em;
  }

  .hero-content p {
    font-size: 1em;
  }

  .about h2,
  .contact h2 {
    font-size: 1.8em;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  /* Scale down navbar logo on small phones */
  .logo-image {
    max-height: calc(var(--nav-height) * 1);
  }

  .nav-links {
    gap: 0.6rem;
  }
}