/* Main Styles for Eastern Union Trading Establishment */

:root {
  --primary-color: #E65100; /* Dark Orange */
  --secondary-color: #FF9800; /* Light Orange */
  --accent-color: #FFB74D; /* Lighter Orange */
  --dark-color: #333333;
  --light-color: #FFFFFF;
  --gray-color: #F5F5F5;
  --text-color: #333333;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
* {
  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-color);
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
}

p {
  margin-bottom: 15px;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--primary-color);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--light-color);
}

.btn-secondary:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

.section-header {
  margin-bottom: 40px;
  text-align: center;
}

.section-divider {
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 15px auto 20px;
  border-radius: 2px;
}

.section-subheading {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  padding: 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: transparent;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 20px;
  background-color: transparent;
}

.logo {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  margin-top: -20px;
  transition: all 0.3s ease;
}

.logo.scrolled {
  margin-top: 0;
}

.logo a {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 200px;
  width: auto;
  transition: all 0.3s ease;
}

.nav-logo.scrolled {
  height: 80px;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  margin-right: 20px;
  padding-top: 20px;
  transition: all 0.3s ease;
}

.nav-links.scrolled {
  padding-top: 10px;
}

.nav-links li {
  margin-left: 40px;
}

.nav-links a {
  color: var(--light-color);
  font-size: 1.2rem;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  transition: var(--transition);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links a.active {
  color: #FFA726;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #FFA726;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--light-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-image: url('../src/products/Landing page bg.jpg');
  background-size: cover;
  background-position: center;
  margin-top: 0;
  padding-top: 140px; /* Adjusted to account for new header layout */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--light-color);
}

.hero .container {
  display: flex;
  justify-content: flex-start;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(230, 81, 0, 0.3),
    rgba(0, 0, 0, 0.4)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 20px;
  text-align: left;
}

.hero-logo {
  max-width: 400px;
  width: 400px;
  height: auto;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-out;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
  opacity: 0.95;
  transition: all 0.3s ease;
}

.hero-logo:hover {
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
  opacity: 1;
  transform: scale(1.02);
}

.company-name {
  font-size: 2.8rem;
  margin-bottom: 15px;
  animation: fadeInDown 1s ease-out;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  text-align: left;
  line-height: 1.2;
}

.tagline {
  font-size: 1.3rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease 0.3s;
  animation-fill-mode: both;
  text-align: left;
}

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

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

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--light-color);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.about-image img {
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Products Section */
.products {
  padding: 100px 0;
  background-color: var(--gray-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--light-color);
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 3px solid var(--primary-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 152, 0, 0.1);
  color: var(--primary-color);
  font-size: 2rem;
}

.procurement-icon::before {
  content: '🏭';
  font-size: 30px;
}

.logistics-icon::before {
  content: '🚚';
  font-size: 30px;
}

.development-icon::before {
  content: '🏗️';
  font-size: 30px;
}

.structural-icon::before {
  content: '🔧';
  font-size: 30px;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--light-color);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: var(--gray-color);
}

.contact-content {
  display: flex;
  gap: 40px;
}

.contact-info {
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 152, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.email-icon::before {
  content: '✉️';
  font-size: 24px;
}

.location-icon::before {
  content: '📍';
  font-size: 24px;
}

.contact-text h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-form-container {
  flex: 1;
}

.contact-form {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(230, 81, 0, 0.2);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 2;
}

.footer-logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-color);
  margin-bottom: 15px;
}

.footer-links {
  flex: 1;
}

.footer-links h3 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

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

.footer-links ul li a {
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content,
  .contact-content {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 30px;
  }
  
  .company-name {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    padding-top: 0;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--light-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active .bar:first-child {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:last-child {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .hero-content {
    padding: 0 10px;
  }
  
  .company-name {
    font-size: 2.2rem;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .nav-logo {
    height: 110px;
  }
}

@media (max-width: 480px) {
  .company-name {
    font-size: 1.8rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .service-card,
  .product-card {
    padding: 20px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .nav-logo {
    height: 90px;
  }
}