:root {
  --forest: #2F5233;
  --forest-deep: #1E3A24;
  --forest-light: #4A7C59;
  --terracotta: #A0522D;
  --copper: #B8860B;
  --sand: #F5E6D3;
  --sand-dark: #E8D5BC;
  --warm-white: #FFFBF5;
  --cream: #FAF3E8;
  --earth: #5C4033;
  --text: #3D2E26;
  --text-muted: #7A6B5D;
  --white: #FFFFFF;
  --danger: #9B3B30;
  --shadow: 0 4px 24px rgba(47, 82, 51, 0.1);
  --shadow-lg: 0 16px 48px rgba(47, 82, 51, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

h1, h2, h3, .display-font {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.village-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(74, 124, 89, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(160, 82, 45, 0.06) 0%, transparent 40%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 28px,
      rgba(47, 82, 51, 0.015) 28px,
      rgba(47, 82, 51, 0.015) 29px
    );
}

.navbar, section, footer, .whatsapp-btn { position: relative; z-index: 1; }

/* ─── Navbar ─────────────────────────────────────────────── */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 6%;
  background: rgba(255, 251, 245, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--sand-dark);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo span { color: var(--terracotta); }
.logo-leaf { font-size: 1.1rem; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--forest); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ─── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--forest);
  color: var(--warm-white);
  box-shadow: 0 4px 14px rgba(47, 82, 51, 0.25);
}

.btn-primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--warm-white);
}

.btn-ghost { background: transparent; color: var(--text-muted); padding: 8px 16px; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ─── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 70px 6% 80px;
  background: linear-gradient(170deg, var(--warm-white) 0%, var(--cream) 55%, var(--sand) 100%);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 124, 89, 0.12) 0%, transparent 70%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-left { flex: 1; max-width: 560px; }

.badge {
  display: inline-block;
  background: var(--sand);
  color: var(--forest);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--sand-dark);
  margin-bottom: 14px;
}

.malayalam {
  font-size: 1.05rem;
  color: var(--terracotta);
  font-style: italic;
  margin-bottom: 12px;
  opacity: 0.9;
}

.hero-left h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  color: var(--forest-deep);
  margin-bottom: 20px;
}

.hero-left > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-right { flex: 1; max-width: 480px; }

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--warm-white);
}

.hero-frame img { width: 100%; display: block; }

.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(transparent, rgba(30, 58, 36, 0.85));
  color: var(--warm-white);
  font-size: 0.88rem;
  font-style: italic;
}

.leaf-divider {
  text-align: center;
  padding: 20px;
  color: var(--forest-light);
  font-size: 1.1rem;
  letter-spacing: 8px;
  background: var(--warm-white);
  border-top: 1px solid var(--sand-dark);
  border-bottom: 1px solid var(--sand-dark);
}

/* ─── Sections ───────────────────────────────────────────── */

.section { padding: 80px 6%; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.3rem;
  color: var(--forest-deep);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 520px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 8px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 213, 188, 0.6);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card { padding: 32px 26px; text-align: center; }
.service-icon { font-size: 2.4rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.25rem; color: var(--forest); margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ─── Order Section ──────────────────────────────────────── */

.order-section {
  background: var(--warm-white);
  border-top: 3px solid var(--sand-dark);
  border-bottom: 3px solid var(--sand-dark);
}

.order-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.order-intro h2 {
  font-size: 2.2rem;
  color: var(--forest-deep);
  margin-bottom: 14px;
}

.order-desc { color: var(--text-muted); margin-bottom: 28px; }

.example-box {
  background: var(--cream);
  border: 2px dashed var(--sand-dark);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.example-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: 10px;
}

.example-list {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--forest);
  line-height: 1.9;
  background: none;
  border: none;
}

.steps-mini {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.mini-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mini-step span {
  width: 28px;
  height: 28px;
  background: var(--forest);
  color: var(--warm-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.order-form-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--sand-dark);
  overflow: hidden;
}

.form-card-header {
  background: var(--forest);
  color: var(--warm-white);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-card-header h3 {
  font-size: 1.3rem;
  color: var(--warm-white);
}

.form-card-header span { font-size: 1.4rem; }

#orderForm { padding: 28px 24px; }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--earth);
  margin-bottom: 6px;
}

.form-group label small { font-weight: 400; color: var(--text-muted); }

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--sand-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--forest-light);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.15);
  background: var(--warm-white);
}

.list-input {
  font-size: 0.98rem;
  line-height: 1.8;
  background:
    repeating-linear-gradient(
      transparent,
      transparent 31px,
      rgba(160, 82, 45, 0.08) 31px,
      rgba(160, 82, 45, 0.08) 32px
    ),
    var(--cream);
}

.form-error { color: var(--danger); font-size: 0.85rem; margin-top: 10px; text-align: center; }

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  font-style: italic;
}

/* ─── Village Section ────────────────────────────────────── */

.village-section { padding: 80px 6%; }

.village-banner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--warm-white);
  box-shadow: var(--shadow-lg);
}

.village-text h2 {
  font-size: 2rem;
  color: var(--warm-white);
  margin-bottom: 16px;
}

.village-text p { opacity: 0.88; margin-bottom: 24px; line-height: 1.8; }

.village-text .section-label { color: var(--copper); }

.village-tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.village-tags span {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.village-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: center;
}

.visual-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
}

.visual-card span { font-size: 2rem; display: block; margin-bottom: 8px; }
.visual-card p { font-size: 0.85rem; opacity: 0.85; }

/* ─── Announcements ──────────────────────────────────────── */

.announcements-wrap { max-width: 700px; margin: 0 auto; }

.announcement-card {
  background: var(--warm-white);
  padding: 22px 26px;
  border-left: 4px solid var(--copper);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  border-top: 1px solid var(--sand-dark);
  border-right: 1px solid var(--sand-dark);
  border-bottom: 1px solid var(--sand-dark);
}

