/* ============================================================
   JAGANNATH RATH YATRA THEME - MAIN STYLESHEET
   Color theme: Sacred Maroon, Saffron & Gold
============================================================ */

* { box-sizing: border-box; }

body.jry-elementor-ready { background: var(--ivory); }

a { color: inherit; }

/* ---------- TYPOGRAPHY HELPERS (use in Elementor too) ---------- */
.jry-font-display { font-family: 'Cinzel Decorative', serif; }
.jry-font-heading { font-family: 'Cinzel', serif; }
.jry-font-body { font-family: 'Hind', sans-serif; }

/* ---------- SECTION WRAPPER ---------- */
.jry-section { padding: 70px 24px; }
.jry-container { max-width: 1200px; margin: 0 auto; }

.jry-section-header { text-align: center; margin-bottom: 50px; }
.jry-section-label {
  font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--saffron); display: block; margin-bottom: 10px;
}
.jry-section-title {
  font-family: 'Cinzel Decorative', serif; font-size: clamp(22px, 4vw, 36px);
  color: var(--maroon); margin-bottom: 14px; line-height: 1.2;
}
.jry-section-sub { font-size: 15px; color: var(--text-light); max-width: 560px; margin: 0 auto; line-height: 1.7; }

.jry-ornament { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:16px; }
.jry-ornament::before, .jry-ornament::after { content:''; flex:1; max-width:80px; height:1px; background:linear-gradient(90deg, transparent, var(--gold)); }
.jry-ornament::after { background:linear-gradient(90deg, var(--gold), transparent); }
.jry-ornament span { color: var(--gold); font-size: 18px; }

/* ---------- BUTTONS ---------- */
.jry-btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
  color: white !important; padding: 14px 32px; border-radius: 8px; text-decoration: none;
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 14px; letter-spacing: 1px;
  box-shadow: 0 6px 25px rgba(255,107,26,0.45); transition: all 0.3s; border: none;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.jry-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,107,26,0.55); }

.jry-btn-secondary {
  background: transparent; color: var(--gold) !important; padding: 14px 32px; border-radius: 8px;
  text-decoration: none; font-family: 'Cinzel', serif; font-weight: 600; font-size: 14px;
  letter-spacing: 1px; border: 2px solid var(--gold); transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.jry-btn-secondary:hover { background: rgba(245,166,35,0.1); transform: translateY(-3px); }

/* ---------- HEADER ---------- */
.jry-header {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--deep-maroon) 50%, #3A0A0A 100%);
  border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.jry-header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 20px; }
.jry-logo-wrap { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.jry-logo-icon {
  width: 56px; height: 56px; background: radial-gradient(circle, var(--gold) 0%, var(--deep-gold) 60%, var(--saffron) 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px;
  border: 3px solid rgba(255,255,255,0.3); box-shadow: 0 0 20px rgba(245,166,35,0.5); flex-shrink: 0;
}
.jry-site-title h1 { font-family: 'Cinzel Decorative', serif; font-size: 15px; font-weight: 700; color: var(--gold); line-height: 1.2; }
.jry-site-title p { font-family: 'Hind', sans-serif; font-size: 11px; color: rgba(245,166,35,0.7); letter-spacing: 3px; text-transform: uppercase; margin-top: 2px; }

.jry-header nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.jry-header nav a {
  color: rgba(255,248,231,0.85); text-decoration: none; font-family: 'Cinzel', serif;
  font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 4px; transition: all 0.2s; letter-spacing: 0.5px;
}
.jry-header nav a:hover { color: var(--gold); background: rgba(245,166,35,0.1); }
.jry-header nav a.jry-donate-link {
  background: linear-gradient(135deg, var(--saffron), var(--deep-gold)); color: white !important;
  padding: 10px 20px !important; border-radius: 6px !important; font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(255,107,26,0.4);
}

/* ---------- HERO ---------- */
.jry-hero {
  min-height: 85vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #3A0A0A 0%, var(--deep-maroon) 30%, #7A2800 60%, var(--maroon) 100%);
  text-align: center; padding: 60px 24px;
}
.jry-hero-content { position: relative; z-index: 2; max-width: 800px; }
.jry-hero-badge {
  display: inline-block; background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.4);
  color: var(--gold); font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  padding: 8px 20px; border-radius: 30px; margin-bottom: 24px;
}
.jry-hero h2 { font-family: 'Cinzel Decorative', serif; font-size: clamp(28px, 6vw, 64px); color: var(--gold); line-height: 1.15; margin-bottom: 12px; }
.jry-hero h3 { font-family: 'Cinzel', serif; font-size: clamp(16px, 3vw, 26px); color: rgba(255,248,231,0.9); font-weight: 400; margin-bottom: 20px; }
.jry-hero p { font-size: 16px; color: rgba(255,248,231,0.75); line-height: 1.8; margin-bottom: 36px; }
.jry-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- DASHBOARD / STATS ---------- */
.jry-dashboard-section {
  background: linear-gradient(135deg, var(--deep-maroon) 0%, var(--maroon) 50%, #6B1A1A 100%);
}
.jry-dashboard-section .jry-section-title { color: var(--gold); }
.jry-dashboard-section .jry-section-sub { color: rgba(255,248,231,0.65); }

.jry-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.jry-stat-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(245,166,35,0.25); border-radius: 16px;
  padding: 28px 24px; text-align: center; position: relative; overflow: hidden; transition: transform .3s;
}
.jry-stat-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--saffron), var(--gold)); }
.jry-stat-card:hover { transform: translateY(-5px); }
.jry-stat-icon { width:52px; height:52px; border-radius:50%; background: rgba(245,166,35,0.15); display:flex; align-items:center; justify-content:center; margin:0 auto 14px; font-size:22px; color: var(--gold); }
.jry-stat-value { font-family: 'Cinzel Decorative', serif; font-size: 28px; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.jry-stat-label { font-size: 12px; color: rgba(255,248,231,0.6); letter-spacing: 2px; text-transform: uppercase; font-family: 'Cinzel', serif; }

/* ---------- EXPENSE CATEGORIES ---------- */
.jry-expense-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.jry-expense-card {
  background: white; border-radius: 16px; padding: 28px 20px; text-align: center;
  border: 1px solid rgba(245,166,35,0.2); transition: all 0.3s;
}
.jry-expense-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(139,26,26,0.12); border-color: var(--gold); }
.jry-expense-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.jry-expense-card h4 { font-family: 'Cinzel', serif; font-size: 13px; color: var(--text-dark); margin-bottom: 8px; font-weight: 600; }
.jry-expense-amount { font-family: 'Cinzel Decorative', serif; font-size: 18px; color: var(--maroon); font-weight: 700; }
.jry-expense-bar { height: 4px; background: rgba(139,26,26,0.1); border-radius: 4px; margin-top: 12px; overflow: hidden; }
.jry-expense-bar-fill { height: 100%; background: linear-gradient(90deg, var(--saffron), var(--gold)); border-radius: 4px; }

