/*
    Lidera-Co: Business Training in Colombia
    CSS Stylesheet
    Design: Brutalism + Dynamic Color Transitions
*/

/* -------------------------------------------------- */
/* 1. VARIABLES & GLOBAL STYLES
/* -------------------------------------------------- */

:root {
    --primary-color: #00f5a0; /* Bright Green */
    --secondary-color: #ff007f; /* Vivid Magenta */
    --accent-color: #f7b733; /* Bright Yellow */
    
    --text-color: #222222;
    --light-text-color: #ffffff;
    --subtle-text-color: #555555;
    
    --background-color: #f4f4f4;
    --background-light: #ffffff;
    --dark-background-color: #1a1a1a;
    
    --border-color: #111111;
    --border-radius-sharp: 0px;
    
    --font-header: 'Manrope', sans-serif;
    --font-body: 'Rubik', sans-serif;
    
    --shadow-brutal: 5px 5px 0px var(--border-color);
    --shadow-brutal-hover: 8px 8px 0px var(--border-color);

    --dynamic-gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

html {
    scroll-behavior: smooth;
    background-color: var(--background-color);
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Particle Animation Background Container */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--dynamic-gradient);
    opacity: 0.1; /* Keep it subtle */
}


/* -------------------------------------------------- */
/* 2. TYPOGRAPHY & UTILITIES
/* -------------------------------------------------- */

h1, h2, h3, h4, h5, h6, .title, .subtitle {
    font-family: var(--font-header);
    font-weight: 800;
    color: var(--text-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.title.is-1, .title.is-2 {
    font-weight: 800;
}

.section {
    padding: 4rem 1.5rem; /* More vertical padding */
}

a {
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Animation initial state for GSAP */
[data-scroll-fade] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Separate pages top padding */
.main-content-page {
    padding-top: 120px; /* Adjust based on navbar height */
    padding-bottom: 60px;
    min-height: calc(100vh - 200px); /* Adjust based on footer height */
}


/* -------------------------------------------------- */
/* 3. HEADER & NAVIGATION
/* -------------------------------------------------- */

.navbar.is-fixed-top {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
}

.navbar-brand .title {
    color: var(--text-color);
    font-weight: 800;
}

.navbar-item {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1rem;
}

.navbar-item:hover, .navbar-item.is-active {
    background-color: transparent !important;
    color: var(--primary-color) !important;
}

.navbar-burger {
    color: var(--border-color);
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: var(--background-light);
        box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
        border: 2px solid var(--border-color);
        border-top: none;
        margin-top: -2px;
        border-radius: 0 0 5px 5px;
    }
}


/* -------------------------------------------------- */
/* 4. GLOBAL COMPONENTS (Buttons, Cards, Forms)
/* -------------------------------------------------- */

/* Global Button Styles */
.button, button, input[type='submit'] {
    font-family: var(--font-header);
    font-weight: 700;
    border-radius: var(--border-radius-sharp);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-brutal);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.button:hover, button:hover, input[type='submit']:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-brutal-hover);
}

.button:active, button:active, input[type='submit']:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--border-color);
}

.button.is-primary {
    background-color: var(--primary-color);
    color: var(--border-color);
}

.button.is-primary:hover {
    background-color: var(--primary-color);
    color: var(--border-color);
}

.button.is-primary.is-light {
    background-color: transparent;
    color: var(--border-color);
    border-color: var(--border-color);
}

/* Global Card Styles */
.card {
    background: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sharp);
    box-shadow: var(--shadow-brutal);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-brutal-hover);
}

.card .card-image .image {
    overflow: hidden;
}

.card .card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 0;
}

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

.card .card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* STROGO: Card Centering */
#instructors .card, #process .box {
    align-items: center;
    text-align: center;
}
#instructors .card-image {
    padding: 1.5rem;
}
#instructors .card-image img.is-rounded {
    border: 3px solid var(--border-color);
    box-shadow: var(--shadow-brutal);
}

