/* style.css */

:root {
    /* Tetradic Color Scheme */
    --primary-color: #0052A2; /* Deep Blue (Argentina flag inspiration) */
    --primary-color-dark: #003E7A;
    --primary-color-light: #337EC4;

    --secondary-color: #FFA500; /* Vibrant Orange (Energy, warmth) */
    --secondary-color-dark: #CC8400;
    --secondary-color-light: #FFC04D;

    --tertiary-color-1: #2E8B57; /* Sea Green (Sustainability, positive indicators) */
    --tertiary-color-1-dark: #1E5E3A;
    --tertiary-color-1-light: #50C878;

    --tertiary-color-2: #8A2BE2; /* Blue Violet (Unique accent) */
    --tertiary-color-2-dark: #6921B0;
    --tertiary-color-2-light: #A758F5;

    /* Neutral Colors */
    --text-color-base: #363636; /* Bulma's default text color */
    --text-color-dark: #222222;
    --text-color-medium: #4A4A4A; /* Bulma's title color */
    --text-color-light: #7A7A7A; /* Bulma's subtitle color / lighter text */
    --text-color-inverted: #FFFFFF;
    --text-color-accent: var(--primary-color);

    --background-color-body: #FFFFFF;
    --background-color-light-section: #F8F9FA; /* Very light grey for sections */
    --background-color-dark-section: #1C1C1E; /* Dark background for contrast, e.g., footer */
    
    /* Glassmorphism Backgrounds */
    --glass-light-bg: rgba(255, 255, 255, 0.25);
    --glass-light-border: rgba(255, 255, 255, 0.4);
    --glass-dark-bg: rgba(30, 30, 30, 0.45);
    --glass-dark-border: rgba(50, 50, 50, 0.5);
    --glass-blur: 10px;

    /* Borders & Shadows */
    --border-color-light: #DBDBDB; /* Bulma's border */
    --border-color-dark: #444444;
    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 16px;
    --box-shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.05);
    --box-shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
    --box-shadow-strong: 0 12px 35px rgba(0, 0, 0, 0.15);
    --text-shadow-subtle: 1px 1px 3px rgba(0,0,0,0.3);
    --text-shadow-strong: 1px 1px 5px rgba(0,0,0,0.5);

    /* Typography */
    --font-family-headings: 'Manrope', sans-serif;
    --font-family-body: 'Rubik', sans-serif;

    /* Spacing */
    --spacing-unit: 8px;
    --section-padding-vertical: calc(var(--spacing-unit) * 8); /* 64px */
    --section-padding-horizontal: calc(var(--spacing-unit) * 2); /* 16px for mobile */
    
    /* Header height for content offset */
    --header-height: 70px; /* Adjust based on actual final header height */

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Global Styles */
html {
    scroll-behavior: smooth;
    background-color: var(--background-color-body);
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-family-body);
    color: var(--text-color-base);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Apply scroll margin for fixed header */
section[id] {
    scroll-margin-top: var(--header-height);
}

/* Headings and Text */
h1, h2, h3, h4, h5, h6, .title, .subtitle {
    font-family: var(--font-family-headings);
    font-weight: 700;
}

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

.section-title {
    font-family: var(--font-family-headings);
    color: var(--text-color-dark) !important; /* Strong contrast */
    margin-bottom: calc(var(--spacing-unit) * 4) !important; /* 32px */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.section .subtitle {
    font-family: var(--font-family-body);
    color: var(--text-color-light) !important;
    margin-bottom: calc(var(--spacing-unit) * 5) !important; /* 40px */
}

p, .content {
    font-family: var(--font-family-body);
    color: var(--text-color-medium);
}
.content p:not(:last-child), .content ul:not(:last-child) {
    margin-bottom: 1.25em;
}

a {
    color: var(--primary-color);
    transition: color var(--transition-fast);
    text-decoration: none;
}
a:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

/* General Section Styling */
.section {
    padding: var(--section-padding-vertical) var(--section-padding-horizontal);
}
@media screen and (min-width: 769px) {
    .section {
        padding: var(--section-padding-vertical) calc(var(--spacing-unit) * 3); /* 24px for tablet+ */
    }
}
.has-background-light {
    background-color: var(--background-color-light-section) !important;
}


/* --- Glassmorphism Effects --- */
.glassmorphism-effect {
    background: var(--glass-light-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-light-border);
    box-shadow: var(--box-shadow-medium);
}
.dark-glassmorphism-effect { /* For elements on dark backgrounds */
    background: var(--glass-dark-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-dark-border);
    box-shadow: var(--box-shadow-medium);
}

/* Applying to specific HTML classes */
.glassmorphism-header,
.glassmorphism-footer {
    background: var(--glass-dark-bg); /* Darker glass for header/footer */
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-dark-border); /* For header */
    border-top: 1px solid var(--glass-dark-border); /* For footer */
}
.glassmorphism-card,
.glassmorphism-form,
.timeline-content.glassmorphism-card, /* Ensure this targets the Bulma timeline content */
.accordion-item.glassmorphism-card {   /* Ensure this targets the accordion item */
    background: var(--glass-light-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-light-border);
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-medium);
    overflow: hidden; /* Important for rounded corners with backdrop-filter */
}
.glassmorphism-image {
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-subtle);
}


