/* style.css */

/*------------------------------------------------------------------
[TABLE OF CONTENTS]

1.  ROOT VARIABLES
    - Fonts
    - Colors (Neutral Scheme with Accent)
    - Spacing
    - Borders & Shadows
    - Gradients
2.  GLOBAL STYLES
    - HTML, Body
    - Typography (Headings, Paragraphs, Links)
    - Selection
    - Utility Classes
3.  LAYOUT
    - Container
    - Section
    - Columns (Flexbox based)
4.  HEADER & NAVIGATION
    - Site Header (Fixed)
    - Navbar
    - Logo
    - Nav Items
    - Burger Menu (Mobile)
5.  BUTTONS (Global)
    - Base Button Styles
    - Primary, Outlined Variations
    - Read More Links
6.  HERO SECTION
    - Full Height, Background Image
    - Overlay for Text Readability
    - Content Styling
    - Parallax Effect
7.  CARDS (General & Specific)
    - Base Card (.card)
    - Card Image & Content
    - Team Card
    - Project Card (Slide)
    - Event Card
    - Media Article Card
    - Resource Item Card
    - Value Card (About Page)
8.  ACCORDIONS
9.  FORMS
    - Field, Label, Input, Textarea
    - Checkbox
    - Contact Form Container (Glassmorphism)
10. FOOTER
    - Layout & Styling
    - Text-based Social Media Links
11. SPECIFIC PAGE STYLING
    - success.html
    - privacy.html & terms.html
12. ANIMATIONS & TRANSITIONS
    - Hover Effects
    - ScrollReveal Placeholder (JS handles actual animation)
13. RESPONSIVE DESIGN
    - Tablet
    - Mobile
-------------------------------------------------------------------*/

/* 1. ROOT VARIABLES */
:root {
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'IBM Plex Sans', sans-serif;

    /* Colors (Neutral Scheme with Professional Accent) */
    --color-text-primary: #343a40; /* Dark grey for body text */
    --color-text-secondary: #6c757d; /* Medium grey for subtitles */
    --color-text-headings: #212529; /* Very dark grey/black for headings */
    --color-text-light: #FFFFFF; /* White for dark backgrounds */
    --color-text-accent: #007BFF; /* Professional blue accent */

    --color-background-light: #FFFFFF;
    --color-background-medium: #F8F9FA; /* Very light grey for alternate sections */
    --color-background-dark: #212529; /* Dark for footer or special sections */

    --color-accent-primary: #007BFF; /* Professional Blue */
    --color-accent-primary-darker: #0056b3; /* Darker shade for hovers */
    --color-accent-secondary: #6c757d; /* Muted grey, can be used for subtle accents */

    --color-border: #dee2e6; /* Light grey for borders */
    --color-border-input: #ced4da;

    /* Spacing */
    --spacing-xs: 0.25rem; /* 4px */
    --spacing-sm: 0.5rem;  /* 8px */
    --spacing-md: 1rem;    /* 16px */
    --spacing-lg: 1.5rem;  /* 24px */
    --spacing-xl: 3rem;    /* 48px */
    --spacing-xxl: 4.5rem; /* 72px */

    /* Borders & Shadows */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);

    /* Gradients */
    --gradient-overlay: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    --gradient-accent: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-primary-darker));

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

/* 2. GLOBAL STYLES */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-text-primary);
    background-color: var(--color-background-light);
    line-height: 1.7;
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.title, .subtitle, .logo-text {
    font-family: var(--font-primary);
    color: var(--color-text-headings);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

.title.is-1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
.title.is-2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.title.is-3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.title.is-4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
.title.is-5 { font-size: clamp(1.1rem, 2vw, 1.25rem); }
.subtitle { color: var(--color-text-secondary); font-weight: 400; }

p {
    margin-bottom: var(--spacing-md);
}
p.content.is-medium { font-size: 1.125rem; } /* From provided HTML */

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

ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg); /* Default padding for lists */
}
li { margin-bottom: var(--spacing-sm); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Selection */
::selection {
    background-color: var(--color-accent-primary);
    color: var(--color-text-light);
}

/* Utility Classes */
.has-text-centered { text-align: center !important; }
.has-text-left { text-align: left !important; }
.has-text-right { text-align: right !important; }
.is-hidden { display: none !important; }
.has-background-light { background-color: var(--color-background-medium); }
.mt-1 { margin-top: var(--spacing-sm) !important; }
.mt-2 { margin-top: var(--spacing-md) !important; }
.mt-3 { margin-top: var(--spacing-lg) !important; }
.mt-4 { margin-top: var(--spacing-xl) !important; }
.mt-5 { margin-top: var(--spacing-xxl) !important; }
.mb-0 { margin-bottom: 0 !important; }

/* 3. LAYOUT */
.container {
    width: 90%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.section {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
}
.section-title {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}
.section-title.has-text-left { text-align: left; }

/* Columns (using classes from provided HTML, assumed Flexbox based) */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(-1 * var(--spacing-md));
    margin-right: calc(-1 * var(--spacing-md));
    /* margin-top: calc(-1 * var(--spacing-md)); This might be too much if not always desired */
}
.columns:not(:last-child) {
    margin-bottom: var(--spacing-lg);
}
.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: var(--spacing-md);
}
.column.is-full { flex: none; width: 100%; }
.column.is-two-thirds { flex: none; width: 66.6666%; }
.column.is-half { flex: none; width: 50%; }
.column.is-one-third { flex: none; width: 33.3333%; }
.columns.is-vcentered { align-items: center; }
.columns.is-centered { justify-content: center; }
.columns.is-multiline .column { /* Ensure multiline columns don't overshrink */
    /* flex-grow: 0; Can be useful but depends on exact need */
}

