/*
Theme Name: Vetchi Luxury Tamil Journal Theme
Theme URI: https://winzuar.com/vetchi
Author: Winzuar Technologies
Description: A modern, high-end luxury academic theme designed specifically for VETCHI : A Multidisciplinary Research Journal of Tamil Studies. Features responsive design, custom golden-yellow onyx layout, and specialized Research Articles section.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: vetchi
*/

/* Custom Font Injection */



@font-face {
    font-family: 'UniIlaSundaram';
    src: url('fonts/Uni Ila.Sundaram-03.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-deep: #0b1622;      
    --accent-gold: #dfb15b;       
    --accent-gold-dark: #b88d3c;  
    --accent-gold-pale: #fcf8ee;  
    --text-dark: #1f262e;         
    --text-light: #f5f7fa;        
    --bg-light: #fafaf9;          
    --bg-card: #ffffff;           
    --sans-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition-lux: cubic-bezier(0.16, 1, 0.3, 1);
}

/** { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }*/
/*html { overflow-x: hidden; scroll-padding-top: 80px; }*/
/*body { background-color: var(--bg-light); color: var(--text-dark); font-family: var(--sans-ui); line-height: 1.75; overflow-x: hidden; }*/
/*h1, h2, h3, h4, .section-title-ta, .kural-text { font-family: 'UniIlaSundaram', var(--sans-ui); font-weight: 400; letter-spacing: 0.01em; }*/

/* 1. Reset and Base Setup */
* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  -webkit-tap-highlight-color: transparent; 
}

html { 
  overflow-x: hidden; 
  scroll-padding-top: 80px; 
}

/* 2. Global Body & Paragraph Setup */
body { 
  background-color: var(--bg-light); 
  color: var(--text-dark); 
  /* Set the default font to UniIlaSundaram so everything (including paragraphs) inherits it */
  font-family: 'UniIlaSundaram', var(--sans-ui); 
  line-height: 1.75; 
  overflow-x: hidden; 
}

/* Explicit styling for body paragraphs */
p {
  font-family: 'UniIlaSundaram', var(--sans-ui);
  font-size: 2.05rem; /* Comfortably sized reading font for custom Tamil typography */
  margin-bottom: 2.25rem;
}

/* 3. Navigation & Menu Fix */
/* Explicitly targeting your header links ensures browsers drop Segoe UI entirely */
header a,
nav a,
.menu-item {
  font-family: 'UniIlaSundaram', var(--sans-ui) !important;
  font-size: 1.1rem; /* Adjust this size if you want the menu items slightly larger/smaller */
}

/* 4. Headings & Special Text */
h1, h2, h3, h4, .section-title-ta, .kural-text { 
  font-family: 'UniIlaSundaram', var(--sans-ui); 
  font-weight: 400; 
  letter-spacing: 0.01em; 
}

.about-text {
  font-family: 'UniIlaSundaram', var(--sans-ui) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

/* Keeps the hidden gallery items compiled in the DOM but strictly invisible on-screen */
.hidden-item {
    display: none !important;
}


.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 40px; }
.align-center { align-items: center; }
.section-padding { padding: 60px 0; } 
.mt-4 { margin-top: 30px; }
.gap-4 { gap: 24px; }

