/* 
    DESIGN SYSTEM
    Colors:
    Deep Purple: #2E1065 / #3A0D6D
    Medium Purple: #4C1D95
    Orange Accent: #F97316
    White: #FFFFFF
    Light Gray: #F3F4F6
*/

:root {
    --deep-purple: #2E1065;
    --deep-purple-alt: #3A0D6D;
    --medium-purple: #4C1D95;
    --orange-accent: #F97316;
    --white: #FFFFFF;
    --light-gray: #F3F4F6;
    --text-gray: #4B5563;

    --font-headings: 'Orbitron', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --transition: all 0.3s ease;
    --border-radius: 20px;
}

/* BASE STYLES */
body {
    font-family: var(--font-body);
    color: var(--text-gray);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--deep-purple);
}

.py-section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
}

/* TOP BAR */
.top-bar {
    background-color: var(--orange-accent);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.top-bar-contact {
    color: var(--deep-purple);
}

.top-bar-social a {
    background-color: var(--deep-purple);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.top-bar-social a:hover {
    background-color: var(--white);
    color: var(--deep-purple);
    transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar-scrolled {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-link {
    color: var(--deep-purple) !important;
    font-weight: 700;
    margin: 0 15px;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--orange-accent) !important;
}

/* CUSTOM NAVBAR TOGGLER */
.navbar-toggler {
    border: none !important;
    padding: 0;
    background-color: var(--deep-purple);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(46, 16, 101, 0.2);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
    outline: none;
}

.hamburger-icon {
    width: 22px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--white);
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* Animation to X */
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(-15px);
}

.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* HERO SECTION */
.hero {
    min-height: 90vh;
    background: url('../img/back-inicio.png') center/cover no-repeat fixed;
    position: relative;
    color: var(--white);
    padding: 100px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    z-index: 2;
}

.hero-title-block {
    position: relative;
    padding: 30px 0;
    display: inline-block;
    width: 100%;
}

.hero-title-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 3px;
    background: #FFD700;
}

.hero-title-block::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 3px;
    background: #FFD700;
}

