/* TEDxCascoAntiguo Website Styles */

:root {
    --ted-red: #EB0028;
    --black: #000000;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #CCCCCC;
    --gray-dark: #333333;
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-inter);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-dark);
    background: var(--white);
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--black);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--ted-red);
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

/* Logo Styles */
.logo-tedx {
    font-family: var(--font-inter);
    font-weight: 400;
    color: var(--ted-red);
    letter-spacing: 0;
}

.logo-event {
    font-family: var(--font-inter);
    font-weight: 400;
    color: var(--black);
    letter-spacing: 0;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 400;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--black);
    font-weight: 400;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--ted-red);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.lang-link {
    color: var(--gray-dark);
    transition: color 0.3s;
    opacity: 0.6;
}

.lang-link:hover {
    color: var(--ted-red);
    opacity: 1;
}

.lang-link.active {
    color: var(--ted-red);
    opacity: 1;
}

.lang-divider {
    color: var(--gray-medium);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--black);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--black);
    padding: 6rem 20px 4rem;
}

.hero-content {
    max-width: 800px;
}

.hero-logo {
    margin-bottom: 2rem;
}

.logo-tedx-large {
    display: block;
    font-size: 5rem;
    font-weight: 400;
    color: var(--ted-red);
    letter-spacing: 0;
    line-height: 1;
}

.logo-event-large {
    display: block;
    font-size: 5rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0;
    line-height: 1;
}

.hero-logo-img {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-theme {
    font-size: 3rem;
    font-weight: 700;
    color: var(--ted-red);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-date {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
}

.hero-math {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--ted-red);
    margin-bottom: 2rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.1rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--ted-red);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #C5001F;
    opacity: 1;
}

/* TEDx Description Section */
.tedx-description {
    background: var(--gray-light);
    padding: 5rem 0;
    text-align: center;
}

.tedx-description h2 {
    margin-bottom: 1.5rem;
}

.tedx-description p {
    max-width: 900px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.tedx-link {
    font-size: 1.1rem;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-section > .container > p {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.about-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Why REVIVE Section */
.why-revive-section {
    background: var(--white);
    padding: 5rem 0;
}

.why-revive-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.revive-story {
    max-width: 750px;
    margin: 0 auto;
}

.revive-story p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.8rem;
    color: var(--gray-dark);
}

.revive-story p:last-child {
    margin-bottom: 0;
}

.revive-story strong {
    color: var(--ted-red);
    font-weight: 600;
}

@media (max-width: 768px) {
    .revive-story p {
        font-size: 1.05rem;
        line-height: 1.8;
    }
}

/* Speakers Section */
.speakers-section {
    background: var(--gray-light);
    padding: 5rem 0;
}

.speakers-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--gray-dark);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.speaker-placeholder {
    text-align: center;
}

.speaker-image-placeholder {
    width: 200px;
    height: 200px;
    background: var(--gray-medium);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* Schedule Section */
.schedule-section {
    padding: 5rem 0;
    text-align: center;
}

.schedule-placeholder {
    background: var(--gray-light);
    padding: 3rem;
    border-radius: 10px;
    max-width: 600px;
    margin: 2rem auto;
}

.schedule-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Team Section */
.team-section {
    background: var(--gray-light);
    padding: 5rem 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-image-placeholder {
    width: 150px;
    height: 150px;
    background: var(--gray-medium);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.team-role {
    color: var(--gray-dark);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.team-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Sponsors Section */
.sponsors-section {
    padding: 5rem 0;
}

.sponsors-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.sponsors-link-section {
    background: var(--gray-light);
    padding: 4rem 0;
}

.sponsors-placeholder {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 2rem;
}

/* Sponsor Page Grids */
.sponsors-tiers {
    max-width: 1000px;
    margin: 0 auto;
}

.sponsors-grid-large {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.sponsor-placeholder-large {
    width: 400px;
    height: 200px;
    background: var(--white);
    border: 2px dashed var(--gray-medium);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-dark);
}

.sponsors-grid-medium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.sponsor-placeholder-medium {
    height: 150px;
    background: var(--white);
    border: 2px dashed var(--gray-medium);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-dark);
}

.sponsors-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.sponsor-placeholder-small {
    height: 100px;
    background: var(--white);
    border: 2px dashed var(--gray-medium);
    border-radius: 10px;
}

.sponsor-logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s;
}

.sponsor-logo-link:hover {
    transform: scale(1.05);
}

.sponsor-logo-box {
    height: 100px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.sponsor-logo-link:hover .sponsor-logo-box {
    border-color: var(--ted-red);
    box-shadow: 0 4px 10px rgba(235, 0, 40, 0.15);
}

.sponsor-text-logo {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.sponsor-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.sponsor-logo-box-medium {
    height: 150px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.sponsor-logo-link:hover .sponsor-logo-box-medium {
    border-color: var(--ted-red);
    box-shadow: 0 4px 10px rgba(235, 0, 40, 0.15);
}

.sponsor-text-logo-medium {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

/* Tickets Section */
.tickets-section {
    background: var(--white);
    padding: 5rem 0;
}

.tickets-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.ticket-info-box {
    max-width: 900px;
    margin: 3rem auto;
    background: var(--gray-light);
    border-radius: 10px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.ticket-details h3 {
    color: var(--ted-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.ticket-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0;
}

.vat-note {
    font-size: 0.85rem;
    font-weight: 400;
    color: #999999;
    margin: 0.3rem 0 1.5rem 0;
}

.ticket-includes {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.ticket-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.ticket-list li {
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
}

.ticket-list li::before {
    content: "✓";
    color: var(--ted-red);
    font-weight: 700;
    position: absolute;
    left: 0;
}

.ticket-note {
    color: var(--ted-red);
    font-weight: 600;
    margin-top: 1rem;
}

.ticket-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cta-button-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    margin-bottom: 1rem;
}

.ticket-disclaimer {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .ticket-info-box {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

/* Newsletter Section */
.newsletter-section {
    background: var(--black);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.newsletter-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto 0;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-inter);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    text-align: center;
}

.contact-info {
    margin-top: 2rem;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-event {
    color: var(--white);
}

.footer-logo-img {
    height: 80px;
    width: auto;
    display: block;
    margin: 0 auto;
    background: white;
    padding: 10px 20px;
    border-radius: 5px;
}

.footer-license {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    transition: color 0.3s;
}

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

.footer-copy {
    font-size: 0.9rem;
    color: var(--gray-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .lang-switcher {
        order: -1;
        margin-right: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-logo-img {
        height: 40px;
    }
    
    .hero-logo-img {
        max-width: 400px;
    }
    
    .footer-logo-img {
        height: 60px;
    }
    
    .logo-tedx-large, .logo-event-large {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-grid,
    .speakers-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
    }
}