/* Header & Navigation */
.header.is-sticky-top {
    position: sticky;
    top: 0;
    z-index: 30; /* Bulma's navbar z-index is 30 */
    width: 100%;
    /* Glassmorphism applied by .glassmorphism-header */
}
.navbar {
    min-height: var(--header-height); /* Ensure header has consistent height */
}
.navbar .navbar-brand .navbar-item img {
    max-height: calc(var(--header-height) - 20px); /* Adjust logo size */
}
.navbar-item, .navbar-link {
    font-family: var(--font-family-headings);
    font-weight: 600;
    color: black; /* For dark glass header */
    transition: background-color var(--transition-fast), color var(--transition-fast);
}
.navbar-item:hover, .navbar-link:hover, .navbar-item.is-active, .navbar-link.is-active {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--secondary-color) !important;
}
.navbar-dropdown {
    background-color: var(--glass-dark-bg) !important; /* Consistent with header */
    border: 1px solid var(--glass-dark-border) !important;
    border-top: none; /* Avoid double border with navbar-link */
    border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
}
.navbar-dropdown .navbar-item {
    color: var(--text-color-inverted) !important;
}
.navbar-dropdown .navbar-item:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: var(--secondary-color) !important;
}
.navbar-burger {
    color: var(--text-color-inverted);
}
.navbar-burger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.navbar-burger span {
    background-color: var(--text-color-inverted) !important;
}


/* Global Button Styles */
.button, input[type='submit'], input[type='button'] {
    font-family: var(--font-family-headings);
    font-weight: 700; /* Bolder for headings font */
    border-radius: var(--border-radius-medium);
    transition: all var(--transition-medium);
    box-shadow: var(--box-shadow-subtle);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 3); /* 10px 24px */
    line-height: 1.5; /* Ensure text is centered vertically */
    border-width: 2px; /* For outlined buttons */
    border-style: solid;
}
.button:hover, input[type='submit']:hover, input[type='button']:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-medium);
}
.button:active, input[type='submit']:active, input[type='button']:active {
    transform: translateY(-1px);
    box-shadow: var(--box-shadow-subtle);
}

/* Bulma Button Overrides - Primary */
.button.is-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-color-inverted);
}
.button.is-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    color: var(--text-color-inverted);
}
.button.is-primary.is-outlined {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.button.is-primary.is-outlined:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-color-inverted);
}

/* Accent Button (using is-link from Bulma for semantic meaning or create new class) */
.button.is-link { /* Re-purposing is-link for secondary accent */
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color-inverted);
}
.button.is-link:hover {
    background-color: var(--secondary-color-dark);
    border-color: var(--secondary-color-dark);
    color: var(--text-color-inverted);
}
.button.is-success {
    background-color: var(--tertiary-color-1);
    border-color: var(--tertiary-color-1);
    color: var(--text-color-inverted);
}
.button.is-success:hover {
    background-color: var(--tertiary-color-1-dark);
    border-color: var(--tertiary-color-1-dark);
}

