/* GTI Website Styles - Based on Option 4 Design */

/* CSS Variables - Green Color Scheme from Original Site */
:root {
    --primary-green: #2E7D32;
    --light-green: #81C784;
    --dark-green: #1B5E20;
    --accent-green: #4CAF50;
    --bg-light: #F1F8E9;
    --bg-cream: #FAF9F6;
    --text-dark: #212121;
    --text-gray: #616161;
    --white: #ffffff;
    --gold: #FFD54F;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

/* Body text */
p, li, span {
    font-family: 'Inter', sans-serif;
}

/* Heading font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
}

/* Top Donors Banner */
.donors-banner {
    background: linear-gradient(90deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 8px 0;
    overflow: hidden;
    position: fixed;
    top: 0; /* Above navbar */
    left: 0;
    right: 0;
    z-index: 1002;
    white-space: nowrap;
}

.donors-marquee {
    display: flex;
    animation: marquee 40s linear infinite;
}

.donor-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
}

.donor-item img {
    height: 36px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
}

.donor-item .sponsor-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.donor-item .sponsor-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.donor-item .proud-supporter {
    font-size: 0.7rem;
    opacity: 0.85;
    font-style: italic;
}

.donor-item .star {
    color: var(--gold);
    font-size: 0.8rem;
}

/* Style 1: Uniform white boxes */
.donors-banner.style-uniform .donor-item img {
    height: 32px;
    width: 80px;
    object-fit: contain;
    background: white;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Style 2: Minimalist with dividers */
.donors-banner.style-minimal .donor-item {
    padding: 0 30px;
    border-right: 1px solid rgba(255,255,255,0.3);
}

.donors-banner.style-minimal .donor-item .star {
    display: none;
}

.donors-banner.style-minimal .donor-item img {
    height: 28px;
    width: 70px;
    object-fit: contain;
    background: white;
    padding: 5px 8px;
    border-radius: 4px;
}

/* Style 3: Logos only */
.donors-banner.style-logos-only .donor-item {
    padding: 0 40px;
}

.donors-banner.style-logos-only .donor-item .sponsor-info,
.donors-banner.style-logos-only .donor-item .star {
    display: none;
}

.donors-banner.style-logos-only .donor-item img {
    height: 32px;
    width: 90px;
    object-fit: contain;
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.donors-banner:hover .donors-marquee {
    animation-play-state: paused;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background: var(--white);
    padding: 16px 0;
    position: fixed;
    width: 100%;
    top: 44px; /* Below donors banner */
    z-index: 1001;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 110px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

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

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-donate {
    background: var(--gold);
    color: var(--text-dark);
}

.btn-donate:hover {
    background: #FFC107;
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-xlarge {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--light-green) 100%);
    margin-top: 186px; /* Account for navbar (142px) + donors banner (44px) */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-ctas .btn-primary {
    background: var(--dark-green);
}

.hero-ctas .btn-secondary {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.hero-ctas .btn-secondary:hover {
    background: var(--text-dark);
    color: var(--white);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Pillars Section */
.pillars-section {
    padding: 100px 0;
    background: var(--bg-cream);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pillar-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.pillar-card:hover {
    transform: translateY(-8px);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-green);
    font-size: 32px;
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.pillar-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.link-arrow {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.link-arrow:hover {
    color: var(--dark-green);
}

/* Events Section */
.events-section {
    padding: 100px 0;
    background: var(--white);
}

.events-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 24px;
}

.event-card {
    background: var(--bg-cream);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.event-card.featured {
    background: var(--white);
    border: 2px solid var(--light-green);
}

.event-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--light-green);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.event-content {
    padding: 24px;
}

.event-date {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card h3 {
    margin: 12px 0;
    font-size: 1.25rem;
}

/* GTI TV Section */
.gti-tv-section {
    padding: 100px 0;
    background: var(--dark-green);
    color: var(--white);
}

.gti-tv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.gti-tv-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.gti-tv-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.gti-tv-preview {
    width: 100%;
    min-width: 400px;
}
}

.now-playing {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.live-badge {
    color: #ff6b6b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.live-badge i {
    font-size: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.video-thumbnail {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-thumbnail img {
    width: 100%;
    display: block;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-green);
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s;
}

.play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--gold);
    color: var(--text-dark);
}

/* Sponsors */
.sponsor-section {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
}

.sponsors-section {
    padding: 40px 0 20px;
    background: var(--bg-cream);
    text-align: center;
}

.sponsor-label {
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.primary-sponsor {
    margin-bottom: 40px;
}

.sponsor-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 30px 60px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-gray);
}

.sponsor-placeholder.primary {
    font-size: 1.5rem;
    padding: 40px 80px;
    border: 2px solid var(--gold);
}

.sponsor-placeholder i {
    color: var(--gold);
    font-size: 2rem;
}

.sponsors-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sponsor-card {
    width: 180px;
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.sponsor-card-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.sponsor-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sponsor-card-name {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.9rem;
}

.sponsors-grid-secondary {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.sponsor-card.text-only {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.sponsor-logo {
    padding: 16px 32px;
    background: var(--white);
    border-radius: 8px;
    color: var(--text-gray);
    font-weight: 500;
    box-shadow: var(--shadow);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--primary-green);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-section .btn {
    background: var(--gold);
    color: var(--text-dark);
}

.cta-section .btn:hover {
    background: #FFC107;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 16px;
    border-radius: 8px;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px 24px;
    font-size: 0.9rem;
}

.footer-donate-btn i {
    font-size: 0.85rem;
}

.footer-brand .social-links {
    margin-top: 0;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s, color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--light-green);
}

.footer-contact p {
    margin-bottom: 12px;
    opacity: 0.7;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--light-green);
    margin-top: 4px;
}

.contact-address-line {
    margin-left: 24px;
    display: block;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.6;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--light-green);
}

/* Donors Showcase Section */
.donors-showcase-section {
    padding: 40px 0 60px;
    background: var(--bg-cream);
}

.donors-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.donor-showcase-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.donor-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.donor-tier {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-green);
    margin-bottom: 12px;
}

.donor-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.individual-donors {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(45, 90, 39, 0.1);
}

.individual-donors h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.individual-donors p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.individual-donors-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.donor-name-small {
    background: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    border: 1px solid rgba(45, 90, 39, 0.15);
}

.donor-name-small i {
    color: var(--primary-green);
    margin-right: 6px;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
    .pillars-grid,
    .gti-tv-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .pillar-card {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .footer-brand .social-links {
        justify-content: center;
    }
    
    .footer-donate-btn {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .contact-address-line {
        margin-left: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}
