/* Design System - Volunteer in Honduras 2026 */
:root {
    /* Colors */
    --bg-dark: #0a0a0b;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary: #0073CF; /* Honduras Blue */
    --primary-glow: rgba(0, 115, 207, 0.3);
    --accent: #f59e0b; /* Amber/Gold for Hope */
    --accent-glow: rgba(245, 158, 11, 0.2);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Spacing */
    --section-padding: 4rem 2rem; /* Reduced from 6rem */
    --container-max: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

#app {
    min-height: 100vh;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glassmorphism Utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; /* Reverted to center */
    text-align: center; /* Reverted to center */
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden; /* Ensure cropped parts are hidden */
}

.hero-video {
    width: 100%;
    height: 160%; /* Even more aggressive crop to remove multiple lines of subtitles */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-video::cue {
    display: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    margin: 0 auto; /* Reverted to center */
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary);
    text-shadow: 0 0 30px var(--primary-glow);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center; /* Reverted to center */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--primary-glow);
    background: #0084f0;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Section Defaults */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: left !important;
    margin-bottom: 3rem !important; /* "Small space" between text and photos */
    max-width: 700px;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Project Grid & Cards */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.project-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
    flex-grow: 1;
    text-align: center;
}

.project-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* El Roblito Section */
.roblito-split {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr; /* Restored: Text left, Video right */
    gap: 4rem;
    align-items: center; /* Vertically center the text next to the video */
    margin-bottom: 0; /* Minimized */
}

.roblito-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.roblito-text h2 span {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
}

.roblito-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.goal-container {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.goal-item {
    display: flex;
    flex-direction: column;
}

.goal-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.goal-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.progress-bar-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    height: 12px;
    border-radius: 6px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 6px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.rounded-img {
    border-radius: 32px;
    width: 100%;
    display: block;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* Education Subsection */
.education-section {
    margin-top: 4rem;
}

.education-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    border-radius: 32px;
    overflow: hidden;
}

.education-image {
    height: 100%;
    min-height: 300px;
}

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

.education-text {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.education-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.education-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    width: fit-content;
}

@media (max-width: 968px) {
    .roblito-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .goal-container {
        justify-content: center;
    }
    
    .education-content {
        grid-template-columns: 1fr;
    }
    
    .education-image {
        height: 250px;
    }
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-card {
    padding: 5rem 3rem;
    border-radius: 40px;
    background: radial-gradient(circle at top right, var(--primary-glow), transparent);
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Footer */
.footer {
    padding: 6rem 0 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--glass-border);
}

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

.footer-brand p {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links h4, 
.footer-hashtags h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-link.social-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-hashtags p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.8;
    word-spacing: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .cta-card {
        padding: 3rem 1.5rem;
    }
}

/* Social Icons */
.nav-socials, .footer-socials {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-socials {
    margin-top: 1.5rem;
}

.social-icon {
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Specific Section Spacing Adjustments */
#roblito {
    padding-bottom: 0;
}

#projects {
    padding-top: 2rem !important; /* "A little bit of space" at the top */
    padding-bottom: 1rem !important; /* Reduced bottom spacing */
    margin-top: 0 !important;
    text-align: left !important; /* Ensure section is left-aligned */
}

.education {
    padding-top: 1rem !important; /* Reduced top spacing */
}

/* Scroll Animations Base */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
/* About Page Layout */
.about-banner {
    width: 100%;
    height: 400px;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.about-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-split.reverse {
    grid-template-columns: 1fr 1fr;
}

.about-split.reverse .about-text {
    order: 2;
}

.about-split.reverse .about-image {
    order: 1;
}

.about-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

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

.about-text h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.about-text ul {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    list-style-type: none;
    padding: 0;
}

.about-text li {
    margin-bottom: 0.8rem;
}

@media (max-width: 992px) {
    .about-split, .about-split.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-split.reverse .about-text {
        order: 1;
    }
    
    .about-split.reverse .about-image {
        order: 2;
    }
    
    .about-banner {
        height: 250px;
    }
}
