/* ===== Color Variables ===== */
:root {
  --olive-green: #628648;
  --olive-green-dark: #4A6B35;
  --olive-green-light: #7FA366;
  --yellow: #FFD700;
  --yellow-light: #FFEB3B;
  --white: #FFFFFF;
  --text-dark: #333333;
}

/* ===== Base Styles ===== */
body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  line-height: 1.6;
  color: var(--text-dark);
  padding-top: 100px;
}

/* ===== Navbar ===== */
.navbar {
  background: var(--olive-green) !important;
  padding: 15px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
}

.navbar.scrolled {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-logo {
  flex-shrink: 0;
  margin-right: 50px;
}

.navbar-brand {
  padding: 0;
  margin: 0;
}

.navbar-brand img {
  height: 80px;
}

.navbar-menu {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.navbar-menu .navbar-nav {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 5px;
  padding: 8px 15px !important;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

.navbar-nav .nav-link:hover {
  color: var(--yellow) !important;
}

.navbar-toggler {
  border: 2px solid var(--white);
  border-radius: 5px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  flex-shrink: 0;
  margin-left: 8px;
}

.navbar-contact-link {
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  line-height: 1.2;
}

.navbar-contact-link:hover {
  color: var(--yellow) !important;
}

.navbar-contact-link i {
  font-size: 0.9rem;
}

.btn-order {
  background: var(--yellow);
  color: var(--olive-green-dark);
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: 15px;
  margin-right: 0;
  text-decoration: none;
  display: inline-block;
}

.btn-order:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  color: var(--olive-green-dark);
}

/* ===== Hero Section ===== */
.hero {
  background: var(--olive-green);
  background-image: url('../images/header.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.hero-buttons .btn {
  padding: 15px 35px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--yellow);
  color: var(--olive-green-dark);
  border: none;
}

.btn-primary:hover {
  background: var(--yellow-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  color: var(--olive-green-dark);
}

.btn-outline-light {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--olive-green);
  transform: translateY(-3px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Section Styles ===== */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--olive-green-dark);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}

/* ===== About Section ===== */
#about {
  background: #F8F9FA;
}

.about-features {
  margin-top: 2rem;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-box i {
  color: var(--yellow);
  font-size: 1.5rem;
}

.feature-box span {
  font-weight: 600;
  color: var(--olive-green-dark);
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.about-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image:hover .about-img {
  transform: scale(1.05);
}

/* ===== Services Section ===== */
.services-section {
  background: var(--white);
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--yellow);
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.service-card:hover .service-image {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

.service-card h4 {
  color: var(--olive-green-dark);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.8;
}

.service-features {
  list-style: none;
  padding: 0;
  text-align: left;
}

.service-features li {
  padding: 8px 0;
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li i {
  color: var(--yellow);
  font-size: 1.2rem;
}

/* ===== Contact Section ===== */
.contact-section {
  background: #F8F9FA;
}

.contact-info-card,
.contact-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-info-card h4,
.contact-form-card h4 {
  color: var(--olive-green-dark);
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--yellow);
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--olive-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: var(--white);
  font-size: 1.3rem;
}

.contact-details h6 {
  color: var(--olive-green-dark);
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-details a {
  color: var(--olive-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--yellow);
}

.contact-details p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.contact-form-card .form-control {
  border: 2px solid #E0E0E0;
  border-radius: 10px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.contact-form-card .form-control:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
  outline: none;
}

.contact-form-card .btn-primary {
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-form-card .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#formMessage {
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
}

#formMessage.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#formMessage.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== Footer ===== */
.footer {
  background: var(--olive-green-dark);
  color: var(--white);
}

.footer h5,
.footer h6 {
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 20px;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.footer a:hover {
  color: var(--yellow);
  opacity: 1;
  transform: translateX(5px);
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact li i {
  color: var(--white);
  font-size: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== Responsive Design ===== */
@media (max-width: 991px) {
  body {
    padding-top: 100px;
  }
  
  .navbar {
    top: 0;
  }
  
  .navbar-wrapper {
    flex-wrap: wrap;
  }
  
  .navbar-menu {
    order: 3;
    width: 100%;
    margin-top: 10px;
  }
  
  .navbar-contact {
    font-size: 0.8rem;
  }
  
  .navbar-contact-link {
    font-size: 0.75rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }
  
  .navbar {
    top: 0;
    padding: 10px 0;
  }
  
  .navbar-brand img {
    height: 60px;
  }
  
  .navbar-wrapper {
    flex-wrap: wrap;
  }
  
  .navbar-logo {
    flex: 0 0 auto;
  }
  
  .navbar-menu {
    order: 3;
    width: 100%;
    margin-top: 10px;
  }
  
  .navbar-contact {
    display: none;
  }
  
  .navbar-logo {
    margin-right: 20px;
  }
  
  .navbar-contact-link {
    font-size: 0.7rem;
  }
  
  .navbar-contact-link i {
    font-size: 0.75rem;
  }
  
  .btn-order {
    padding: 8px 20px;
    font-size: 0.9rem;
    margin-left: 10px;
  }
  
  .hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }
  
  .hero-buttons .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
    display: block;
    width: 100%;
    margin: 10px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .service-card,
  .contact-info-card,
  .contact-form-card {
    padding: 30px 20px;
  }
  
  .contact-item {
    flex-direction: column;
    gap: 10px;
  }
  
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-tagline {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .service-image {
    height: 180px;
  }
}

/* ===== Smooth Scroll ===== */
html {
  scroll-behavior: smooth;
}

/* ===== Button Styles ===== */
.btn {
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 12px 30px;
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* ===== Utility Classes ===== */
.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.border-secondary {
  border-color: rgba(255, 255, 255, 0.2) !important;
}
