/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --primary-yellow: #ffe800;
  --secondary-black: #000000;
  --bg-gray: #f3f3f3;
  --text-white: #ffffff;
  --text-black: #000000;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-gray);
  color: var(--text-black);
  line-height: 1.6;
}

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

/* Top Bar */
.top-bar {
  background-color: var(--primary-yellow);
  color: var(--text-black);
  padding: 5px 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: var(--text-black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-container input {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

/* Header Main */
.header-main {
  background-color: var(--secondary-black);
  padding: 20px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-width: 350px;
  height: auto;
}

.header-icons {
  display: flex;
  gap: 20px;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-white);
  font-size: 0.8rem;
  text-align: center;
  width: 80px;
}

.icon-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 5px;
  /* Filter to make icons yellow if they are white/black initially, though we'll use them as is first */
}

/* Navigation */
.navbar {
  background-color: var(--secondary-black);
  border-top: 1px solid #333;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
}

.nav-links li {
  /* Separator logic if needed */
}

.nav-links a {
  display: block;
  padding: 15px 25px;
  color: var(--text-white);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  background-color: var(--primary-yellow);
  color: var(--text-black);
}

/* Hero Section */
.hero {
  margin-bottom: 20px;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  object-fit: cover;
}

/* Intro Section */
.intro {
  background-color: var(--text-white);
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.intro p {
  margin-bottom: 15px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.feature-card {
  background-color: var(--primary-yellow);
  display: flex;
  flex-direction: column;
}

.feature-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.feature-card-title {
  background-color: var(--secondary-black);
  color: var(--text-white);
  padding: 15px;
  font-weight: 700;
  font-size: 1.1rem;
}

.feature-card-content {
  padding: 20px;
  flex-grow: 1;
}

/* Page Content (for inner pages) */
.page-content {
  background-color: var(--text-white);
  padding: 40px;
  margin: 40px auto;
  min-height: 400px;
}

.page-content h1 {
  margin-bottom: 20px;
}

/* Footer */
.footer-top {
  background-color: var(--primary-yellow);
  padding: 40px 0;
  color: var(--text-black);
}

.footer-top .container {
  display: flex;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  font-weight: 600;
}

.footer-nav a {
  color: var(--text-black);
  text-decoration: none;
}

.footer-logo {
  text-align: center;
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 300px;
  filter: invert(1); /* Invert to black if it's a white logo */
}

.footer-bottom {
  background-color: var(--secondary-black);
  color: var(--text-white);
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
}
.contact-form input, .contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact-form button {
  background-color: var(--primary-yellow);
  color: var(--text-black);
  border: none;
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
}
.contact-form button:hover {
  background-color: #e6d000;
}

/* Responsive */
@media (max-width: 768px) {
  .header-main .container {
    flex-direction: column;
    gap: 20px;
  }
  .nav-links {
    flex-direction: column;
    text-align: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-top .container {
    flex-direction: column;
    gap: 30px;
  }
}
