/*
Theme Name: Anura Food Theme
Theme URI: https://anurafoods.com
Author: ChatGPT
Description: Custom secure WordPress theme for Anura Food & Beverage Udyog
Version: 1.3
Text Domain: anura-food
*/

:root {
  --primary: #4F8A2B;
  --secondary: #A7C957;
  --dark: #2D6A2E;
  --light: #f8f9fa;
}

body { margin: 0; font-family: Arial, sans-serif; line-height: 1.6; color: #222; }
.container { width: min(1140px, calc(100% - 2rem)); margin: 0 auto; }
.site-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 999; }
.header-inner { display:flex; justify-content:space-between; align-items:center; padding:1rem 0; }
.logo img { width:auto; max-width:320px; max-height:70px; object-fit:contain; }
.main-nav ul { display:flex; gap:1.5rem; list-style:none; margin:0; padding:0; }
.main-nav a { text-decoration:none; color:var(--dark); font-weight:600; }
.hero { background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), #4F8A2B; background-size:cover; background-position:center; color:#fff; padding:120px 0; text-align:center; }
.btn { display:inline-block; padding:12px 24px; background:var(--primary); color:#fff; text-decoration:none; border-radius:6px; }
.section { padding:70px 0; }
.section-alt { background: var(--light); }
.section-intro { max-width: 680px; margin-bottom: 2rem; }
.grid-3 { display:grid; grid-template-columns:repeat(auto-fit, minmax(250px, 1fr)); gap:2rem; }
.card { background:#fff; padding:2rem; border-radius:12px; box-shadow:0 4px 14px rgba(0,0,0,0.08); }
.home-slider { position: relative; min-height: 420px; overflow: hidden; background: var(--dark); color: #fff; }
.slide { position:absolute; inset:0; display:flex; align-items:center; background: linear-gradient(rgba(0,0,0,.48), rgba(0,0,0,.48)), var(--dark); background-size:cover; background-position:center; opacity:0; animation: anuraSlider 15s infinite; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide-content { max-width: 720px; }
.slide h2 { font-size: clamp(2rem, 5vw, 4rem); line-height:1.1; margin:0 0 1rem; }
.slide p { font-size:1.15rem; max-width:620px; margin:0 0 1.5rem; }
.product-card { overflow:hidden; padding:0; }
.product-card h3, .product-card p { padding:0 1.5rem; }
.product-card h3 a { color:var(--dark); text-decoration:none; }
.product-card p { padding-bottom:1.5rem; }
.product-image { display:flex; align-items:center; justify-content:center; min-height:180px; background:linear-gradient(135deg, var(--primary), var(--secondary)); color:#fff; font-weight:700; text-align:center; text-decoration:none; }
.product-image img { display:block; width:100%; height:220px; object-fit:cover; }
.product-placeholder { padding:1.5rem; }
.product-detail-section { background:#fff; }
.product-detail { display:grid; grid-template-columns:minmax(280px, 1fr) minmax(320px, 1fr); gap:3rem; align-items:center; }
.product-detail-media { background:var(--light); border-radius:12px; padding:2rem; text-align:center; }
.product-detail-media img { width:100%; max-height:440px; object-fit:contain; }
.product-detail-placeholder { min-height:320px; display:flex; align-items:center; justify-content:center; border-radius:10px; background:linear-gradient(135deg, var(--primary), var(--secondary)); color:#fff; font-size:1.5rem; font-weight:700; text-align:center; padding:2rem; }
.product-kicker { margin:0 0 .5rem; color:var(--primary); font-weight:700; text-transform:uppercase; letter-spacing:.08em; font-size:.85rem; }
.product-detail h1 { margin:0 0 1rem; color:var(--dark); font-size:clamp(2rem, 4vw, 3.2rem); line-height:1.1; }
.product-summary { font-size:1.15rem; color:#3d3d3d; margin-bottom:1.25rem; }
.product-description { margin-bottom:2rem; }
.product-description p { margin-top:0; }
.site-footer { background: var(--dark); color:#fff; padding:40px 0; text-align:center; }

@keyframes anuraSlider {
  0% { opacity:0; }
  8% { opacity:1; }
  33% { opacity:1; }
  41% { opacity:0; }
  100% { opacity:0; }
}

@media (max-width: 700px) {
  .header-inner, .main-nav ul { flex-direction:column; gap:1rem; }
  .logo img { max-width:260px; max-height:62px; }
  .hero { padding:80px 0; }
  .home-slider { min-height: 500px; }
  .product-detail { grid-template-columns:1fr; gap:2rem; }
}
