/* common.css - Shared Styles for all pages */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --primary: #800000; --secondary: #daa520; --light: #fdfaf5; --dark: #2c2c2c; --white: #ffffff; --gray-bg: #f8f5f0; --shadow: 0 10px 25px -5px rgba(0,0,0,0.08); }
body { font-family: 'Poppins', 'Noto Sans Gurmukhi', sans-serif; line-height: 1.5; color: var(--dark); background: var(--white); }
.top-bar { background: var(--primary); color: white; padding: 8px 5%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,215,0,0.3); }
.contact-info { display: flex; gap: 20px; flex-wrap: wrap; }
.contact-info i { margin-right: 6px; color: var(--secondary); }
.ticker-wrapper { flex: 1; min-width: 220px; background: rgba(0,0,0,0.2); border-radius: 40px; padding: 4px 12px; overflow: hidden; white-space: nowrap; }
.ticker { display: inline-block; animation: scrollTicker 20s linear infinite; padding-left: 100%; }
.ticker span { display: inline-block; padding-right: 3rem; }
@keyframes scrollTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
@media (max-width: 768px) { .top-bar { flex-direction: column; text-align: center; } .ticker-wrapper { white-space: normal; overflow-x: auto; } }
header { background: var(--white); padding: 12px 5%; box-shadow: 0 4px 12px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { display: flex; align-items: center; text-decoration: none; gap: 12px; }
.logo-img { width: 55px; height: 55px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--secondary); font-size: 28px; font-weight: bold; }
.logo-text b { font-size: 1.2rem; color: var(--primary); }
.logo-text small { color: var(--secondary); font-size: 0.65rem; }
nav ul { list-style: none; display: flex; gap: 12px; flex-wrap: wrap; }
nav ul li a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.8rem; text-align: center; display: block; padding: 8px 10px; border-radius: 8px; transition: 0.2s; }
nav ul li a span { display: block; font-size: 0.65rem; color: var(--primary); font-family: 'Noto Sans Gurmukhi'; }
nav ul li a:hover, nav ul li a.active { color: var(--secondary); background: rgba(128,0,0,0.05); }
@media (max-width: 880px) { nav ul { display: none; width: 100%; flex-direction: column; background: white; padding: 15px; margin-top: 15px; border-radius: 20px; box-shadow: var(--shadow); } nav ul.show { display: flex; } }
.hero-section { background: linear-gradient(rgba(128,0,0,0.85), rgba(0,0,0,0.85)), url('https://images.unsplash.com/photo-1590073844006-33379778ae09?auto=format&fit=crop&w=1600&q=80'); background-size: cover; min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.hero-content { max-width: 800px; padding: 40px; }
.punjabi-hero { font-size: 2rem; color: var(--secondary); display: block; margin-bottom: 15px; }
.hero-content h1 { font-size: 2.8rem; margin-bottom: 15px; }
.punjabi-sub { font-family: 'Noto Sans Gurmukhi'; margin-top: 15px; font-size: 1.1rem; }
.btn-primary { display: inline-block; background: var(--secondary); color: var(--primary); padding: 12px 28px; border-radius: 40px; text-decoration: none; font-weight: bold; margin-top: 25px; transition: 0.2s; }
.btn-primary:hover { background: #c4951a; transform: translateY(-2px); }
.page-container { padding: 60px 5%; }
.page-header { text-align: center; margin-bottom: 50px; }
.page-header h1 { color: var(--primary); font-size: 2.2rem; text-transform: uppercase; }
.page-header .punjabi-head { display: block; color: var(--secondary); font-size: 1.5rem; font-family: 'Noto Sans Gurmukhi'; margin-bottom: 8px; }
.heading-line { width: 80px; height: 3px; background: var(--secondary); margin: 15px auto; }
.bg-light { background: var(--gray-bg); }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card { background: white; padding: 30px 20px; border-radius: 20px; box-shadow: var(--shadow); border-bottom: 4px solid var(--primary); text-align: center; transition: transform 0.2s; }
.card:hover { transform: translateY(-5px); }
.card i { font-size: 2.2rem; color: var(--secondary); margin-bottom: 15px; }
.card h3 { margin: 10px 0; color: var(--primary); }
.punjabi-text { font-family: 'Noto Sans Gurmukhi'; color: var(--secondary); font-weight: 600; display: block; margin-bottom: 6px; }
.member-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; margin-top: 20px; }
.member-card { background: white; border-radius: 16px; padding: 25px; text-align: center; min-width: 200px; box-shadow: var(--shadow); }
.president-card { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: white; border-radius: 32px; padding: 35px; box-shadow: var(--shadow); }
.pres-img { width: 200px; height: 200px; border-radius: 50%; background: #80000020; border: 4px solid var(--secondary); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 25px; }
.gallery-item { background: #e9e4db; border-radius: 20px; aspect-ratio: 1/1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-weight: 500; color: var(--primary); transition: 0.2s; }
.contact-split { display: flex; flex-wrap: wrap; gap: 40px; background: white; padding: 35px; border-radius: 28px; box-shadow: var(--shadow); }
.contact-block { flex: 1; }
footer { background: #1a1a1a; color: #ccc; padding: 35px 5%; text-align: center; border-top: 3px solid var(--secondary); }
.punjabi { font-family: 'Noto Sans Gurmukhi'; }
.btn { display: inline-block; background: var(--primary); color: white; padding: 8px 20px; border-radius: 40px; text-decoration: none; margin-top: 15px; }
@media (max-width: 600px) { .hero-content h1 { font-size: 1.8rem; } .page-container { padding: 40px 5%; } }