/* =========================================================
   CANNAURA - FINAL PROFESSIONAL STYLE (V3)
   File: public_html/cannaura/assets/css/style.css
   ========================================================= */

/* ---------- Base / Reset ---------- */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:#f7f9fb;
  color:#111827;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
p{margin:0 0 14px}
h1,h2,h3{margin:0 0 12px;line-height:1.15}

/* ---------- Layout Helpers ---------- */
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

/* ---------- Header / Nav ---------- */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 40px;
  background:#ffffff;
  box-shadow:0 4px 18px rgba(0,0,0,.06);
  position:sticky;
  top:0;
  z-index:100;
}

.logo{
  height:64px;          /* desktop */
  max-width:220px;
  object-fit:contain;
}

nav{
  display:flex;
  gap:18px;
  align-items:center;
}

nav a{
  padding:10px 12px;
  border-radius:10px;
  color:#374151;
  font-weight:600;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}

nav a:hover{
  background:rgba(59,130,246,.10);
  color:#111827;
  transform:translateY(-1px);
}

/* Mobile header */
@media(max-width:768px){
  header{padding:14px 16px}
  .logo{height:48px}
  nav{gap:10px}
  nav a{padding:8px 10px;font-size:14px}
}

/* ---------- Hero ---------- */
.hero{
  padding:120px 20px;
  text-align:center;
  background:
    linear-gradient(120deg, rgba(232,245,233,.92), rgba(227,242,253,.92)),
    url('/assets/img/hero.jpg');
  background-size:cover;
  background-position:center;
}

.hero h1{
  font-size:48px;
  max-width:900px;
  margin:0 auto 16px;
  font-weight:800;
  letter-spacing:-0.02em;
}

.hero p{
  font-size:18px;
  max-width:760px;
  margin:0 auto;
  color:#374151;
}

@media(max-width:768px){
  .hero{padding:80px 16px}
  .hero h1{font-size:34px}
  .hero p{font-size:16px}
}

/* ---------- Main Content (CMS block) ---------- */
.content{
  max-width:900px;
  margin:0 auto;
  padding:60px 20px;
  line-height:1.75;
  font-size:16px;
  color:#111827;
}

.content h2{
  font-size:26px;
  margin-top:26px;
}

.content ul{
  padding-left:18px;
  margin:10px 0 18px;
}

.content li{margin:8px 0}

/* ---------- Products Section ---------- */
.products{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:32px;
  padding:60px 40px;
  max-width:1200px;
  margin:0 auto 40px;
}

@media(max-width:768px){
  .products{padding:40px 16px;gap:18px}
}

.card{
  background:#ffffff;
  padding:28px;
  border-radius:18px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  text-align:center;
  display:flex;
  flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease;
}

.card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 45px rgba(0,0,0,.12);
}

/* Prevent product images from overlapping and force consistent sizing */
.card img{
  width:100%;
  max-height:260px;
  object-fit:contain;
  margin:0 auto 18px;
}

/* Product title */
.card h3{
  font-size:20px;
  margin:8px 0 10px;
  font-weight:800;
  color:#111827;
}

/* Description */
.card p{
  color:#4b5563;
  font-size:14px;
  line-height:1.6;
  margin-bottom:14px;
}

/* Price */
.card strong{
  font-size:18px;
  margin-top:auto;
  color:#111827;
}

/* Buttons (if used on product cards) */
button{
  margin-top:14px;
  background:linear-gradient(90deg,#22c55e,#3b82f6);
  color:#071018;
  border:0;
  padding:12px 18px;
  border-radius:12px;
  cursor:pointer;
  font-weight:900;
  transition:transform .2s ease, opacity .2s ease;
}

button:hover{
  transform:translateY(-1px);
  opacity:.95;
}

/* ---------- Footer ---------- */
footer{
  text-align:center;
  padding:30px 20px;
  background:#111827;
  color:#9ca3af;
}

footer p{
  margin:0 0 8px;
  color:#e5e7eb;
  font-weight:700;
}

footer small{
  display:block;
  max-width:900px;
  margin:0 auto;
  line-height:1.5;
}

/* ---------- Optional: Simple forms (contact/checkout) ---------- */
input, textarea, select{
  font-family:inherit;
  font-size:14px;
  padding:12px;
  border:1px solid rgba(17,24,39,.12);
  border-radius:12px;
  outline:none;
}

input:focus, textarea:focus, select:focus{
  border-color:rgba(59,130,246,.45);
  box-shadow:0 0 0 4px rgba(59,130,246,.12);
}