/* Hero Section */
#hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative; /* For pseudo-elements if needed */
}
#hero .hero-body {
    padding-bottom: calc(var(--header-height) + 20px); /* Extra padding at bottom */
    position: relative;
    z-index: 1;
}
#hero .title, #hero .subtitle {
    color: var(--text-color-inverted) !important; /* Ensure white text, important for Bulma override */
    text-shadow: var(--text-shadow-strong);
}
#hero .title {
    font-size: 3rem; /* Adjust as needed */
    font-weight: 800;
    margin-bottom: calc(var(--spacing-unit) * 3);
}
#hero .subtitle {
    font-size: 1.5rem; /* Adjust as needed */
    font-weight: 400;
    margin-bottom: calc(var(--spacing-unit) * 4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Styles */
.card { /* General card styling, not glassmorphism specific */
    display: flex;
    flex-direction: column;
    height: 100%; /* For equal height cards in a Bulma row */
    background-color: var(--text-color-inverted); /* Opaque background for content inside glass */
    border-radius: var(--border-radius-large); /* Match glassmorphism border */
    box-shadow: var(--box-shadow-subtle);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    overflow: hidden; /* Ensures child elements conform to border-radius */
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-strong);
}

/* Card Image Container */
.card .card-image.image-container { /* For images at the top of cards */
    width: 100%;
    height: 220px; /* Fixed height for uniform card images */
    overflow: hidden;
    /* border-radius: var(--border-radius-large) var(--border-radius-large) 0 0; /* Top corners rounded if card has no glass */
    position: relative; /* For image inside */
}
.card .card-image.image-container .image { /* Bulma's figure.image */
    height: 100%;
    width: 100%;
}
.card .card-image.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}
.card:hover .card-image.image-container img {
    transform: scale(1.08);
}

