:root {
  /* Colors - Derived from the Foodeal Logo Branding */
  --fd-sage: #8ba888;
  --fd-sage-dark: #6e866c;
  --fd-sage-light: #a9c2a6;
  --fd-charcoal: #333333;
  --fd-white: #ffffff;
  --fd-bg: #f8faf8;
  --fd-border: rgba(51, 51, 51, 0.1);
  
  /* Typography */
  --fd-font-display: 'Playfair Display', serif;
  --fd-font-body: 'Montserrat', sans-serif;
  
  /* Spacing */
  --fd-space-xs: 4px;
  --fd-space-sm: 8px;
  --fd-space-md: 16px;
  --fd-space-lg: 24px;
  --fd-space-xl: 48px;
  --fd-space-2xl: 80px;
  
  /* Radii */
  --fd-radius: 8px;
  --fd-radius-round: 50px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--fd-font-body);
  background-color: var(--fd-bg);
  color: var(--fd-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--fd-font-display);
  font-weight: 700;
  margin: 0;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 4rem);
}

/* Navigation */
.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--fd-white);
  border-bottom: 1px solid var(--fd-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fd-charcoal);
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: var(--fd-space-lg);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--fd-charcoal);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--fd-sage);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--fd-radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--fd-sage-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--fd-sage);
  color: var(--fd-sage);
}

.btn-outline:hover {
  background-color: var(--fd-sage);
  color: var(--fd-white);
}

/* Sections */
section {
  margin-top: var(--fd-space-2xl);
  padding: var(--fd-space-xl) 0;
}

main > :first-child {
  margin-top: 0;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--fd-sage);
  color: var(--fd-white);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: var(--fd-space-lg);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--fd-space-xl);
  opacity: 0.9;
}

.hero-image-wrapper {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px 0 0 40px;
  box-shadow: -20px 20px 40px rgba(0,0,0,0.1);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--fd-space-lg);
}

.card {
  background: var(--fd-white);
  border-radius: var(--fd-radius);
  padding: var(--fd-space-lg);
  border: 1px solid var(--fd-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--fd-sage-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--fd-space-md);
  color: var(--fd-sage-dark);
}

/* Placeholders */
.placeholder-image {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #e0e6e0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--fd-radius);
  position: relative;
  overflow: hidden;
}

.placeholder-image::after {
  content: attr(data-label);
  font-size: 0.8rem;
  color: var(--fd-sage-dark);
  font-weight: 600;
  text-transform: uppercase;
}

/* Logo Showcase */
.logo-showcase {
  text-align: center;
  padding: var(--fd-space-2xl) 0;
}

.logo-display {
  background: var(--fd-sage);
  padding: 80px;
  border-radius: 24px;
  display: inline-block;
  margin-bottom: var(--fd-space-xl);
}

.logo-display img {
  max-width: 400px;
  height: auto;
  display: block;
}

/* Footer */
footer {
  margin-top: var(--fd-space-2xl);
  background: var(--fd-charcoal);
  color: var(--fd-white);
  padding: var(--fd-space-2xl) 0 var(--fd-space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--fd-space-xl);
}

.footer-logo {
  filter: brightness(0) invert(1);
  height: 40px;
  margin-bottom: var(--fd-space-md);
}

.footer-col h4 {
  margin-bottom: var(--fd-space-lg);
  font-family: var(--fd-font-body);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--fd-space-sm);
}

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

.footer-links a:hover {
  color: var(--fd-white);
}

@media (max-width: 768px) {
  .hero-image-wrapper {
    display: none;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