/* Asymmetric balance can be achieved by varying column widths and content density */
/* e.g., a section with .column.is-two-thirds and .column.is-one-third */

/* 4. HEADER & NAVIGATION */
.site-header {
    background-color: var(--color-background-light);
    box-shadow: var(--shadow-md);
    position: fixed; /* Fixed navigation bar */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: background-color var(--transition-medium), box-shadow var(--transition-medium);
}
/* Optional: Scrolled header style
.site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-lg);
}
*/

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-brand {
    display: flex;
    align-items: center;
}
.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-headings);
    text-decoration: none;
    margin-bottom: 0; /* Override heading margin */
}
.logo-text:hover {
    color: var(--color-accent-primary);
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    align-items: center;
}
.navbar-start {
    display: flex;
    align-items: center;
    margin-right: auto; /* Pushes burger to the right if it's outside navbar-start */
}
.navbar-item {
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-text-primary);
    font-weight: 500;
    text-decoration: none;
    position: relative;
}
.navbar-item::after { /* Underline effect for active/hover */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-accent-primary);
    transition: width var(--transition-medium);
}
.navbar-item:hover::after,
.navbar-item.is-active::after {
    width: 70%;
}
.navbar-item:hover,
.navbar-item.is-active {
    color: var(--color-accent-primary);
    background-color: transparent; /* Ensure no Bulma background */
    text-decoration: none;
}

.navbar-burger {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    border: none;
    background: transparent;
    height: 3.25rem;
    width: 3.25rem;
    position: relative;
    margin-left: auto; /* Pushes it to the right if inside navbar div */
}
.navbar-burger span {
    background-color: var(--color-text-headings);
    display: block;
    height: 2px;
    width: 20px; /* Slightly wider */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.navbar-burger span:nth-child(1) { transform: translate(-50%, -50%) translateY(-6px); }
.navbar-burger span:nth-child(3) { transform: translate(-50%, -50%) translateY(6px); }

.navbar-burger.is-active span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.navbar-burger.is-active span:nth-child(2) { opacity: 0; }
.navbar-burger.is-active span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* 5. BUTTONS (Global) */
.button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: var(--color-accent-primary);
    border: 2px solid var(--color-accent-primary);
    color: var(--color-text-light);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: background-color var(--transition-medium), border-color var(--transition-medium), color var(--transition-medium), transform var(--transition-fast), box-shadow var(--transition-medium);
    box-shadow: var(--shadow-sm);
}
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
    background-color: var(--color-accent-primary-darker);
    border-color: var(--color-accent-primary-darker);
    color: var(--color-text-light);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.button:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Button Sizes (using Bulma classes from HTML) */
.button.is-large { font-size: 1.25rem; padding: var(--spacing-md) var(--spacing-xl); }
.button.is-medium { font-size: 1rem; padding: var(--spacing-sm) var(--spacing-lg); }
.button.is-small { font-size: 0.875rem; padding: var(--spacing-xs) var(--spacing-md); }

/* Button Outlined Variation */
.button.is-outlined,
.button.is-link.is-outlined /* for Bulma compat in HTML */ {
    background-color: transparent;
    color: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
}
.button.is-outlined:hover,
.button.is-link.is-outlined:hover {
    background-color: var(--color-accent-primary);
    color: var(--color-text-light);
}

