/* =========================================================================
   PREMIUM DESIGN SYSTEM - Puna Choudhary Website
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Yatra+One&display=swap');

:root {
  /* Color Palette */
  --primary: #c53030;      /* Deep Red */
  --primary-light: #e53e3e;
  --secondary: #d69e2e;    /* Rich Gold */
  --secondary-light: #ecc94b;
  --accent: #dd6b20;       /* Orange */
  
  --bg-color: #fffaf0;     /* Orange 50 equivalent */
  --bg-card: rgba(255, 255, 255, 0.9);
  
  --text-main: #2d3748;
  --text-muted: #4a5568;
  --text-light: #f7fafc;
  
  /* Typography */
  --font-body: 'Outfit', sans-serif;
  --font-heading: 'Yatra One', cursive;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --spacing-sm: 0.5rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Effects */
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 20px rgba(214, 158, 46, 0.5);
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================================
   RESET & FOUNDATION
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .heading-font {
  font-family: var(--font-heading);
  font-weight: 400;
  margin-bottom: var(--spacing-sm);
  color: var(--primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
.site-header {
  background: linear-gradient(135deg, var(--primary), #9b2c2c);
  color: var(--text-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .header-inner {
    flex-direction: row;
    gap: 0;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .brand {
    text-align: left;
  }
}

.brand i {
  font-size: 2.5rem;
  color: var(--secondary-light);
  filter: drop-shadow(0 0 10px rgba(236, 201, 75, 0.4));
}

.brand h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--text-light);
  letter-spacing: 1px;
}

@media (min-width: 768px) {
  .brand h1 {
    font-size: 1.8rem;
  }
}

.brand p {
  font-size: 0.8rem;
  color: #fed7d7;
  font-weight: 300;
}

.header-badge {
  background-color: var(--secondary);
  color: #742a2a;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(214, 158, 46, 0.7); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(214, 158, 46, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(214, 158, 46, 0); }
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
  background-color: var(--accent);
  background-image: 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='%23ffffff' 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");
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
  color: var(--text-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(221,107,32,0.6) 0%, rgba(197,48,48,0.8) 100%);
  z-index: 1;
}

.hero .container {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero .container {
    flex-direction: row;
  }
}

.hero-content {
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-content {
    width: 55%;
    text-align: left;
  }
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  color: var(--secondary-light);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 3rem;
  color: var(--text-light);
  line-height: 1.1;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--secondary-light);
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 2rem;
  }
}

.hero-quote {
  font-size: 1.1rem;
  font-weight: 300;
  background: rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--secondary);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
  font-style: italic;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background-color: var(--secondary);
  color: #742a2a;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-visual {
    width: 40%;
    justify-content: flex-end;
  }
}

.profile-container {
  position: relative;
}

.profile-ring {
  position: absolute;
  top: -5%; left: -5%; right: -5%; bottom: -5%;
  background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(20px);
  animation: glow 4s ease-in-out infinite alternate;
}

@keyframes glow {
  from { opacity: 0.4; transform: scale(0.95); }
  to { opacity: 0.8; transform: scale(1.05); }
}

.profile-image {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid var(--text-light);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  transition: var(--transition-smooth);
}

@media (min-width: 768px) {
  .profile-image {
    width: 320px;
    height: 320px;
  }
}

.profile-image:hover {
  transform: scale(1.02) rotate(2deg);
}

.profile-badge {
  position: absolute;
  bottom: 10px;
  right: 15px;
  background-color: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--text-light);
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.profile-badge i {
  font-size: 1.5rem;
  color: var(--secondary-light);
}

/* =========================================================================
   FEATURES SECTION (CARDS)
   ========================================================================= */
.features {
  padding: var(--spacing-xl) 0;
  background-color: var(--text-light);
  margin-top: -3rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-size: 2.2rem;
  display: inline-block;
  border-bottom: 4px solid var(--accent);
  padding-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 1rem;
}

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

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

.feature-card {
  background: var(--bg-color);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  transition: var(--transition-smooth);
}