.section-tag { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent-gold-dark); margin-bottom: 12px; font-weight: 700; }
.tag-gold { color: var(--accent-gold); }
.tag-dark { color: var(--primary-deep); }
.section-title-ta { font-size: 28px; color: var(--primary-deep); margin-bottom: 20px; line-height: 1.3; }
.section-title-heavy { font-size: 30px; color: var(--text-light); margin-bottom: 15px; }
.subtitle-text { font-size: 14px; color: #64748b; margin-top: -10px; margin-bottom: 20px; }
.paragraph {  font-size: 16px;  line-height: 1.5; text-align: justify; }

/* Header UI */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(11, 22, 34, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: all 0.3s ease; padding: 16px 0; border-bottom: 1px solid rgba(223, 177, 91, 0.1); }
.site-header.scrolled { background: #0b1622; padding: 12px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-circle { width: 38px; height: 38px; border: 1.5px solid var(--accent-gold); display: flex; align-items: center; justify-content: center; border-radius: 50%; background-color: rgba(223, 177, 91, 0.05); flex-shrink: 0; }
.logo-circle span { font-size: 9px; color: var(--accent-gold); font-weight: bold; }
.brand-text h1 { font-size: 21px; color: #ffffff; line-height: 1; }
.sub-brand { font-size: 10px; color: var(--accent-gold); letter-spacing: 0.05em; margin-top: 2px; }
.main-navigation { display: flex; gap: 24px; }
.nav-link { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 14px; padding: 6px 0; }
.nav-link:hover, .nav-link.active { color: var(--accent-gold); }
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 22px; cursor: pointer; padding: 8px; }

/* Hero */
.hero-scroll-container { position: relative; height: 100vh; min-height: 560px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background-color: var(--primary-deep); }
.hero-parallax-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('https://images.unsplash.com/photo-1506880018603-83d5b814b5a6?auto=format&fit=crop&q=80&w=1000'); background-size: cover; background-position: center; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(11, 22, 34, 0.8) 0%, rgba(11, 22, 34, 0.95) 100%); }
.hero-content { position: relative; z-index: 10; max-width: 800px; padding: 0 16px; margin-top: 40px; }
.kural-badge { display: inline-block; padding: 4px 14px; border: 1px solid var(--accent-gold); color: var(--accent-gold); font-size: 11px; margin-bottom: 24px; background: rgba(223, 177, 91, 0.05); }
.kural-text { font-size: 22px; color: #ffffff; line-height: 1.6; margin-bottom: 24px; }
.divider-line { width: 60px; height: 2px; background-color: var(--accent-gold); margin: 0 auto 24px auto; }
.hero-title-en { font-size: 15px; color: rgba(255,255,255,0.85); margin-bottom: 12px; font-weight: 300; }
.hero-meta { font-size: 11px; color: var(--accent-gold); letter-spacing: 0.05em; }
.scroll-indicator { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.5); font-size: 10px; }
.mouse-wheel { display: block; width: 18px; height: 28px; border: 1.5px solid var(--accent-gold); border-radius: 9px; margin: 0 auto 6px auto; }

