/* style.css - CAM3 Estate Company (Green & Gold theme) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root{
  --bg:#f6faf6;
  --primary:#216a3b; /* deep green */
  --accent:#c99b2a;  /* gold */
  --muted:#6b6b6b;
  --card:#ffffff;
  --max-width:1100px;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:'Poppins',sans-serif;
  background:var(--bg);
  color:#0b2b17;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.6;
}

/* Header / Nav */
.header {
  background: linear-gradient(180deg, rgba(33,106,59,0.98), rgba(33,106,59,0.92));
  color:#fff;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 6px 18px rgba(6,30,12,0.25);
}
.container{
  width:90%;
  max-width:var(--max-width);
  margin:0 auto;
  padding:1rem 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand .logo{
  width:52px;
  height:52px;
  border-radius:10px;
  background:var(--card);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--primary);
  font-weight:700;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
}
.brand h1{font-size:1.05rem;letter-spacing:0.6px}
.nav{
  display:flex;
  align-items:center;
  gap:8px;
}
.nav a{
  color:#fff;
  text-decoration:none;
  padding:8px 12px;
  border-radius:8px;
  transition:all .22s ease;
  font-weight:600;
}
.nav a:hover{background:rgba(255,255,255,0.08);transform:translateY(-2px)}
.nav a.active{background:var(--accent); color:#0b2b17}

/* Mobile nav toggle */
.menu-toggle{display:none}

/* Hero */
.hero{
  background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.45)), url('images/_MMY8085 - Copy.JPG.jpg');
  background-size:cover;
  background-position:center;
  padding:5.5rem 0 4rem;
  color:#08220f;
}
.hero .container{
  display:flex;
  gap:2rem;
  align-items:center;
  justify-content:space-between;
}
.hero-text{
  max-width:640px;
  background:rgba(255,255,255,0.85);
  padding:1.6rem;
  border-radius:12px;
  box-shadow:0 8px 30px rgba(6,30,12,0.12);
}
.hero-text h2{
  color:var(--primary);
  font-size:1.9rem;
  margin-bottom:0.6rem;
}
.hero-text p{color:var(--muted); margin-bottom:1rem}
.cta{
  display:inline-flex;
  gap:10px;
}
.btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  transition:all .2s ease;
}
.btn-primary{background:var(--primary); color:#fff}
.btn-outline{background:transparent; border:2px solid var(--primary); color:var(--primary)}
.btn-primary:hover{transform:translateY(-3px); box-shadow:0 8px 20px rgba(33,106,59,0.14)}
.btn-outline:hover{background:var(--primary); color:#fff}

/* Main layout */
main{width:90%; max-width:var(--max-width); margin:2.2rem auto; padding-bottom:2.2rem}

/* Section headings */
.section{
  background:var(--card);
  padding:1.4rem;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(6,30,12,0.04);
  margin-bottom:1.4rem;
}
.section h2{
  color:var(--primary);
  font-size:1.2rem;
  margin-bottom:0.6rem;
  border-left:4px solid var(--accent);
  padding-left:10px;
}

/* Cards & lists */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
}
.card{
  padding:1rem;
  border-radius:10px;
  background:linear-gradient(180deg,#fff,#fbfff9);
  box-shadow:0 6px 18px rgba(6,30,12,0.06);
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:12px;
}
.gallery img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
  transition:transform .28s ease,box-shadow .28s ease;
}
.gallery img:hover{transform:scale(1.04); box-shadow:0 12px 34px rgba(6,30,12,0.12)}

/* Forms */
form label{display:block;
 font-weight:600;
  color:var(--primary);
   margin-top:8px}
input[type="text"],
 input[type="email"],
  textarea{
  width:100%;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid #e6efe6;
  margin-top:6px;
  background:#fcfffb;
}
textarea{min-height:140px; resize:vertical}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media(max-width:680px){.form-row{grid-template-columns:1fr}}

/* Footer */
footer{
  background:var(--primary);
  color:#fff;
  padding:1.2rem 0;
  margin-top:1.6rem;
}
.footer-inner{width:90%; max-width:var(--max-width); margin:0 auto; display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap}
.footer-inner small{opacity:0.95}

/* Helpers */
.kv{color:var(--muted); font-weight:600}
.lead{color:#274b2a; font-size:1.05rem}
.center{ text-align:center }

/* Responsive header adjustments */
@media(max-width:900px){
  .container{padding:0.8rem 0}
  .nav{display:none}
  .menu-toggle{display:block; background:transparent; border:none; color:#fff; font-weight:700}
}
/* Small screens hero */
@media(max-width:720px){
  .hero{padding:3.2rem 0}
  .hero .container{flex-direction:column; align-items:flex-start}
  .hero-text{width:100%}
}
/*section styling */
#videos{
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

#videos h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
}

/*video gallery layout */
.video-gallery{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* video card */
.video-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.video-item video{
  width: 100px;
  height: auto;
  border-bottom: 3px solid #007bff;
}

.video-item h3 {
  padding: 15px;
  color: #444;
  font-size: 1.1rem;
}
/* Base styles */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

/* 📱 Phone screens */
@media (max-width: 600px) {
  .container {
    padding: 0.6rem 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
  }

  .nav a {
    padding: 0.8rem 0;
    display: block;
  }

  .nav.active {
    display: flex;
  }
}