/* Card Content */
.card .card-content {
    flex-grow: 1; /* Allows content to fill space, pushing actions to bottom */
    padding: calc(var(--spacing-unit) * 2.5); /* 20px */
    display: flex;
    flex-direction: column;
}
.card .card-content .media + .content { /* Spacing after media object (e.g. icon + title) */
    margin-top: calc(var(--spacing-unit) * 1.5);
}
.card .card-content .title,
.card .card-content .subtitle {
    color: var(--text-color-dark) !important; /* Inside light cards */
}
.card .card-content .title {
    font-family: var(--font-family-headings);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 1) !important;
}
.card .card-content .subtitle {
    font-family: var(--font-family-body);
    color: var(--text-color-light) !important;
    font-size: 0.9rem;
    margin-bottom: calc(var(--spacing-unit) * 1.5) !important;
}
.card .card-content .content {
    font-family: var(--font-family-body);
    color: var(--text-color-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1; /* Pushes actions to bottom if card-footer is not used */
}
.service-card .media-left .icon, .event-card .media-left .icon {
    transition: transform var(--transition-medium);
}
.service-card:hover .media-left .icon, .event-card:hover .media-left .icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Timeline (Enhancing Bulma's Timeline) */
.timeline .timeline-item .timeline-content {
    padding: calc(var(--spacing-unit) * 2); /* 16px */
}
.timeline .timeline-content p {
    color: var(--text-color-medium);
}
.timeline .timeline-content .heading {
    color: var(--text-color-dark);
    font-family: var(--font-family-headings);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.timeline .timeline-marker.is-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.timeline .timeline-header .tag.is-primary {
    background-color: var(--primary-color);
    color: var(--text-color-inverted);
    font-weight: 600;
}

/* Progress Indicators */
.progress-indicators .label {
    font-family: var(--font-family-body);
    color: var(--text-color-dark);
    font-weight: 500;
    margin-bottom: calc(var(--spacing-unit) * 0.75) !important;
}
.progress.is-primary::-webkit-progress-value { background-color: var(--primary-color); }
.progress.is-primary::-moz-progress-bar { background-color: var(--primary-color); }
.progress.is-primary::-ms-fill { background-color: var(--primary-color); }

.progress.is-success::-webkit-progress-value { background-color: var(--tertiary-color-1); }
.progress.is-success::-moz-progress-bar { background-color: var(--tertiary-color-1); }
.progress.is-success::-ms-fill { background-color: var(--tertiary-color-1); }

/* Accordions */
.accordion-item { /* The container, possibly with glassmorphism */
    margin-bottom: var(--spacing-unit);
    border-radius: var(--border-radius-medium); /* Match glass radius if applied */
}
.accordion-header.button {
    background-color: transparent; /* For glass effect to show */
    border: none; /* Remove Bulma button border */
    justify-content: space-between;
    text-align: left;
    width: 100%;
    color: var(--text-color-dark);
    font-family: var(--font-family-headings);
    font-weight: 600;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2);
    border-radius: var(--border-radius-medium); /* Match parent */
    box-shadow: none !important; /* Override global button shadow */
}
.accordion-header.button:hover {
    background-color: rgba(0,0,0,0.03); /* Subtle hover on the header */
    transform: none; /* Override global button transform */
}
.accordion-header.button.is-active {
    /* Style for active header if needed */
}
.accordion-header.button .icon {
    transition: transform var(--transition-medium);
    color: var(--primary-color);
}
.accordion-header.button.is-active .icon {
    transform: rotate(135deg); /* Or 45deg for plus to 'x' */
}
.accordion-content {
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 2.5);
    /* background-color: rgba(255,255,255,0.05); /* Slightly different tint for content if on glass */
    color: var(--text-color-medium);
    font-family: var(--font-family-body);
    border-top: 1px solid rgba(0,0,0,0.05); /* Separator if not using glass */
    font-size: 0.95rem;
}
.accordion-content.is-hidden {
    display: none;
}

/* Partners Section */
.partner-logos img {
    max-height: 60px; /* Adjust as needed */
    width: auto;
    margin: var(--spacing-unit) calc(var(--spacing-unit) * 2);
    filter: grayscale(80%);
    opacity: 0.7;
    transition: filter var(--transition-medium), opacity var(--transition-medium);
}
.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* External Resources Section */
.resource-card .card-content .title a {
    color: var(--primary-color) !important;
    font-family: var(--font-family-headings);
    font-weight: 600;
    font-size: 1.1rem;
}
.resource-card .card-content .title a:hover {
    color: var(--primary-color-dark) !important;
    text-decoration: underline;
}
.resource-card .card-content p.is-size-6 {
    font-family: var(--font-family-body);
    color: var(--text-color-light);
    line-height: 1.5;
}

/* Contact Form */
.glassmorphism-form {
    padding: calc(var(--spacing-unit) * 3) !important; /* Consistent padding */
}
.glassmorphism-form .label {
    color: var(--text-color-dark); /* Ensure readability on glass */
    font-family: var(--font-family-headings);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.glassmorphism-form .input,
.glassmorphism-form .textarea {
    border-radius: var(--border-radius-small);
    border: 1px solid var(--border-color-light);
    background-color: rgba(255, 255, 255, 0.7); /* Slightly opaque for readability on glass */
    color: var(--text-color-dark);
    font-family: var(--font-family-body);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: none; /* Remove Bulma's default input shadow */
}
.glassmorphism-form .input::placeholder,
.glassmorphism-form .textarea::placeholder {
    color: var(--text-color-light);
}
.glassmorphism-form .input:focus,
.glassmorphism-form .textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.125em rgba(0, 82, 162, 0.25); /* Bulma's focus shadow with primary color */
    background-color: rgba(255, 255, 255, 0.9);
}
.glassmorphism-form .checkbox label,
.glassmorphism-form .radio label {
    color: var(--text-color-medium); /* Ensure readability */
    font-family: var(--font-family-body);
    font-size: 0.9rem;
}
.glassmorphism-form .checkbox a {
    font-weight: 600;
}
.glassmorphism-form .control.has-icons-left .icon,
.glassmorphism-form .control.has-icons-right .icon {
    color: var(--text-color-light);
    pointer-events: none;
}

/* Footer */
.footer.glassmorphism-footer {
    /* Glassmorphism properties are applied by the .glassmorphism-footer class */
    padding: calc(var(--spacing-unit) * 5) var(--section-padding-horizontal); /* 40px */
    color: var(--text-color-inverted);
}
.footer .title {
    color: var(--text-color-inverted) !important;
    font-family: var(--font-family-headings);
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 2) !important;
}
.footer p, .footer ul {
    font-family: var(--font-family-body);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}