/* ---------- TABLES ---------- */
.jry-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid rgba(245,166,35,0.2); }
.jry-table { width: 100%; border-collapse: collapse; background: white; min-width: 500px; }
.jry-table thead { background: linear-gradient(135deg, var(--deep-maroon), var(--maroon)); }
.jry-table thead th { padding: 14px 18px; text-align: left; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 1px; color: var(--gold); text-transform: uppercase; }
.jry-table tbody tr { border-bottom: 1px solid rgba(245,166,35,0.1); }
.jry-table tbody tr:hover { background: rgba(245,166,35,0.04); }
.jry-table tbody td { padding: 13px 18px; font-size: 14px; color: var(--text-dark); }
.jry-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 500; text-decoration: none; }
.jry-badge-success { background: rgba(107,203,119,0.15); color: #2D6A35; }
.jry-badge-pending { background: rgba(245,166,35,0.15); color: #8B5E0A; }
.jry-badge-mode { background: rgba(139,26,26,0.08); color: var(--maroon); }

/* ---------- MEMBERS ---------- */
.jry-members-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.jry-member-card {
  background: white; border-radius: 20px; padding: 28px 20px; text-align: center;
  border: 1px solid rgba(245,166,35,0.2); position: relative; overflow: hidden; transition: all .3s;
}
.jry-member-card::before { content:''; position:absolute; top:0; left:0; right:0; height:5px; background: linear-gradient(90deg, var(--maroon), var(--saffron), var(--gold)); }
.jry-member-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(139,26,26,0.12); }
.jry-member-avatar, .jry-member-photo img {
  width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--maroon), var(--saffron));
  display: flex; align-items: center; justify-content: center; font-family: 'Cinzel Decorative', serif;
  font-size: 22px; color: var(--gold); margin: 0 auto 14px; border: 3px solid rgba(245,166,35,0.3); font-weight: 700;
  object-fit: cover;
}
.jry-member-card h4 { font-family: 'Cinzel', serif; font-size: 15px; color: var(--text-dark); margin-bottom: 4px; }
.jry-member-role { font-size: 12px; color: var(--saffron); font-family: 'Cinzel', serif; letter-spacing: 1px; margin-bottom: 10px; }
.jry-member-phone { font-size: 13px; color: var(--text-light); }

