/* ============================================
   Professor of Punjabi - Shared Stylesheet
   Punjabi Cultural Theme: Saffron, Deep Green, Gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Noto+Nastaliq+Urdu:wght@400;700&family=Tiro+Devanagari+Hindi&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --saffron:     #E8621A;
  --deep-green:  #1A5C38;
  --gold:        #C9920A;
  --gold-light:  #F5D078;
  --cream:       #FDF6E3;
  --dark-brown:  #2C1A0E;
  --text-main:   #1E1008;
  --text-muted:  #6B4C2A;
  --white:       #FFFFFF;
  --shadow:      0 4px 24px rgba(44,26,14,0.13);
  --radius:      10px;
  --transition:  0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--cream);
  color: var(--text-main);
  min-height: 100vh;
  direction: ltr;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: 'Playfair Display', serif; }
.urdu, .shahmukhi { font-family: 'Noto Nastaliq Urdu', serif; direction: rtl; text-align: right; }
.gurmukhi { font-family: 'Tiro Devanagari Hindi', serif; }

/* ---- HEADER ---- */
header {
  background: linear-gradient(135deg, var(--dark-brown) 0%, #3D1F08 60%, var(--deep-green) 100%);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 18px rgba(0,0,0,0.35);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-placeholder {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  border: 3px solid var(--gold-light);
  flex-shrink: 0;
}

.site-name {
  display: flex; flex-direction: column;
}

.site-name .en { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--gold-light); font-weight: 700; letter-spacing: 0.5px; }
.site-name .ur { font-family: 'Noto Nastaliq Urdu', serif; font-size: 1rem; color: var(--cream); direction: rtl; }

/* NAV */
nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

nav a {
  color: var(--cream);
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: 'Lora', serif;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

nav a:hover, nav a.active {
  background: var(--saffron);
  color: var(--white);
}

.nav-cta {
  background: linear-gradient(135deg, var(--saffron), var(--gold)) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  border: none;
  margin-left: 6px;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span { width: 26px; height: 3px; background: var(--gold-light); border-radius: 2px; display: block; transition: var(--transition); }

/* ---- FOOTER ---- */
footer {
  background: linear-gradient(135deg, var(--dark-brown) 0%, #3D1F08 60%, var(--deep-green) 100%);
  color: var(--cream);
  padding: 50px 20px 20px;
  margin-top: 60px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(249,208,120,0.25);
}

.footer-col h4 {
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--saffron);
  display: inline-block;
}

.footer-col a, .footer-col p {
  color: rgba(253,246,227,0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(253,246,227,0.6);
}

.footer-bottom a { color: var(--gold-light); text-decoration: none; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,98,26,0.4); }
.btn-outline {
  background: transparent;
  color: var(--saffron);
  border: 2px solid var(--saffron);
}
.btn-outline:hover { background: var(--saffron); color: var(--white); }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 36px rgba(44,26,14,0.18); }

.card-body { padding: 22px; }
.card-body h3 { font-size: 1.1rem; color: var(--dark-brown); margin-bottom: 8px; }
.card-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.card-thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 { font-size: 2.1rem; color: var(--dark-brown); }
.section-header .subtitle { color: var(--text-muted); margin-top: 8px; font-style: italic; }
.section-header .divider {
  width: 70px; height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ---- GRID LAYOUTS ---- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }

/* ---- HERO BANNER ---- */
.hero-banner {
  background: linear-gradient(135deg, var(--dark-brown) 0%, #4A2510 50%, var(--deep-green) 100%);
  padding: 70px 20px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9920A' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-banner .hero-content { position: relative; z-index: 1; max-width: 750px; margin: 0 auto; }
.hero-banner h1 { font-size: clamp(1.8rem, 4vw, 3rem); color: var(--gold-light); margin-bottom: 16px; }
.hero-banner p { font-size: 1.05rem; color: rgba(253,246,227,0.88); line-height: 1.7; margin-bottom: 28px; }
.hero-banner .ur-title { font-family: 'Noto Nastaliq Urdu', serif; font-size: 1.4rem; direction: rtl; display: block; color: var(--gold-light); margin-bottom: 12px; }

/* ---- BADGES / TAGS ---- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  margin: 2px;
}

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 20px; }

/* ---- BREADCRUMB ---- */
.breadcrumb { background: var(--white); padding: 12px 20px; border-bottom: 1px solid #E8D5B0; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--saffron); text-decoration: none; }
.breadcrumb span { margin: 0 6px; }

/* ---- FORM STYLES ---- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--dark-brown); font-size: 0.92rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 2px solid #D9C4A0;
  border-radius: 8px;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--cream);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--saffron);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav { display: none; flex-direction: column; width: 100%; padding: 12px 0; }
  nav.open { display: flex; }
  nav a { width: 100%; text-align: center; }
  .hero-banner { padding: 50px 16px; }
  .section { padding: 40px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 10px 16px; }
  .site-name .en { font-size: 1rem; }
}

/* ---- SEO META HINTS (visible for dev) ---- */
/* Each page has: <title>, <meta description>, <meta keywords>, canonical, OG tags */

/* ---- PUNJABI PATTERN DIVIDER ---- */
.phulkari-divider {
  text-align: center;
  margin: 30px 0;
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 8px;
}

/* ---- QUOTE BLOCK ---- */
.quote-block {
  border-left: 5px solid var(--saffron);
  background: linear-gradient(90deg, rgba(232,98,26,0.07), transparent);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}
.quote-block .ur { font-family: 'Noto Nastaliq Urdu', serif; font-size: 1.3rem; direction: rtl; color: var(--dark-brown); margin-bottom: 8px; }
.quote-block .attr { color: var(--text-muted); font-style: italic; font-size: 0.88rem; }
.pa {
  direction: ltr;
  text-align: left;
}