/* Read More Links */
.read-more-link {
    display: inline-block;
    font-weight: 600;
    color: var(--color-accent-primary);
    text-decoration: none;
    position: relative;
    padding-right: var(--spacing-lg); /* Space for arrow */
}
.read-more-link::after {
    content: '→'; /* Arrow icon */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform var(--transition-medium);
}
.read-more-link:hover {
    color: var(--color-accent-primary-darker);
    text-decoration: underline;
}
.read-more-link:hover::after {
    transform: translateY(-50%) translateX(3px);
}

/* 6. HERO SECTION */
.hero {
    position: relative;
    color: var(--color-text-light); /* Ensures text is white by default */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden; /* For parallax elements */
}
.hero.is-fullheight {
    min-height: 100vh; /* As per HTML */
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-background-overlay { /* Dark overlay for text readability */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}
.hero-body {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}
.hero-title {
    color: var(--color-text-light) !important; /* IMPORTANT constraint */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* From HTML, kept for consistency */
    margin-bottom: var(--spacing-lg);
}
.hero-subtitle {
    color: var(--color-text-light) !important; /* IMPORTANT constraint */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7); /* From HTML */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-xl);
}
.hero .button {
    margin-top: var(--spacing-lg);
}

/* Parallax for Hero Background - simple CSS version */
.hero.parallax-section {
    background-attachment: fixed;
}
/* For JS-driven parallax, you'd manipulate background-position or transform */

/* 7. CARDS (General & Specific) */
.card {
    background-color: var(--color-background-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    display: flex; /* STRICT: for image centering and content flow */
    flex-direction: column;
    /* align-items: center; --This centers all content globally within the card. More specific for text. */
    height: 100%; /* For consistent height in rows */
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image { /* This div wraps the image-container as per HTML structure */
    width: 100%;
    /* For direct children of .card if it's flex column, align-items: center on .card can center this block */
}
.card-image .image-container { /* STRICT: Wrapper for the actual <img> */
    width: 100%;
    height: 200px; /* STRICT: Fixed height for image consistency */
    overflow: hidden;
    display: flex; /* Center image if it's smaller than container (not needed with object-fit:cover) */
    justify-content: center;
    align-items: center;
    background-color: var(--color-background-medium); /* Placeholder bg */
}
.card-image .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* STRICT: Ensures image covers and maintains aspect ratio */
    display: block; /* Remove bottom space */
}

.card-content {
    padding: var(--spacing-lg);
    flex-grow: 1; /* Allows content to fill remaining space */
    text-align: center; /* STRICT: Center content within card-content */
}
.card-content .title { /* Titles within cards */
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-headings);
}
.card-content .subtitle { /* Subtitles within cards */
    margin-bottom: var(--spacing-md);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}
.card-content p:last-child {
    margin-bottom: 0;
}

/* Team Card */
.team-section .card {
    /* align-items: center; is already on .card */
}
.team-section .card-image .image-container {
    height: 250px; /* Potentially different height for team photos */
    border-radius: 50%; /* If circular team photos are desired, apply here or on img */
    width: 250px; /* If circular, match height */
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--spacing-lg); /* Space above image if not full-width */
}
.team-section .card-image .image-container img {
    border-radius: 50%; /* If circular team photos */
}
.team-section .card-content {
    padding-top: var(--spacing-md);
}

/* Project Card (used in slider) */
.projects-section .slide.card {
    /* Specific styles if different from generic cards */
    /* height: auto; /* Override if slider needs dynamic height */
}
.custom-slider-container {
    position: relative;
    overflow: hidden; /* Important for slider */
}
.custom-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide { /* This is the .card element in the slider */
    min-width: calc(100% / 3 - var(--spacing-lg)); /* 3 slides, with gap */
    margin: 0 calc(var(--spacing-lg) / 2);
    box-sizing: border-box;
    flex-shrink: 0; /* Prevent slides from shrinking */
}
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.6);
    color: var(--color-text-light);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-prev:hover, .slider-next:hover {
    background-color: rgba(0,0,0,0.8);
}
.slider-prev { left: var(--spacing-md); }
.slider-next { right: var(--spacing-md); }


/* Event Card, Media Article Card, Resource Item Card */
.event-card, .media-article.card, .resource-item.card {
    text-align: left; /* Override general card centering for these if needed */
}
.event-card .card-content,
.media-article.card .card-content,
.resource-item.card .card-content {
    text-align: left;
}
.resource-item.card .card-content .title a {
    color: var(--color-accent-primary);
}
.resource-item.card .card-content .title a:hover {
    color: var(--color-accent-primary-darker);
}