/* Structural Layers */
.content-light-bg { background-color: var(--bg-light); }
.content-dark-bg { background-color: var(--primary-deep); }
.dark-lux-bg { background-color: #060d14; color: var(--text-light); }
.border-top-gold { border-top: 1px solid rgba(223, 177, 91, 0.15); }
.quote-box { margin-top: 24px; padding: 20px; border-left: 3px solid var(--accent-gold); background-color: var(--accent-gold-pale); }
.quote-box p { font-family: 'UniIlaSundaram', var(--sans-ui); font-size: 16px; color: var(--primary-deep); line-height: 1.5; }
.identity-card { background-color: var(--bg-card); border: 1px solid rgba(223, 177, 91, 0.12); padding: 24px; }
.emblem-image-container { height: 200px; background-color: var(--primary-deep); position: relative; display: flex; justify-content: center; align-items: center; color: var(--accent-gold); font-size: 32px; margin-bottom: 20px; overflow: hidden; }
.tribal-pattern-overlay { position: absolute; width: 100%; height: 100%; opacity: 0.05; background-image: radial-gradient(var(--accent-gold) 2px, transparent 2.5px); background-size: 20px 20px; }
.emblem-description h3 { font-size: 18px; margin-bottom: 8px; color: var(--primary-deep); }
.emblem-description p { font-size: 13.5px; color: #4b5561; text-align: justify; }
.center-header { text-align: center; max-width: 650px; margin: 0 auto 40px auto; }
.accent-bar { width: 50px; height: 2px; background-color: var(--accent-gold); margin: 20px auto 0 auto; }
.objectives-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.obj-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 30px 24px; }
.obj-icon { font-size: 26px; color: var(--accent-gold); margin-bottom: 16px; }
.obj-card h3 { color: white; font-size: 18px; margin-bottom: 10px; }
.obj-card p { color: rgba(255,255,255,0.7); font-size: 13.5px; line-height: 1.6; }

/* Gallery */
.luxury-gallery { display: grid; grid-template-columns: 1fr; gap: 16px; }
.gallery-item-wrapper { position: relative; height: 240px; overflow: hidden; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; }
.gallery-info-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(11,22,34,0.85) 0%, rgba(11,22,34,0.1) 100%); display: flex; align-items: flex-end; padding: 20px; }
.gallery-info-overlay span { color: #ffffff; font-size: 14px; border-left: 2px solid var(--accent-gold); padding-left: 10px; }

/* Timeline */
.timeline-container { display: flex; flex-direction: column; gap: 20px; }
.timeline-block { background-color: var(--bg-card); border: 1px solid rgba(223, 177, 91, 0.12); padding: 24px; }
.timeline-title { font-family: 'UniIlaSundaram', var(--sans-ui); font-size: 18px; color: var(--primary-deep); margin-bottom: 12px; border-bottom: 1px solid var(--accent-gold-pale); padding-bottom: 8px; }
.timeline-row { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; padding: 8px 0; border-bottom: 1px dashed #e2e8f0; }
@media(min-width: 480px) { .timeline-row { flex-direction: row; justify-content: space-between; } }
.gold-text { color: var(--accent-gold-dark); font-weight: bold; }

/* Guidelines */
.policy-card { background: rgba(255,255,255,0.01); border: 1px solid rgba(255,255,255,0.05); padding: 24px; }
.policy-card h3 { font-size: 18px; color: var(--accent-gold); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.policy-card p { font-size: 13.5px; color: rgba(255,255,255,0.75); }
.alert-box { margin-top: 20px; background-color: rgba(223, 177, 91, 0.05); border-left: 3px solid var(--accent-gold); padding: 14px; font-size: 12.5px; display: flex; gap: 10px; }
.alert-box i { color: var(--accent-gold); }
.styled-list li { font-size: 13.5px; color: rgba(255,255,255,0.8); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.author-requirements-banner { margin-top: 30px; background: #0e1d2d; border: 1px solid rgba(223, 177, 91, 0.15); padding: 24px; }
.author-requirements-banner h3 { color: var(--accent-gold); font-size: 16px; margin-bottom: 6px; }
.author-requirements-banner p { font-size: 13px; color: rgba(255,255,255,0.65); }

/* WordPress Loops Grid Card Elements */
.wordpress-posts-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.live-post-card { background-color: var(--bg-card); border: 1px solid rgba(223, 177, 91, 0.1); transition: all 0.3s ease; }
.live-post-card:hover { border-color: var(--accent-gold); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.05); }
.post-thumb-wrapper { height: 180px; overflow: hidden; }
.post-thumb-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.live-post-card:hover .post-thumb-wrapper img { transform: scale(1.04); }
.post-meta-details { padding: 24px; }
.post-date { font-size: 11px; color: var(--accent-gold-dark); margin-bottom: 8px; display: block; }
.post-title-render { font-size: 18px; color: var(--primary-deep); margin-bottom: 10px; line-height: 1.4; }
.post-title-render a { color: var(--primary-deep); text-decoration: none; transition: color 0.2s ease; }
.post-title-render a:hover { color: var(--accent-gold-dark); }
.post-excerpt-render { font-size: 13.5px; color: #4b5563; margin-bottom: 20px; }
.read-more-luxury-btn { font-size: 13.5px; text-decoration: none; color: var(--primary-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }

/* Volunteers Form & Team profiles styling */
.luxury-gold-gradient-bg { background: linear-gradient(135deg, #f7e7c4 0%, #dfb15b 100%); color: var(--primary-deep); }
.eligibility-badge { display: inline-block; margin-top: 20px; background-color: var(--primary-deep); color: white; padding: 12px 20px; font-size: 12px; }
.luxury-form { background-color: var(--bg-card); padding: 24px; border: 1px solid rgba(223, 177, 91, 0.2); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; text-transform: uppercase; margin-bottom: 6px; font-weight: 700; color: #334155; }
.form-group input { width: 100%; padding: 12px; border: 1px solid #cbd5e1; background-color: #f8fafc; font-size: 13.5px; outline: none; }
.form-group input:focus { border-color: var(--accent-gold-dark); }
.submit-btn { width: 100%; padding: 14px; background-color: var(--primary-deep); color: white; border: none; cursor: pointer; font-size: 13.5px; font-weight: 700; display: flex; justify-content: center; align-items: center; gap: 10px; }

.team-flex { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.team-card { background: white; border: 1px solid rgba(223, 177, 91, 0.1); padding: 30px 20px; width: 100%; max-width: 320px; text-align: center; }
.avatar-placeholder { width: 70px; height: 70px; background-color: var(--accent-gold-pale); border-radius: 50%; margin: 0 auto 15px auto; display: flex; align-items: center; justify-content: center; color: var(--accent-gold-dark); font-size: 22px; }
.team-card h3 { font-size: 18px; color: var(--primary-deep); margin-bottom: 4px; }
.team-card p { font-size: 12.5px; color: var(--accent-gold-dark); font-weight: 600; }

/* Footer */
.site-footer { background-color: #050a10; color: rgba(255,255,255,0.65); padding: 60px 0 30px 0; border-top: 2px solid var(--accent-gold); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-brand h2 { color: white; margin-bottom: 15px; font-size: 24px; }
.footer-brand p { font-size: 13px; line-height: 1.6; }
.social-links-row { display: flex; gap: 25px; margin-top: 20px; }
.social-links-row a { color: rgba(255,255,255,0.5); font-size: 18px; }
.social-links-row a:hover { color: var(--accent-gold); }
.footer-contact h3 { color: white; font-size: 14px; text-transform: uppercase; margin-bottom: 16px; }
.address-line, .contact-line { font-size: 13px; line-height: 1.6; position: relative; padding-left: 25px; margin-bottom: 12px; }
.address-line i, .contact-line i { position: absolute; left: 0; top: 4px; color: var(--accent-gold); }
.footer-bottom { text-align: center; padding-top: 30px; font-size: 11px; color: rgba(255,255,255,0.35); }

/* Responsive Queries */
@media (min-width: 768px) {
    .container { padding: 0 32px; }
    .section-padding { padding: 90px 0; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .section-title-ta { font-size: 34px; }
    .section-title-heavy { font-size: 36px; }
    .kural-text { font-size: 28px; }
    .objectives-grid, .luxury-gallery, .wordpress-posts-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item-wrapper.large-span { grid-column: span 2; height: 320px; }
    .gallery-item-wrapper.wide-span { grid-column: span 2; height: 260px; }
    .team-flex { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 24px; }
    .team-card { width: calc(50% - 12px); }
}

@media (min-width: 1024px) {
    .section-padding { padding: 120px 0; }
    .section-title-ta { font-size: 42px; }
    .section-title-heavy { font-size: 44px; }
    .kural-text { font-size: 36px; }
    .hero-title-en { font-size: 21px; }
    .objectives-grid, .wordpress-posts-grid, .luxury-gallery { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .gallery-item-wrapper { height: 320px; }
    .gallery-item-wrapper.large-span { grid-column: span 2; height: 420px; }
    .gallery-item-wrapper.wide-span { grid-column: span 3; height: 380px; }
    .team-card { width: 300px; }
    .footer-grid { grid-template-columns: 7fr 5fr; gap: 80px; }
}

@media (max-width: 1023px) {
    .mobile-toggle { display: block; z-index: 1001; }
    .main-navigation { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background-color: #08101a; box-shadow: -10px 0 40px rgba(0,0,0,0.3); flex-direction: column; padding: 100px 32px 40px 32px; gap: 16px; transition: right 0.4s var(--transition-lux); border-left: 1px solid rgba(223, 177, 91, 0.15); z-index: 1000; }
    .main-navigation.open { right: 0; }
    .nav-link { font-size: 16px; display: block; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
}