/* Global Form Styles */
.input, .textarea {
    font-family: var(--font-body);
    border-radius: var(--border-radius-sharp);
    border: 2px solid var(--subtle-text-color);
    box-shadow: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input:focus, .textarea:focus,
.input:active, .textarea:active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 127, 0.25);
}

.label {
    font-family: var(--font-header);
    font-weight: 700;
    color: var(--text-color);
}

/* -------------------------------------------------- */
/* 5. SECTION-SPECIFIC STYLES
/* -------------------------------------------------- */

/* Hero Section */
#hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#hero .title.has-text-white,
#hero .subtitle.has-text-white,
#hero .has-text-white {
    color: var(--light-text-color) !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* About Us Section */
#about .progress {
    border-radius: var(--border-radius-sharp);
    height: 1.2rem;
    border: 2px solid var(--border-color);
}
#about .progress::-webkit-progress-bar {
    background-color: #e0e0e0;
}
#about .progress.is-primary::-webkit-progress-value {
    background: var(--primary-color);
}
#about .progress.is-link::-webkit-progress-value {
    background: var(--dynamic-gradient);
}
#about .progress.is-warning::-webkit-progress-value {
    background: var(--accent-color);
}

/* Our Process Section */
#process .box {
    border-radius: var(--border-radius-sharp);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-brutal);
    transition: all 0.3s ease;
    height: 100%;
}
#process .box:hover {
    background-color: var(--primary-color);
    color: var(--border-color);
    transform: translateY(-5px);
}
#process .box:hover .title {
    color: var(--border-color);
}
#process .box .title.is-1 {
    -webkit-text-stroke: 2px var(--border-color);
    color: transparent;
    transition: color 0.3s ease;
}
#process .box:hover .title.is-1 {
    color: var(--light-text-color);
}

/* Webinars Section */
#webinars .box {
    border-radius: var(--border-radius-sharp);
    border: 2px solid var(--border-color);
}
#webinars .media-right {
    margin-left: 2rem;
}
@media screen and (max-width: 768px) {
    #webinars .media {
        flex-direction: column;
        align-items: flex-start;
    }
    #webinars .media-right {
        margin-left: 0;
        margin-top: 1.5rem;
        width: 100%;
    }
    #webinars .media-right .button {
        width: 100%;
    }
}


/* Customer Stories Section */
#stories .card {
    box-shadow: none;
    border-left: 5px solid var(--primary-color);
}
#stories .card .media-left {
    margin-right: 1.5rem;
}

/* Awards Section */
#awards img {
    filter: grayscale(100%);
    transition: filter 0.4s ease;
    opacity: 0.7;
}

#awards .column:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Press Section */
#press img {
    max-height: 40px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}
#press .column:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* External Resources Section */
.resource-card {
    border-left: 4px solid var(--accent-color);
    box-shadow: none;
}
.resource-card:hover {
    box-shadow: var(--shadow-brutal);
    transform: translateX(5px);
}
.resource-card .title a {
    color: var(--text-color);
}
.resource-card .title a:hover {
    color: var(--secondary-color);
}

/* -------------------------------------------------- */
/* 6. FOOTER
/* -------------------------------------------------- */

.footer {
    background-color: var(--dark-background-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 1.5rem 2rem;
    border-top: 5px solid var(--border-color);
}

.footer .title {
    color: var(--light-text-color);
}

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

.footer a:hover {
    color: var(--light-text-color);
    text-decoration: underline;
}

.footer ul {
    list-style: none;
    margin-left: 0;
}

.footer li {
    margin-bottom: 0.5rem;
}


/* -------------------------------------------------- */
/* 7. OTHER PAGES (Success, Privacy, Terms)
/* -------------------------------------------------- */

.success-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    background: var(--dynamic-gradient);
    padding: 2rem;
}

.success-box {
    background-color: var(--background-light);
    padding: 3rem;
    border: 3px solid var(--border-color);
    box-shadow: var(--shadow-brutal-hover);
    max-width: 600px;
    width: 100%;
}
.success-box .title {
    color: var(--text-color);
}
.success-box a.button {
    margin-top: 1.5rem;
}