.feature-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Variant 1 */
.card-1 { border-top: 4px solid var(--primary-light); }
.card-1::before { background-color: var(--primary-light); }
.card-1 .card-icon { background-color: #fed7d7; color: var(--primary); }
.card-1:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.card-1:hover .card-icon { background-color: var(--primary); color: white; }

/* Variant 2 (Highlight) */
.card-highlight {
  background: linear-gradient(135deg, var(--primary), #9b2c2c);
  color: white;
  transform: translateY(-1rem);
  box-shadow: var(--shadow-lg);
}

.card-highlight:hover {
  transform: translateY(-1.5rem);
}

.card-highlight i.quote-icon {
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 10rem;
  color: rgba(0,0,0,0.1);
}

.card-highlight h3 {
  color: var(--secondary-light);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  position: relative;
  z-index: 2;
}

.card-highlight p {
  color: var(--text-light);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 1.5rem 0;
  position: relative;
  z-index: 2;
}

.card-highlight .line {
  height: 4px;
  width: 60px;
  background-color: var(--secondary-light);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
  z-index: 2;
}

/* Variant 3 */
.card-3 { border-top: 4px solid var(--secondary); }
.card-3::before { background-color: var(--secondary); }
.card-3 .card-icon { background-color: #fefcbf; color: var(--secondary); }
.card-3:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.card-3:hover .card-icon { background-color: var(--secondary); color: #742a2a; }

/* =========================================================================
   MESSAGE SECTION (GLASSMORPHISM)
   ========================================================================= */
.message-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 100% 0%, rgba(221, 107, 32, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(197, 48, 48, 0.08) 0%, transparent 40%);
  border-top: 1px solid rgba(221, 107, 32, 0.2);
  border-bottom: 1px solid rgba(221, 107, 32, 0.2);
}

.glass-panel {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0,0,0,0.03);
}

@media (min-width: 768px) {
  .glass-panel {
    padding: 4rem;
  }
}

.glass-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 0.6rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #edf2f7;
}

.glass-badge i {
  color: var(--primary);
}

.quote-mark {
  font-size: 2.5rem;
  color: rgba(221, 107, 32, 0.3);
  display: block;
  margin: 1rem 0;
}

.message-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .message-text p {
    font-size: 1.3rem;
  }
}

.message-author {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.message-author h4 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.message-author .role {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
}

.message-author .org {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

/* =========================================================================
   HISTORY SECTION
   ========================================================================= */
.history {
  padding: var(--spacing-xl) 0;
  background-color: var(--text-light);
}

.history .container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .history .container {
    flex-direction: row;
  }
}

.history-content {
  flex: 1;
}

.history-title {
  font-size: 2.2rem;
  border-left: 5px solid var(--primary);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.history-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.history-alert {
  background-color: #fffaf0;
  border: 1px solid #fbd38d;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
  color: #9c4221;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.history-alert i {
  color: var(--accent);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.history-images {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.history-images img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.history-images img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.history-images img:nth-child(2) {
  margin-top: 3rem;
}

/* =========================================================================
   GALLERY SECTION
   ========================================================================= */
.gallery {
  padding: var(--spacing-xl) 0;
  background-color: #1a202c;
  color: var(--text-light);
}

.gallery .section-title {
  color: var(--text-light);
  border-bottom-color: var(--secondary);
}

.gallery .section-subtitle {
  color: #a0aec0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

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

.gallery-item {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid #2d3748;
  transition: var(--transition-smooth);
  background-color: #2d3748; /* fallback placeholder */
}

.gallery-item:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

.gallery-overlay i {
  color: #48bb78; /* green */
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background-color: #000;
  color: #a0aec0;
  padding: var(--spacing-lg) 0 1rem;
  border-top: 4px solid var(--primary);
}

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

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

.footer-col h4 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.footer-list i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.footer-list a:hover {
  color: white;
}

.contact-info li.officer-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #2d3748;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.officer-row strong {
  color: white;
}

.highlight-row {
  color: var(--secondary-light);
}

.highlight-row strong {
  color: var(--secondary-light);
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}