/* Value Card (About Page) */
.value-card .card-content {
    text-align: center;
}
.value-card .animated-icon { /* From HTML */
    font-size: 2.5em;
    margin-bottom: var(--spacing-md);
    display: block;
    color: var(--color-accent-primary);
}

/* 8. ACCORDIONS */
.accordion-item {
    border: 1px solid var(--color-border);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    overflow: hidden; /* For smooth open/close if using max-height */
}
.accordion-header { /* This is the <summary> tag */
    background-color: var(--color-background-medium);
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-text-headings);
    transition: background-color var(--transition-fast);
}
.accordion-header:hover {
    background-color: #e9ecef; /* Slightly darker than background-medium */
}
.accordion-item[open] .accordion-header {
    background-color: #e0e6eb; /* Even darker when open */
}
.accordion-header .animated-icon { /* '+' icon from HTML */
    transition: transform var(--transition-medium);
    font-size: 1.2em;
    color: var(--color-accent-primary);
}
.accordion-item[open] .accordion-header .animated-icon {
    transform: rotate(45deg);
}
.accordion-content { /* This is the content div inside <details> */
    padding: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    background-color: var(--color-background-light);
}

/* 9. FORMS */
.field:not(:last-child) {
    margin-bottom: var(--spacing-lg);
}
.label {
    color: var(--color-text-headings);
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}
.input, .textarea {
    background-color: var(--color-background-light);
    border: 1px solid var(--color-border-input);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-primary);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.075);
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    font-family: var(--font-secondary);
}
.input:focus, .textarea:focus {
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    outline: 0;
}
.textarea {
    min-height: 120px;
    resize: vertical;
}
.input.is-medium, .textarea.is-medium { /* From HTML */
    font-size: 1.1rem;
    padding: var(--spacing-md) var(--spacing-lg);
}

.checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.checkbox input[type="checkbox"] {
    margin-right: var(--spacing-sm);
    width: 1.15em;
    height: 1.15em;
    accent-color: var(--color-accent-primary); /* Modern way to style checkbox color */
}
.checkbox a { /* Links within checkbox label */
    color: var(--color-accent-primary);
}
.checkbox label, .contact-form-container label.checkbox { /* For text next to checkbox, and if label wraps it */
    color: var(--color-text-primary); /* Default label color */
}
.contact-form-container label.checkbox { /* Specific for contact form on dark bg */
    color: var(--color-text-light) !important; /* From HTML style, important to override */
}
.contact-form-container label.checkbox a {
    color: #48C774 !important; /* From HTML, green link on dark bg */
}

/* Contact Form Container (Glassmorphism for forms on image backgrounds) */
.contact-form-container { /* Used in Hero Contact and potentially others */
    background: rgba(33, 37, 41, 0.6); /* Darker, more corporate semi-transparent */
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}
.contact-form-container .label {
    color: var(--color-text-light) !important; /* Override for dark bg */
}
.contact-form-container .input,
.contact-form-container .textarea {
    background-color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.3);
    color: var(--color-text-primary);
}
.contact-form-container .input::placeholder,
.contact-form-container .textarea::placeholder {
    color: var(--color-text-secondary);
}
.contact-form-container .input:focus,
.contact-form-container .textarea:focus {
    background-color: var(--color-background-light);
    border-color: var(--color-accent-primary);
}

/* Standalone contact form (e.g., on contacts.html page) */
.contact-form-standalone {
    background-color: var(--color-background-medium);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

/* 10. FOOTER */
.site-footer {
    background-color: var(--color-background-dark);
    color: #adb5bd; /* Light grey for footer text */
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}
.footer-title {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}
.site-footer p {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}
.site-footer ul {
    list-style: none;
    padding-left: 0;
}
.site-footer ul li {
    margin-bottom: var(--spacing-xs);
}
.site-footer ul li a { /* Text-based social media links */
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block; /* For better hover area and potential icon alignment */
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast), transform var(--transition-fast);
}
.site-footer ul li a:hover {
    color: var(--color-text-light);
    text-decoration: none; /* Remove underline from global 'a:hover' if desired */
    transform: translateX(3px);
}
/* Style for "Síganos" social links if they need specific icon-like appearance using text */
.site-footer .column:last-child ul li a::before { /* Example for text "icons" */
    /* content: '› '; /* or specific unicode chars if desired */
    /* margin-right: var(--spacing-xs); */
}

/* 11. SPECIFIC PAGE STYLING */