.announcement-card h4 { font-size: 1.05rem; color: var(--forest); margin-bottom: 6px; }
.announcement-card p { color: var(--text-muted); font-size: 0.92rem; }

.muted-center { text-align: center; color: var(--text-muted); }

/* ─── Orders Page ────────────────────────────────────────── */

.order-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--sand-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.order-id {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest);
}

.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warm-white);
}

.order-list-items {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 14px;
  border: 1px dashed var(--sand-dark);
}

.order-list-items li {
  list-style: none;
  padding: 4px 0;
  font-size: 0.95rem;
  color: var(--earth);
}

.order-list-items li::before {
  content: '🌿 ';
  font-size: 0.8rem;
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--sand-dark);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.sync-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--forest);
}

/* ─── Auth Pages ─────────────────────────────────────────── */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--forest-deep) 0%, var(--forest) 40%, var(--sand) 40%);
  padding: 40px 20px;
}

.auth-card {
  background: var(--warm-white);
  padding: 44px 38px;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--sand-dark);
}

.auth-card .logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--forest);
  text-align: center;
}

.auth-card .subtitle { text-align: center; color: var(--text-muted); margin: 8px 0 28px; }

.auth-footer { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
.auth-footer a { color: var(--forest); font-weight: 600; text-decoration: none; }

/* ─── Contact & Footer ───────────────────────────────────── */

.contact-section {
  background: var(--forest-deep);
  color: var(--warm-white);
  padding: 72px 6%;
  text-align: center;
}

.contact-section h2 { font-size: 2.1rem; margin-bottom: 8px; color: var(--warm-white); }
.contact-sub { opacity: 0.75; margin-bottom: 36px; font-style: italic; }

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.contact-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.contact-item .icon { font-size: 1.7rem; }
.contact-item p { opacity: 0.88; }

.footer {
  background: #152A1C;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 28px 20px;
  font-size: 0.85rem;
}

.footer-malayalam {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin-bottom: 6px;
}

.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 26px;
  text-decoration: none;
  color: white;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 1000;
  transition: transform 0.2s;
  border: 3px solid var(--warm-white);
}

.whatsapp-btn:hover { transform: scale(1.08); }

/* ─── Toast & Loading ────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--forest);
  color: var(--warm-white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s;
  box-shadow: var(--shadow-lg);
  max-width: 90%;
  text-align: center;
}

.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-error { background: var(--danger); }

.loading { text-align: center; padding: 40px; color: var(--text-muted); }

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--sand-dark);
  border-top-color: var(--forest);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.empty-state .icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.3rem; color: var(--forest); margin-bottom: 8px; }

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-content { flex-direction: column; text-align: center; }
  .hero-trust, .hero-buttons { justify-content: center; }
  .order-layout { grid-template-columns: 1fr; }
  .village-banner { grid-template-columns: 1fr; padding: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 48px 6%; }
}
.nsk{
    width:200px;
    padding: 15px 0;
    text-align:center;
    margin:20 px 10 px;
    border-radius:25px;
    font-weight:bold;
    border: 2px solid black;
    background: transparent;
    color:#black;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
span{
    background: greenyellow;
    height: 100%;
    width: 0%;
    border-radius: 25px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.8764s;
}
.nsk:hover span{
    width: 100%;
    color:background-color:greenyellow;
}
.nsk:hover{
    border: none;
    color:white
}
.gallery-section{
padding:100px 6%;
background:
linear-gradient(rgba(255,255,255,0.92),rgba(255,255,255,0.92)),
url("bakery-bg.jpg");
background-size:cover;
background-position:center;
text-align:center;
}

.gallery-section h1{
font-size:4rem;
color:#2F5233;
margin-bottom:15px;
font-family:'Cormorant Garamond',serif;
position:relative;
}

.gallery-section h1::after{
content:"";
width:120px;
height:4px;
background:#B8860B;
display:block;
margin:15px auto;
border-radius:50px;
}

.gallery-section h2{
max-width:850px;
margin:auto;
color:#666;
font-size:1.1rem;
line-height:1.8;
margin-bottom:60px;
}

.gallery{
display:grid;
grid-template-columns:repeat(12,1fr);
gap:25px;
max-width:1400px;
margin:auto;
}

.gallery img{
width:100%;
height:300px;
object-fit:cover;
border-radius:25px;
transition:0.5s;
cursor:pointer;
border:5px solid white;
box-shadow:
0 10px 30px rgba(0,0,0,0.12),
0 0 20px rgba(184,134,11,0.08);
}

/* Layout */

.gallery img:nth-child(1){
grid-column:span 4;
}

.gallery img:nth-child(2){
grid-column:span 4;
}

.gallery img:nth-child(3){
grid-column:span 4;
}

.gallery img:nth-child(4){
grid-column:span 6;
height:350px;
}

.gallery img:nth-child(5){
grid-column:span 6;
height:350px;
}

.gallery img:hover{
transform:translateY(-15px) scale(1.04);
box-shadow:
0 20px 45px rgba(0,0,0,0.2),
0 0 25px rgba(47,82,51,0.2);
}

.gallery img:nth-child(4):hover,
.gallery img:nth-child(5):hover{
transform:translateY(-18px) scale(1.03);
}

@media(max-width:900px){

.gallery{
grid-template-columns:1fr;
}

.gallery img,
.gallery img:nth-child(1),
.gallery img:nth-child(2),
.gallery img:nth-child(3),
.gallery img:nth-child(4),
.gallery img:nth-child(5){
grid-column:span 1;
height:250px;
}

.gallery-section h1{
font-size:2.5rem;
}

.gallery-section h2{
font-size:1rem;
}

}
