/* AADC Website Styles */

:root {
  /* AADC Color Scheme */
  --dark-blue: #0a2f57;
  --grey-dark: #4a4a4a;
  --grey-medium: #7a7a7a;
  --grey-light: #e0e0e0;
  --olive-green: #6b8e23;
  --white: #ffffff;
  --black: #000000;
  
  /* Font sizes */
  --font-small: 0.875rem;
  --font-medium: 1rem;
  --font-large: 1.25rem;
  --font-xl: 1.5rem;
  --font-xxl: 2rem;
  --font-hero: 3rem;
}

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

body {
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: var(--grey-dark);
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

h1 {
  font-size: var(--font-hero);
}

h2 {
  font-size: var(--font-xxl);
}

h3 {
  font-size: var(--font-xl);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--dark-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--olive-green);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col {
  flex: 1;
  padding: 0 1rem;
}

/* For columns with specific widths */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Header */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

.logo img {
  height: 50px;
  margin-right: 1rem;
}

.logo-text {
  font-size: var(--font-large);
  font-weight: 700;
  color: var(--dark-blue);
}

/* Navigation */
.nav {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--grey-dark);
  position: relative;
}

.nav-link:hover {
  color: var(--dark-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--olive-green);
  transition: width 0.3s ease;
}

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

.nav-link.active {
  color: var(--dark-blue);
}

.nav-link.active::after {
  width: 100%;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--grey-dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 600px;
}

.hero-title {
  font-size: var(--font-hero);
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-subtitle {
  font-size: var(--font-xl);
  margin-bottom: 2rem;
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--dark-blue);
  color: var(--white);
  border: 2px solid var(--dark-blue);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--dark-blue);
}

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

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--dark-blue);
}

.btn-accent {
  background-color: var(--olive-green);
  color: var(--white);
  border: 2px solid var(--olive-green);
}

.btn-accent:hover {
  background-color: transparent;
  color: var(--olive-green);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--olive-green);
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Commodities Section */
.commodities {
  background-color: var(--grey-light);
}

.commodity-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.commodity-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.commodity-card:hover {
  transform: translateY(-10px);
}

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

.commodity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.commodity-content {
  padding: 1.5rem;
}

.commodity-title {
  font-size: var(--font-large);
  margin-bottom: 0.5rem;
}

.commodity-description {
  margin-bottom: 1rem;
  color: var(--grey-medium);
}

/* Investor Section */
.investor-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.investor-stats {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: var(--font-xxl);
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--grey-medium);
}

/* Contact Section */
.contact {
  background-color: var(--dark-blue);
  color: var(--white);
}

.contact-title h2 {
  color: var(--white);
}

.contact-content {
  display: flex;
  gap: 2rem;
}

.contact-info {
  flex: 1;
}

.contact-form {
  flex: 2;
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 1rem;
  font-size: var(--font-large);
  color: var(--olive-green);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 4px;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
  background-color: var(--grey-dark);
  color: var(--white);
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-title {
  font-size: var(--font-large);
  margin-bottom: 1.5rem;
  color: var(--white);
}

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

.footer-item {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--grey-light);
}

.footer-link:hover {
  color: var(--white);
}

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

/* Commodity Detail Page */
.commodity-detail {
  padding-top: 120px;
}

.commodity-header {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.commodity-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.commodity-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.commodity-header-title {
  font-size: var(--font-hero);
  margin-bottom: 1rem;
  color: var(--white);
}

.commodity-header-subtitle {
  font-size: var(--font-xl);
  max-width: 800px;
  margin: 0 auto;
}

.commodity-sections {
  padding: 3rem 0;
}

.commodity-section {
  margin-bottom: 4rem;
}

.commodity-section-title {
  font-size: var(--font-xl);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--olive-green);
}

.commodity-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  background-color: var(--grey-light);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: var(--font-large);
  margin-bottom: 0.5rem;
}

/* Investor Page */
.investor-page {
  padding-top: 120px;
}

.investor-header {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.investor-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.investor-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.investor-header-title {
  font-size: var(--font-hero);
  margin-bottom: 1rem;
  color: var(--white);
}

.investor-header-subtitle {
  font-size: var(--font-xl);
  max-width: 800px;
  margin: 0 auto;
}

.investor-sections {
  padding: 3rem 0;
}

.investor-section {
  margin-bottom: 4rem;
}

.investor-section-title {
  font-size: var(--font-xl);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--olive-green);
}

.investment-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.highlight-item {
  background-color: var(--grey-light);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.highlight-icon {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.highlight-title {
  font-size: var(--font-large);
  margin-bottom: 0.5rem;
}

.financial-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.financial-table th,
.financial-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-light);
}

.financial-table th {
  background-color: var(--dark-blue);
  color: var(--white);
}

.financial-table tr:nth-child(even) {
  background-color: var(--grey-light);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .contact-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-item {
    margin: 0.5rem 0;
  }
  
  .hero {
    height: 70vh;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .commodity-cards {
    grid-template-columns: 1fr;
  }
  
  .investor-stats {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}