/* success.html page */
body[data-barba-namespace="success"] main, /* Using Barba namespace from HTML */
.success-page-section { /* If Barba is not used, target class directly */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xl);
}
.success-page-section .success-icon svg {
    width: 80px;
    height: 80px;
    color: #28a745; /* Green for success */
    margin-bottom: var(--spacing-lg);
}

/* privacy.html & terms.html */
body[data-barba-namespace="privacy"] main .content-section,
body[data-barba-namespace="terms"] main .content-section {
    padding-top: calc(var(--site-header-height, 80px) + var(--spacing-xl)); /* Adjust if header height changes */
    /* Assuming header height around 80px. Can be set by JS. */
}
/* Fallback if Barba namespace is not available or for direct page load */
.privacy-page-content, .terms-page-content { /* Add these classes to main content div on those pages */
     padding-top: calc(80px + var(--spacing-xl)); /* Or set a fixed header height variable */
}

.page-hero { /* For subpages like About, Contact, Privacy, Terms */
    padding: var(--spacing-xl) 0;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    text-align: center;
}
.page-hero .page-title { /* Titles on subpage heroes */
    color: var(--color-text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.page-hero .subtitle {
    color: var(--color-text-light);
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.content-section .content h2,
.content-section .content h3 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}
.content-section .content ul,
.content-section .content ol {
    margin-left: var(--spacing-md); /* Indent lists in content */
}

/* Map Placeholder */
.map-placeholder {
    background-color: var(--color-background-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px; /* As in HTML */
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}
.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 12. ANIMATIONS & TRANSITIONS */
/* ScrollReveal items are initially hidden by JS or base class if provided by library */
.reveal-item { /* For ScrollReveal */
    /*visibility: hidden; !* Handled by ScrollReveal.js *!*/
}

/* General transitions are on elements like buttons, links, cards */

/* 13. RESPONSIVE DESIGN */
@media screen and (max-width: 1023px) { /* Tablet */
    .column.is-two-thirds,
    .column.is-one-third,
    .column.is-half {
        width: 100%; /* Stack columns */
        flex: none;
    }
    /* Asymmetric balance might need specific overrides here if stacking isn't desired for all */

    .slide { /* 2 slides on tablet */
        min-width: calc(100% / 2 - var(--spacing-lg));
    }
    .hero.is-fullheight {
        min-height: 80vh; /* Reduce hero height slightly */
    }
}

@media screen and (max-width: 768px) { /* Mobile */
    html { font-size: 15px; } /* Slightly smaller base font for mobile */

    .section {
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
    }
    .section-title { margin-bottom: var(--spacing-lg); }

    .navbar-menu {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%; /* Position below header */
        background-color: var(--color-background-light);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-sm) 0;
        flex-direction: column;
        border-top: 1px solid var(--color-border);
    }
    .navbar-menu.is-active {
        display: flex;
    }
    .navbar-burger {
        display: block;
    }
    .navbar-start { /* Stack nav items vertically */
        flex-direction: column;
        width: 100%;
    }
    .navbar-item {
        width: 100%;
        text-align: center; /* Center text for mobile nav items */
        padding: var(--spacing-md) var(--spacing-lg);
        border-bottom: 1px solid var(--color-border);
    }
    .navbar-item:last-child { border-bottom: none; }
    .navbar-item::after { display: none; } /* Remove underline hover for mobile stack */
    .navbar-item:hover, .navbar-item.is-active {
        background-color: var(--color-background-medium); /* Simple highlight */
    }

    .hero-title { font-size: clamp(2rem, 6vw, 2.8rem); }
    .hero-subtitle { font-size: clamp(1rem, 4vw, 1.25rem); }
    .hero.is-fullheight { min-height: 70vh; }

    .slide { /* 1 slide on mobile */
        min-width: calc(100% - var(--spacing-md)); /* Almost full width with small side gaps */
        margin: 0 calc(var(--spacing-md) / 2);
    }
    .slider-prev, .slider-next {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .footer .columns {
        flex-direction: column; /* Stack footer columns */
        text-align: center;
    }
    .footer .column:not(:last-child) {
        margin-bottom: var(--spacing-lg);
    }

    .contact-form-container, .contact-form-standalone {
        padding: var(--spacing-lg);
    }

    /* Adjust padding for legal pages header overlap on mobile if header height changes */
    body[data-barba-namespace="privacy"] main .content-section,
    body[data-barba-namespace="terms"] main .content-section,
    .privacy-page-content, .terms-page-content {
        padding-top: calc(var(--site-header-mobile-height, 60px) + var(--spacing-lg));
    }
}