/* ---------- EVENTS ---------- */
.jry-events-list { display: flex; flex-direction: column; gap: 16px; }
.jry-event-item {
  display: flex; gap: 20px; background: white; border-radius: 16px; padding: 20px;
  border: 1px solid rgba(245,166,35,0.2); border-left: 5px solid var(--saffron); align-items: center; transition: transform .3s;
}
.jry-event-item:hover { transform: translateX(6px); }
.jry-event-date-box { background: linear-gradient(135deg, var(--maroon), var(--deep-maroon)); color: var(--gold); border-radius: 12px; padding: 12px 16px; text-align: center; flex-shrink: 0; min-width: 64px; }
.jry-event-date-box .jry-day { font-family: 'Cinzel Decorative', serif; font-size: 24px; font-weight: 700; line-height: 1; }
.jry-event-date-box .jry-month { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 2px; opacity: 0.8; text-transform: uppercase; }
.jry-event-info h4 { font-family: 'Cinzel', serif; font-size: 16px; color: var(--text-dark); margin-bottom: 5px; }
.jry-event-info p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.jry-event-time { font-size: 12px; color: var(--saffron); margin-top: 6px; }

/* ---------- GALLERY ---------- */
.jry-gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.jry-gallery-item { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; position: relative; cursor: pointer; }
.jry-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.jry-gallery-item:hover img { transform: scale(1.08); }
.jry-gallery-box { width: 100%; height: 100%; display:flex; align-items:center; justify-content:center; font-size: 48px; background: linear-gradient(135deg, var(--deep-maroon), var(--maroon)); }
.jry-gallery-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px; background: rgba(0,0,0,0); transition: background .3s; }
.jry-gallery-item:hover .jry-gallery-overlay { background: rgba(0,0,0,0.35); }
.jry-gallery-caption { color: white; font-family: 'Cinzel', serif; font-size: 12px; opacity: 0; transition: opacity .3s; }
.jry-gallery-item:hover .jry-gallery-caption { opacity: 1; }

/* ---------- SPONSORS ---------- */
.jry-sponsors-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.jry-sponsor-badge {
  background: white; border: 1px solid rgba(245,166,35,0.2); border-radius: 12px; padding: 16px 28px;
  font-family: 'Cinzel', serif; font-size: 13px; color: var(--text-mid); font-weight: 600; transition: all .3s;
}
.jry-sponsor-badge:hover { border-color: var(--gold); color: var(--maroon); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(139,26,26,0.1); }

/* ---------- DONATE SECTION ---------- */
.jry-donate-section { background: linear-gradient(135deg, var(--deep-maroon) 0%, #4A0E0E 50%, var(--maroon) 100%); }
.jry-donate-section .jry-section-title { color: var(--gold); }
.jry-donate-section .jry-section-sub { color: rgba(255,248,231,0.65); }
.jry-donate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.jry-donate-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(245,166,35,0.25); border-radius: 20px; padding: 32px; text-align: center; }
.jry-donate-card h3 { font-family: 'Cinzel', serif; font-size: 16px; color: var(--gold); margin-bottom: 20px; }
.jry-qr-placeholder { width: 160px; height: 160px; background: white; border-radius: 12px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 50px; }
.jry-upi-id { font-family: monospace; font-size: 14px; color: rgba(255,248,231,0.8); background: rgba(0,0,0,0.2); padding: 8px 16px; border-radius: 8px; }
.jry-bank-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(245,166,35,0.1); font-size: 14px; }
.jry-bank-row .jry-lbl { color: rgba(255,248,231,0.5); font-family: 'Cinzel', serif; font-size: 11px; }
.jry-bank-row .jry-val { color: rgba(255,248,231,0.9); font-weight: 500; }

/* ---------- FOOTER ---------- */
.jry-footer { background: linear-gradient(180deg, var(--deep-maroon) 0%, #2A0808 100%); color: rgba(255,248,231,0.75); padding: 60px 24px 24px; border-top: 3px solid var(--gold); }
.jry-footer h4 { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 2px; color: var(--gold); margin-bottom: 16px; text-transform: uppercase; }
.jry-footer-bottom { max-width: 1200px; margin: 40px auto 0; border-top: 1px solid rgba(245,166,35,0.15); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; }

/* ---------- MOBILE BOTTOM NAV ---------- */
.jry-mobile-bottom-nav { display: none; position: fixed; bottom:0; left:0; right:0; background: var(--deep-maroon); border-top: 2px solid var(--gold); z-index: 999; padding: 8px 0 12px; }
.jry-mobile-bottom-nav ul { display: flex; justify-content: space-around; list-style: none; margin: 0; padding: 0; }
.jry-mobile-bottom-nav li a { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: rgba(255,248,231,0.55); font-size: 10px; font-family: 'Cinzel', serif; gap: 4px; }
.jry-mobile-bottom-nav li a i { font-size: 20px; }
.jry-mobile-bottom-nav li a:hover { color: var(--gold); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .jry-header nav { display: none; }
  .jry-hamburger { display: block !important; }
}
@media (max-width: 600px) {
  .jry-stats-grid { grid-template-columns: 1fr 1fr; }
  .jry-mobile-bottom-nav { display: block; }
  body { padding-bottom: 70px; }
  .jry-section { padding: 50px 16px; }
}

.jry-hamburger { display: none; background: none; border: 2px solid var(--gold); color: var(--gold); padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 18px; }
