/* Critical styles for index.html - Load these immediately to prevent FOUC */

/* Root variables */
:root {
    --dark-color: #0b50a0;
    --light-color: #18b4ed;
    --turqoisy: #0a6a8d;
    --black-color: #191919;
    --light-grey: #373737;
    --white-color: white;
}

/* Base body styling */
body {
    background-color: var(--white-color);
    background-image: url('img/hero-bg1.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: bottom;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Poppins", "Segoe UI", -apple-system, "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    color: #4a4a4a;
}

/* Navbar critical styles */
.navbar {
    background-color: white;
    min-height: 3.25rem;
    position: relative;
    z-index: 30;
    box-shadow: -2px -3px 2px 2px var(--black-color);
}

.navbar-brand {
    align-items: stretch;
    display: flex;
    flex-shrink: 0;
    min-height: 3.25rem;
}

.navbar-burger {
    color: #4a4a4a;
    cursor: pointer;
    display: block;
    height: 3.25rem;
    position: relative;
    width: 3.25rem;
    margin-left: auto;
}

.navbar-menu {
    display: none;
}

.navbar-item {
    display: block;
    padding: 0.5rem 0.75rem;
}

/* Hero section critical styles */
.hero {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero.is-mine {
    background-blend-mode: luminosity;
    color: var(--dark-color);
}

.hero-body {
    flex-grow: 1;
    flex-shrink: 0;
    padding: 3rem 1.5rem;
}

.hero.is-mine .title {
    color: inherit;
    font-family: "Poppins", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero.is-mine .title-white {
    color: var(--black-color);
    font-family: "Poppins", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.5rem;
    text-shadow: -1px 0.5px 0.5px var(--white-color), 0.5px 0.5px 0.5px var(--white-color);
}

.subtitle-hero {
    font-size: 1.5rem !important;
    font-weight: bold;
    color: var(--black-color) !important;
}

/* Button critical styles */
.button {
    background-color: white;
    border-color: #dbdbdb;
    border-width: 1px;
    cursor: pointer;
    justify-content: center;
    padding: calc(0.5em - 1px) 1em;
    text-align: center;
    white-space: nowrap;
    border-radius: 5px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
}

.button.is-info {
    background-color: #3e8ed0;
    border-color: transparent;
    color: #fff;
}

.button.is-medium {
    font-size: 1.25rem;
}

/* Container */
.container {
    flex-grow: 1;
    margin: 0 auto;
    position: relative;
    width: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Columns */
.columns {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.75rem;
}

.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75rem;
}

/* Image preloading */
.hero-image {
    max-width: 100%;
    height: auto;
}

/* Icon styles */
.icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    height: 1.5rem;
    width: 1.5rem;
}

.icon-text {
    align-items: flex-start;
    color: inherit;
    display: inline-flex;
    flex-wrap: wrap;
    line-height: 1.5rem;
}

/* Card critical styles */
.card {
    background-color: white;
    border-radius: 2rem;
    box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1);
    color: #4a4a4a;
    max-width: 100%;
    position: relative;
}

.card.icony {
    width: 100%;
    height: 220px;
}

.card-image figure {
    display: block;
    position: relative;
}

.card-image img {
    display: block;
    width: 100%;
    height: auto;
}

.card-content {
    padding: 1.5rem;
}

.card-text {
    text-align: center;
    font-weight: bold;
}

/* Footer critical styles */
.footer {
    background: linear-gradient(360deg, rgba(34, 47, 61, 1) 0, rgba(27, 32, 37, 1) 68%);
    padding: 3rem 1.5rem 6rem;
    border-top: solid var(--light-color) 2px;
    margin-top: auto;
    color: white;
}

/* Section */
.section {
    padding: 3rem 1.5rem;
}

/* Utility classes */
.has-text-centered {
    text-align: center !important;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 3rem !important; }
.ml-1 { margin-left: 0.25rem !important; }

.is-dark-blue {
    color: var(--dark-color);
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .hero.is-mine .title {
        font-size: 2rem;
    }
    
    .hero.is-mine .title-white {
        font-size: 1rem;
        margin-top: 10px;
    }
    
    .subtitle-hero {
        font-size: 1rem !important;
    }
    
    .hero-body {
        padding: 1rem 1rem;
    }
    
    .hero-image {
        height: 100%;
        width: auto;
    }
}

@media screen and (min-width: 769px) {
    .columns {
        display: flex;
    }
    
    .column.is-two-thirds {
        flex: none;
        width: 66.6666%;
    }
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}