.hero-main-flex {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-number {
    font-family: var(--font-headings);
    font-size: 10rem;
    line-height: 1.1;
    background: linear-gradient(to bottom, #FFF59D 0%, #FFD700 50%, #F97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    flex-shrink: 0;
    font-style: italic;
    padding-right: 20px;
    padding-top: 10px;
}

.hero-text-side {
    text-align: left;
}

.hero-title {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    color: var(--white);
    line-height: 1.1;
    max-width: 600px;
}

.btn-hero {
    font-size: 1.5rem;
    padding: 20px 60px;
    margin-top: 20px;
}

.hero-dates-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.hero-dates-block {
    border: 1px solid var(--orange-accent);
    padding: 30px 60px;
    text-align: center;
    background: rgba(46, 16, 101, 0.4);
    backdrop-filter: blur(10px);
    clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
    min-width: 300px;
}

.hero-date-item {
    margin-bottom: 20px;
}

.hero-date-item:last-child {
    margin-bottom: 0;
}

.hero-date-value {
    color: var(--orange-accent);
    font-family: var(--font-body);
    font-size: 2.8rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    letter-spacing: 0.02em;
}

.hero-date-label {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: none;
    display: block;
    margin-top: 5px;
}



.hero-logos-container {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 100px 0 100px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 200px;
    z-index: 10;
}

.hero-logo-item {
    width: 140px;
    height: 140px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 10px;
}

.hero-logo-item:hover {
    transform: scale(1.1) rotate(5deg);
}

.hero-logo-item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* BUTTONS */
.btn-cta {
    background-color: var(--orange-accent);
    color: var(--deep-purple);
    font-weight: 800;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-cta:hover {
    background-color: var(--white);
    color: var(--orange-accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.4);
}

/* PRICING INSIDE HERO */
.pricing-gold-container {
    background-color: #CD853F;
    /* Dorado / Golden brown */
    color: var(--white);
    padding: 30px 20px;
    position: relative;
    z-index: 10;
}

.pricing-item {
    padding: 10px 20px;
    text-align: center;
}

.pricing-title {
    display: block;
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.2;
}

.pricing-date {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
}

.pricing-amount {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0;
    color: var(--white);
    letter-spacing: 0;
}

/* ABOUT */
.about {
    background-color: var(--deep-purple);
    background: linear-gradient(135deg, rgba(46, 16, 101, 0.95) 0%, rgba(58, 13, 109, 0.9) 100%), url('../img/back-02.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}



.about::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--medium-purple);
    border-radius: 50%;
    opacity: 0.1;
}

.about-subtitle {
    font-size: 1.5rem;
}

.about-text {
    opacity: 0.9;
    font-size: 1.1rem;
}

.about-list li {
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.text-orange {
    color: var(--orange-accent);
}

/* SPEAKERS */
/* SPEAKERS V2 */
.speakers {
    background-color: var(--light-gray);
}

.speaker-card-v2 {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: visible;
}

.speaker-img-wrapper {
    position: relative;
    padding: 5px;
    background-color: var(--orange-accent);
    clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
    margin-bottom: 25px;
    transition: var(--transition);
}

.speaker-card-v2:hover .speaker-img-wrapper {
    transform: translateY(-5px);
}

.speaker-img-inner {
    width: 100%;
    height: 650px;
    overflow: hidden;
    clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
}

.speaker-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.speaker-card-v2:hover .speaker-img-inner img {
    transform: scale(1.05);
}

.speaker-flag {
    position: absolute;
    top: 625px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    z-index: 20;
}



.speaker-flag img {
    width: 100%;
    height: auto;
    border: 3px solid var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.speaker-info-v2 {
    padding-top: 30px;
}

.speaker-name-v2 {
    color: var(--orange-accent);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.1;
    letter-spacing: 0.05em;
}

.speaker-specialty-v2 {
    font-family: var(--font-body);
    color: var(--text-gray);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.speaker-cv-link {
    color: #000;
    font-weight: 900;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: var(--transition);
    display: inline-block;
}

.speaker-cv-link i {
    color: var(--orange-accent);
    margin-left: 5px;
}

.speaker-cv-link:hover {
    color: var(--orange-accent);
}

/* COUNTER */
.counter {
    background: url('../img/back-02.png') center/cover no-repeat;
    color: var(--white);
    position: relative;
    padding: 60px 0;
}

.counter-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter-number {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
}

.counter-center-divider {
    width: 10px;
    height: 120px;
    background-color: var(--orange-accent);
    margin: 0 auto;
}

.counter-label {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* PROGRAM */
.program-date {
    color: var(--medium-purple);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.program-table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.program-table thead th {
    border: none;
    background-color: var(--deep-purple);
    color: var(--white);
    padding: 20px;
    text-transform: uppercase;
}

.program-table tbody tr {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.program-table tbody td {
    padding: 25px 20px;
    background: var(--white);
    border: none;
    vertical-align: middle;
}

.program-table tbody tr:nth-child(even) td {
    background: var(--light-gray);
}

.table-break td {
    background: var(--orange-accent) !important;
    color: var(--white);
    text-align: center;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* LOCATION */
.location {
    background-color: var(--deep-purple-alt);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* SPONSORS */
.sponsor-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.sponsor-card img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.sponsor-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA TICKETS */
.cta-tickets {
    background: url('../img/back-02.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.cta-tickets h4 {
    color: var(--orange-accent) !important;
    font-size: 1.5rem;
    letter-spacing: 0.2em;
}

.cta-tickets h2 {
    color: var(--white) !important;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
}

/* CONTACT FINAL V2 */
.contact-logo {
    max-width: 250px;
    height: auto;
}

.contact-title {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding-left: 50px;
    /* Offset for centering the whole block visually */
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item:hover .contact-icon {
    background-color: var(--orange-accent);
}

.contact-icon {
    background-color: var(--deep-purple);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* FOOTER V2 */
.footer {
    background-color: #1e0b4b;
    color: var(--white);
    font-size: 0.9rem;
    padding: 15px 0;
    opacity: 1;
}

.footer p {
    font-weight: 500;
}

.footer strong {
    font-weight: 700;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-social a:hover {
    color: var(--orange-accent);
    transform: translateY(-3px);
}

/* RESPONSIVENESS */
@media (max-width: 991px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero-number {
        font-size: 6rem;
        padding-right: 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-main-flex {
        gap: 20px;
    }

    .counter-divider {
        margin: 0 15px;
    }

    .counter-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 767px) {
    .py-section {
        padding: 60px 0;
    }

    .hero-main-flex {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 10px !important;
    }

    .hero-text-side {
        text-align: center !important;
        width: 100%;
    }

    .hero-number {
        font-size: 5rem;
        padding-right: 0;
        padding-top: 0;
        margin-bottom: 0;
        display: block;
    }

    .hero-title {
        font-size: 1.4rem;
        text-align: center;
        margin: 0 auto;
        display: block;
        max-width: 100%;
    }

    .hero-title-block::before {
        width: 80%;
        left: 10%;
    }

    .hero-title-block::after {
        width: 80%;
        right: 10%;
    }

    .hero-dates-block {
        padding: 20px 30px;
        min-width: auto;
        width: 100%;
        margin: 0 auto;
    }

    .hero-date-value {
        font-size: 1.8rem;
    }

    .hero-date-label {
        font-size: 1rem;
    }

    .btn-hero {
        font-size: 1.2rem;
        padding: 15px 40px;
    }

    .pricing-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .pricing-col:last-child {
        border-bottom: none;
    }

    .counter-item {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero-number {
        font-size: 4.5rem;
    }

    .hero-title {
        font-size: 1.1rem;
    }

    .hero-title-block {
        padding: 20px 0;
    }

    .btn-hero {
        font-size: 1rem;
        padding: 12px 30px;
        margin-top: 20px;
    }
}

/* MODAL HOSPEDAJES CUSTOM STYLES */
.text-deep-purple {
    color: var(--deep-purple);
}

.hospedaje-banner {
    border-bottom: 4px solid var(--orange-accent);
    background-size: cover;
    background-position: center;
}

.rate-list div {
    border-bottom: 1px dashed #dee2e6;
    padding-bottom: 5px;
}

.rate-list div:last-child {
    border-bottom: none;
}

.rate-list strong {
    color: var(--deep-purple);
}

.hotel-card {
    transition: var(--transition);
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.border-start-md {
    border-left: 1px solid #dee2e6;
    padding-left: 30px;
}

@media (max-width: 767.98px) {
    .border-start-md {
        border-left: none;
        padding-left: 0;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid #dee2e6;
    }
    
    .modal-social-links {
        display: none;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

.btn-outline-white {
    background-color: transparent !important;
    border: 2px solid var(--white) !important;
    color: var(--white) !important;
    box-shadow: none !important;
}

.btn-outline-white:hover {
    background-color: var(--white) !important;
    color: var(--deep-purple) !important;
}
/* Fix for iOS parallax bug */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
    }
}