.footer a:not(.button) {
    color: var(--text-color-inverted);
    font-weight: 500;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.footer a:not(.button):hover {
    color: var(--secondary-color);
    text-decoration: none;
    padding-left: var(--spacing-unit);
}
.footer .social-links li {
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.footer .social-links li a {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer .content.has-text-centered p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Scroll Reveal Initial State */
.scroll-reveal {
    /*opacity: 0;*/
    /* transform: translateY(20px); /* Example initial transform */
    /* transition: opacity 0.6s ease-out, transform 0.6s ease-out; */ /* ScrollReveal handles this */
}

/* "Read More" Link Style */
a.read-more-link, .content a.has-text-link, .card-content a.has-text-link {
    font-family: var(--font-family-headings);
    font-weight: 600;
    color: var(--primary-color) !important;
    text-decoration: none !important;
    transition: color var(--transition-fast);
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    background:
        linear-gradient(to right, var(--secondary-color), var(--secondary-color)),
        linear-gradient(to right, rgba(0,0,0,0.1), rgba(0,0,0,0.1));
    background-size: 0 2px, 100% 2px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
}
a.read-more-link:hover, .content a.has-text-link:hover, .card-content a.has-text-link:hover {
    color: var(--primary-color-dark) !important;
    background-size: 100% 2px, 100% 2px;
}


/* --- Specific Page Styles --- */

/* Success Page (success.html) */
body.page-success { /* Add class to body on success.html */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--background-color-light-section);
}
.page-success .main-content-area { /* The main container for success page content */
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--section-padding-horizontal);
}
.page-success .success-box {
    background-color: var(--text-color-inverted);
    padding: calc(var(--spacing-unit) * 5) calc(var(--spacing-unit) * 4);
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-strong);
    max-width: 600px;
}
.page-success .success-box .icon.is-large {
    font-size: 4.5rem; /* Make icon bigger */
    color: var(--tertiary-color-1);
    margin-bottom: calc(var(--spacing-unit) * 2);
}
.page-success .success-box .title {
    color: var(--text-color-dark);
    margin-bottom: var(--spacing-unit);
}
.page-success .success-box .subtitle {
    color: var(--text-color-light);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

/* Privacy & Terms Pages (privacy.html, terms.html) */
body.page-legal .main-content-area { /* Add class to body and main container */
    padding-top: calc(var(--header-height) + 40px); /* Header height + extra space */
    padding-bottom: 40px;
    min-height: calc(100vh - var(--header-height) - var(--footer-height, 150px)); /* Adjust footer height */
}
body.page-legal .main-content-area .container .content h1,
body.page-legal .main-content-area .container .content h2,
body.page-legal .main-content-area .container .content h3 {
    font-family: var(--font-family-headings);
    color: var(--text-color-dark);
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}
body.page-legal .main-content-area .container .content p {
    font-family: var(--font-family-body);
    line-height: 1.8;
    margin-bottom: 1.25em;
}

/* Cookie Consent Popup (from prompt) */
#cookieConsentPopup {
    font-family: var(--font-family-body);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}
#cookieConsentPopup p {
    color: #f0f0f0;
    margin-right: 15px; /* Add some space between text and button on mobile */
}
#cookieConsentPopup button {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-color-inverted);
    padding: calc(var(--spacing-unit)*1) calc(var(--spacing-unit)*2);
    font-size: 0.9rem;
}
#cookieConsentPopup button:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
}

/* Ensure FontAwesome icons are vertically aligned if used inside buttons or text */
.icon .fas, .icon .far, .icon .fab, .icon .fal {
    vertical-align: middle;
}

/* Warped Grid - subtle effect for columns */
.warped-grid .column {
    transition: transform var(--transition-medium);
}
/* Example: Slight lift on hover for portfolio items */
#portfolio .warped-grid .column:hover .card {
    /* Card already has a translateY on hover, this can be an alternative for grid items */
    /* transform: translateY(-8px) rotate(-1deg); */
}

/* Ensure proper background image handling as per prompt */
[style*="background-image"] {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    #hero .title {
        font-size: 2.2rem;
    }
    #hero .subtitle {
        font-size: 1.2rem;
    }
    .section {
        padding: calc(var(--spacing-unit) * 6) var(--section-padding-horizontal);
    }
    .navbar-menu {
        background-color: var(--glass-dark-bg); /* Ensure mobile menu has bg */
        padding: var(--spacing-unit);
        box-shadow: var(--box-shadow-medium);
    }
    .navbar-menu .navbar-item {
        padding: calc(var(--spacing-unit)*1.5) var(--spacing-unit);
    }
    .footer .columns {
        text-align: center;
    }
    .footer .columns .column:not(:last-child) {
        margin-bottom: calc(var(--spacing-unit) * 3);
    }
     .footer .social-links {
        justify-content: center;
        display: flex;
        gap: 15px;
    }
    .footer a:not(.button):hover {
        padding-left: 0; /* Remove padding shift on mobile hover */
    }
}