
:root{
  --primary:#0b3d2e;
  --accent:#f4c430;
  --light:#f6f6f6;
}

*{margin:0;padding:0;box-sizing:border-box;font-family:Segoe UI,Arial;}

body{background:white;color:#333}

/* TOPBAR */
.topbar{
  background:var(--primary);
  color:white;
  padding:8px 20px;
  display:flex;
  justify-content:space-between;
  font-size:14px;
}
.topbar a{color:white;margin-left:12px;text-decoration:none}

/* HEADER */
header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 20px;
  background:white;
  box-shadow:0 2px 10px rgba(0,0,0,.1);
  position:sticky;top:0;z-index:1000;
}
.logo{font-size:24px;font-weight:bold;color:var(--primary)}
nav{display:flex;gap:20px}
nav a{text-decoration:none;color:#333;font-weight:600}
nav a:hover{color:var(--accent)}
.menu-btn{display:none;font-size:22px}

/* HERO */
.hero{
  position:relative;
  width:100%;
  min-height:90vh;
  background:url("../Images/cereals/cereals4.png") center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 50px;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.10);
}
.hero-text h1{
  line-height:1.5;
}

.brand-main{
  font-size:90px;
  font-weight:900;
  color:#FFEA00; /* Yellow */
  text-transform:uppercase;
  letter-spacing:3px;
  text-shadow:0 6px 20px rgba(0,0,0,0.5);
}

.brand-sub{
  display: block;
  text-align: center;
  font-size:80px;
  font-weight:700;
  color:#000000; /* Black */
  font-style:italic;
  font-family:'Playfair Display', serif;
  letter-spacing:4px;
}

.hero-text p{
  font-family:'Rockwell Extra Bold', sans-serif;
  font-size:22px;
  font-weight:500;
  margin-top:20px;
  color: green;
  letter-spacing:1px;
}

.hero-text h1{
  font-size:48px;
  color:var(--accent);
  font-weight:900;
}
.hero-text p{
  font-size:20px;
  margin-top:15px;
}

/* SECTIONS */
section{
  padding:70px 20px;
}

.section-title{text-align:center;color:var(--primary);margin-bottom:40px}

/* ABOUT */
.about{
  display:grid;
  grid-template-columns:1fr 1.2fr 1fr; /* image - text - image */
  gap:30px;
  align-items:center;
  max-width:1200px;
  margin:auto;
}

.about-img img{
  width:100%;
  height:350px;
  object-fit:cover;
  border-radius:15px;
  box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.about-text{
  text-align:center;
}

.about-text h2{
  color:var(--primary);
  margin-bottom:20px;
  font-size:32px;
}

.about-img img{
  width:100%;
  height:350px;
  object-fit:cover;
  border-radius:15px;
  box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.about-text{
  text-align:center;
}

.about-text h2{
  color:var(--primary);
  margin-bottom:20px;
  font-size:32px;
}

.about-img img{
  width:100%;
  height:350px;
  object-fit:cover;
  border-radius:15px;
  box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.about-text{
  text-align:center;
}

.about-text h2{
  color:var(--primary);
  margin-bottom:20px;
  font-size:32px;
}

.about-img img{
  width:100%;
  height:350px;
  object-fit:cover;
  border-radius:15px;
  box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.about-text{
  text-align:center;
}

.about-text h2{
  color:var(--primary);
  margin-bottom:20px;
  font-size:32px;
}
.about img{
  width:100%;
  border-radius:15px;
}
.about-text h2{color:var(--primary);margin-bottom:15px}

#about{
  margin-top: 60px;
  background: white;
}

/* PRODUCTS */
.products{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;
  max-width:1100px;
  margin:auto;
}
.product{
  background:var(--light);
  padding:25px;
  border-radius:15px;
  text-align:center;
  box-shadow:0 5px 15px rgba(0,0,0,.05);
  font-size:18px;
  transition:.3s;
}
.product:hover{transform:translateY(-6px)}

.product img{
  width:100%;
  height:150px;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:10px;
}

/* MAP */
.map iframe{width:100%;height:350px;border:0;border-radius:15px}

html{
  scroll-behavior: smooth;
}

.page-buttons{
  display:flex;
  justify-content:center;
  gap:20px;
  margin:50px 0;
  flex-wrap:wrap;
}

.nav-btn{
  padding:14px 28px;
  background:var(--primary);
  color:white;
  text-decoration:none;
  border-radius:30px;
  font-size:16px;
  font-weight:600;
  transition:0.3s ease;
  box-shadow:0 5px 15px rgba(0,0,0,0.15);
}

.nav-btn:hover{
  background:var(--accent);
  color:#000;
  transform:translateY(-4px);
}

/* FOOTER */
footer{
  background:var(--primary);
  color:white;
  text-align:center;
  padding:30px;
}

/* FLOAT BUTTONS */
.float-btn{
  position:fixed;
  right:20px;
  width:55px;
  height:55px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  color:white;
  text-decoration:none;
  box-shadow:0 4px 12px rgba(0,0,0,.3);
}
.whatsapp{background:#25d366;bottom:90px}
.email{background:#007bff;bottom:20px}

/* CONTACT SECTION */
.contact-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  max-width:1100px;
  margin:auto;
  align-items:center;
}

.contact-details{
  background:var(--light);
  padding:30px;
  border-radius:15px;
  box-shadow:0 5px 15px rgba(0,0,0,.05);
}

.contact-details h3{
  color:var(--primary);
  margin-bottom:20px;
}

.contact-details p{
  margin-bottom:15px;
  font-size:16px;
}

.contact-details i{
  color:var(--accent);
  margin-right:10px;
}

#cereal-list{
  padding:50px 20px;
  background:var(--light);
}

#cereal-list .section-title{
  text-align:center;
  color:var(--primary);
  margin-bottom:30px;
  font-size:32px;
}

.cereal-items{
  max-width:1100px;
  margin:auto;
  list-style:none;
  padding:0;
  display:grid;
  grid-template-columns:repeat(4, 1fr); /* 4 horizontally */
  gap:20px;
  font-size:18px;
  font-weight:500;
}

.cereal-items li{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:15px 25px; /* longer box */
  background:white;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,0.05);
  transition:0.3s;
  font-size:18px;
}

.cereal-items li:hover{
  transform:translateY(-5px);
  background:var(--accent);
  color:white;
  cursor:pointer;
}

.cereal-items li::before{
  margin-right:10px; /* space between emoji and text */
}

@media(max-width:1024px){
  .cereal-items{
    grid-template-columns:repeat(2,1fr); /* 2 per row on tablet */
  }
}

@media(max-width:768px){
  .cereal-items{
    grid-template-columns:1fr; /* stack on mobile */
  }
}

/* Responsive */
@media(max-width:768px){
  .contact-container{
    grid-template-columns:1fr;
  }
}

/* RESPONSIVE */
@media(max-width:768px){
  nav{
    position:absolute;
    top:60px;
    right:0;
    background:white;
    flex-direction:column;
    width:200px;
    display:none;
    box-shadow:0 4px 10px rgba(0,0,0,.2)
  }
  nav.active{display:flex}
  .menu-btn{display:block}
  .about{grid-template-columns:1fr}
  .hero-text h1{font-size:32px}

   nav a{
    text-align:center;
    padding:15px 0; /* vertical spacing */
  }
}
