/* KAFCO AGRO - Krishak Agro Forestry Company
   Mobile-First, Farmer-Centric, High Performance Stylesheet
   Color Palette: Forest Greens, Agricultural Gold/Amber, Earth Tones
*/

:root {
  --color-primary-dark: #0f2d1e;
  --color-primary: #1b4332;
  --color-primary-light: #2d6a4f;
  --color-primary-accent: #40916c;
  --color-secondary: #d97706;
  --color-secondary-hover: #b45309;
  --color-secondary-light: #fef3c7;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;
  --color-text-main: #1c2826;
  --color-text-muted: #4a5568;
  --color-text-light: #718096;
  --color-bg-light: #f8faf5;
  --color-bg-card: #ffffff;
  --color-bg-subtle: #edf2e8;
  --color-border: #e2e8f0;
  --color-border-subtle: #cbd5e1;
  --color-white: #ffffff;
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Devanagari", "Noto Sans", Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --container-max: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: 1.65;
  font-display: swap;
  padding-bottom: 72px; /* Space for mobile sticky action bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.45rem; margin-top: 1.5rem; }
h3 { font-size: 1.2rem; margin-top: 1.25rem; }
h4 { font-size: 1.05rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.85rem; }
  h3 { font-size: 1.35rem; }
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: var(--color-secondary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.text-muted { color: var(--color-text-muted); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }

/* Header & Navigation */
.site-header {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.header-top {
  background-color: #0b2216;
  padding: 6px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-contact-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-contact-links a {
  color: #d1fae5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-contact-links a:hover {
  color: #fbbf24;
}

.lang-switch-link {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  color: #ffffff !important;
  font-weight: 600;
}

.header-main {
  padding: 0.75rem 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-white);
}

.logo-brand img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: white;
  padding: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: #a7f3d0;
  font-weight: 500;
}

/* Nav Menu */
.nav-toggle-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-white);
  border-radius: 2px;
}

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav.is-open {
  display: block;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-list a {
  color: #f0fdf4;
  text-decoration: none;
  padding: 0.6rem 0.75rem;
  display: block;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:hover, .nav-list a.active {
  background-color: var(--color-primary);
  color: #fef08a;
}

.header-action-btns {
  display: none;
}

@media (min-width: 992px) {
  .nav-toggle-btn {
    display: none;
  }
  .main-nav {
    display: block;
    position: static;
    width: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-top: none;
  }
  .nav-list {
    flex-direction: row;
    gap: 0.25rem;
    align-items: center;
  }
  .header-action-btns {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  min-height: 44px; /* Touch friendly */
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary-dark);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-hover);
  color: var(--color-white);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #0b2e1b;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  color: #000;
}

.btn-outline-light {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  min-height: 36px;
}

.btn-lg {
  padding: 0.85rem 1.65rem;
  font-size: 1.05rem;
}

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 0.75rem 0;
  background-color: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 0.5rem;
  color: var(--color-text-light);
}

.breadcrumb-item a {
  color: var(--color-primary-light);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: 2.5rem 0;
}

.hero-content h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #d1fae5;
  margin-bottom: 1.5rem;
  max-width: 750px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.15);
  color: #f0fdf4;
}

.badge-gold {
  background-color: var(--color-secondary-light);
  color: #92400e;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Quick Answer Box (Farmer-First Question Answer) */
.quick-answer-card {
  background-color: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.quick-answer-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
}

.quick-answer-badge {
  background-color: var(--color-primary);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-answer-body {
  font-size: 1.02rem;
  color: #14532d;
  font-weight: 500;
  line-height: 1.6;
}

/* Content Sections */
.section {
  padding: 2.5rem 0;
}

.section-subtle {
  background-color: var(--color-bg-subtle);
}

.section-white {
  background-color: var(--color-white);
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  margin-top: 0;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 800px;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Cards */
.card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #e2e8f0;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.card-body p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  flex: 1;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
}

/* Steps / Farmer Journey */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-card {
  display: flex;
  gap: 1rem;
  background: white;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background-color: var(--color-primary);
  color: white;
  font-weight: 800;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.step-content h3 {
  margin-top: 0;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.step-content p {
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* Tables for Agronomic Data */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.agri-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.agri-table th, .agri-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.agri-table th {
  background-color: var(--color-primary);
  color: white;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.agri-table tr:last-child td {
  border-bottom: none;
}

.agri-table tr:nth-child(even) {
  background-color: var(--color-bg-light);
}

/* Accordion FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.faq-trigger:hover, .faq-trigger:focus {
  background-color: var(--color-bg-light);
}

.faq-trigger .faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
  font-weight: bold;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  display: none;
  padding: 0 1.25rem 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
}

.faq-content.is-open {
  display: block;
}

/* Farmer Enquiry Form */
.enquiry-form-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text-main);
}

.form-label .req {
  color: #dc2626;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  background-color: #fafafa;
  color: var(--color-text-main);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.15);
  background-color: #ffffff;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.form-help {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

.form-status {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  display: none;
  font-size: 0.9rem;
}

.form-status.success {
  display: block;
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.honey-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Director & Trust Section */
.director-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .director-card {
    flex-direction: row;
    align-items: center;
  }
  .director-img-wrap {
    width: 280px;
    flex-shrink: 0;
  }
}

.director-img-wrap img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Photo Gallery Grid */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .photo-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #e2e8f0;
  aspect-ratio: 4 / 3;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 6px 10px;
  background: rgba(15, 45, 30, 0.85);
  color: white;
  font-size: 0.75rem;
  line-height: 1.2;
}

/* Footer */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #e2e8f0;
  padding: 3rem 0 1.5rem 0;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-secondary);
  display: inline-block;
  padding-bottom: 4px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fbbf24;
}

.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-info li {
  margin-bottom: 0.75rem;
  display: flex;
  gap: 8px;
}

.footer-contact-info a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-contact-info a:hover {
  color: #fbbf24;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-legal-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.agricultural-disclaimer-box {
  background-color: rgba(0, 0, 0, 0.25);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-top: 1.5rem;
  border-left: 3px solid var(--color-secondary);
}

/* Mobile Sticky Action Bar */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  display: flex;
  padding: 6px 8px;
  gap: 8px;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

@media (min-width: 992px) {
  .mobile-action-bar {
    display: none;
  }
}

.mobile-action-bar .btn {
  flex: 1;
  padding: 8px 4px;
  font-size: 0.85rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
}

/* Focus & Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}

/* Image Zoom Lightbox Modal */
.zoomable-img, .gallery-item img, .card-img-wrap img, .director-img-wrap img {
  cursor: zoom-in;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-item:hover img, .card-img-wrap:hover img {
  transform: scale(1.03);
}

.img-lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 25, 18, 0.92);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.img-lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-wrap {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 0.75rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.lightbox-close-btn {
  position: absolute;
  top: -42px;
  right: 0;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close-btn:hover {
  background: #dc2626;
  border-color: #dc2626;
  transform: scale(1.1);
}

