/* ============================= */
/* FILE: style.css */
/* ============================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4fff6;
  color: #1f2937;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 60px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.logo {
  font-size: 32px;
  font-weight: bold;
  color: #16a34a;
}

.nav-links a {
  margin-left: 24px;
  text-decoration: none;
  color: #1f2937;
  font-weight: bold;
}

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

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  padding: 100px 80px;
  background: linear-gradient(135deg, #dcfce7, #ffffff);
}

.hero-text {
  max-width: 600px;
}
.chef-card.robot {
  background-image: url('assets/RoboChef.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  height: 200px;
  border-radius: 20px;
}
.tagline {
  color: #16a34a;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.chef-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  display: block;
}
.light {
  color: #bbf7d0;
}

.hero h1,
.page-header h1 {
  font-size: 62px;
  line-height: 1.05;
  margin: 20px 0;
}

.hero-description,
.page-header p {
  font-size: 21px;
  line-height: 1.7;
  color: #4b5563;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 35px;
}

.main-btn,
.outline-btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: 0.3s;
}

.main-btn {
  background: #16a34a;
  color: white;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.35);
}

.outline-btn {
  background: white;
  color: #16a34a;
  border: 2px solid #16a34a;
}

.main-btn:hover,
.outline-btn:hover,
button:hover {
  transform: scale(1.04);
}

.hero-image-box {
  position: relative;
}

.hero-image-box img,
.image-panel img {
  width: 520px;
  height: 520px;
  object-fit: cover;
  border-radius: 35px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

.floating-card {
  position: absolute;
  background: white;
  padding: 18px 22px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.top-card {
  top: 35px;
  left: -45px;
}

.bottom-card {
  bottom: 35px;
  right: -45px;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 60px 80px;
  background: white;
}

.stat-box {
  text-align: center;
  background: #f0fdf4;
  padding: 35px;
  border-radius: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.metallic-card {
  background: linear-gradient(145deg, #ffffff, #dff7e7, #ffffff);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: inset 0 0 18px rgba(255,255,255,0.8), 0 12px 28px rgba(22,163,74,0.18);
}

.stat-box h2 {
  color: #16a34a;
  font-size: 42px;
  margin: 0;
}

.section {
  padding: 90px 80px;
  text-align: center;
}

.white-section {
  background: white;
}

.section h1 {
  font-size: 48px;
  margin: 15px 0;
}

.section-subtitle {
  max-width: 850px;
  margin: auto;
  font-size: 20px;
  line-height: 1.7;
  color: #4b5563;
}

.section-label {
  color: #16a34a;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 55px;
}

.feature-card,
.info-card {
  background: white;
  padding: 35px;
  border-radius: 28px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.feature-card:hover,
.info-card:hover {
  transform: translateY(-10px);
}

.feature-card h2,
.info-card h2 {
  font-size: 26px;
}

.feature-card p,
.info-card p {
  color: #4b5563;
  font-size: 18px;
  line-height: 1.6;
}

.game-section {
  background: radial-gradient(circle at top left, #dcfce7, #ffffff 55%);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 55px;
}

.challenge-card {
  padding: 35px;
  border-radius: 35px;
  text-align: left;
  transition: 0.3s;
}

.bubble-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(220,252,231,0.9));
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 18px 35px rgba(22,163,74,0.14), inset 0 0 20px rgba(255,255,255,0.9);
}

.challenge-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.challenge-card h2 {
  font-size: 25px;
}

.challenge-card p {
  color: #4b5563;
  font-size: 18px;
  line-height: 1.6;
}

.challenge-card span {
  display: inline-block;
  margin-top: 15px;
  background: #16a34a;
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: bold;
}

.chef-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg, #0f172a, #064e3b);
  color: white;
}

.chef-text {
  text-align: left;
}

.chef-text p {
  font-size: 20px;
  line-height: 1.7;
  color: #dcfce7;
}

.chef-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.chef-grid p{
  font-size: 20px;
}

.chef-card {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 32px;
  padding: 35px;
  font-size: 60px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.chef-card:hover {
  transform: translateY(-10px) rotate(1deg);
}

.chef-card h2 {
  font-size: 22px;
  margin-bottom: 0;
}

.ad-banner {
  text-align: center;
  padding: 100px 30px;
  background: linear-gradient(135deg, #111827, #064e3b);
  color: white;
}

.ad-banner h1 {
  font-size: 54px;
  margin-bottom: 15px;
}

.ad-banner p {
  font-size: 22px;
  color: #d1fae5;
}
.robo-img {
  height: 220px;
  object-fit: cover;
  object-position: center top;
}
.page-header {
  text-align: center;
  padding: 100px 30px;
  background: linear-gradient(135deg, #dcfce7, #ffffff);
}
.robo-card {
  transform: translateY(100px);
}
.robo-img {
  object-fit: cover;
  object-position: center top;
}
.green-header {
  background: linear-gradient(135deg, #16a34a, #064e3b);
  color: white;
}

.green-header p {
  color: #dcfce7;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 90px 80px;
  align-items: center;
}

.info-list {
  display: grid;
  gap: 25px;
}

.contact-section {
  padding: 80px 30px;
  background: white;
}

.contact-box {
  max-width: 600px;
  margin: auto;
  display: grid;
  gap: 20px;
}

input,
textarea {
  padding: 18px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  font-size: 16px;
}

textarea {
  height: 160px;
}

button {
  padding: 16px 36px;
  border: none;
  background: #22c55e;
  color: white;
  border-radius: 14px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.footer {
  background: #0f172a;
  color: white;
  text-align: center;
  padding: 35px;
}

.footer h2 {
  color: #4ade80;
  font-size: 32px;
  margin: 0;
}

@media (max-width: 900px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
    flex-direction: column;
    padding: 60px 30px;
    text-align: center;
  }

  .hero {
    display: flex;
  }

  .hero h1,
  .page-header h1 {
    font-size: 44px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-box img,
  .image-panel img {
    width: 100%;
    height: auto;
  }

  .stats-section,
  .card-grid,
  .game-grid,
  .chef-section,
  .chef-grid {
    grid-template-columns: 1fr;
    padding-left: 30px;
    padding-right: 30px;
  }

  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    text-align: center;
  }
}