/*
  Pasión Argentina Fútbol - style.css
  Design System: Retro con elementos Neo-Brutalismo
  Color Scheme: Gradient
  Animation Style: 3D-effects
  Fonts: Playfair Display (headings), Source Sans Pro (body)
*/

:root {
    /* Color Palette */
    --primary-color-dark: #003366;    /* Dark Argentinian Blue */
    --primary-color-light: #0055A4;   /* Lighter Argentinian Blue */
    --primary-color-pale: #6699CC;    /* Pale Argentinian Blue for subtle backgrounds/accents */
    --accent-color: #FFD700;          /* Gold/Yellow */
    --accent-color-darker: #E6C200;   /* Darker Gold for contrast/hovers */
    --accent-color-bright: #FFFACD;   /* Lemon Chiffon - very light yellow for highlights */

    --text-color-dark: #333333;       /* Dark grey for main body text */
    --text-color-medium: #555555;     /* Medium grey for secondary text */
    --text-color-light: #FFFFFF;      /* White for text on dark backgrounds */
    --heading-color: #1A1A1A;         /* Very dark grey/black for headings */
    --link-color: var(--primary-color-light);
    --link-hover-color: var(--primary-color-dark);

    --background-light: #f4f4f8;      /* Light grey/off-white for body */
    --background-white: #ffffff;      /* Pure white for cards, sections */
    --background-dark: var(--heading-color); /* Dark background for footer */

    --border-color-brutalist: #222222; /* Strong border for neo-brutalism */
    --border-color-subtle: #dddddd;

    --shadow-color-brutalist: #c0c0c0; /* Mid grey for brutalist shadows */
    --shadow-color-brutalist-darker: #a0a0a0;
    --shadow-soft: rgba(0, 0, 0, 0.1);

    /* Gradients */
    --gradient-primary: linear-gradient(90deg, var(--primary-color-dark), var(--primary-color-light));
    --gradient-accent: linear-gradient(45deg, var(--accent-color), var(--accent-color-darker));
    --gradient-hero-overlay: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 100%);
    --gradient-background-subtle: linear-gradient(135deg, var(--background-light) 0%, var(--primary-color-pale) 100%);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;

    /* Spacing & Sizing */
    --spacing-xs: 0.25rem; /* 4px */
    --spacing-sm: 0.5rem;  /* 8px */
    --spacing-md: 1rem;    /* 16px */
    --spacing-lg: 1.5rem;  /* 24px */
    --spacing-xl: 2.5rem;  /* 40px */
    --spacing-xxl: 3.75rem;/* 60px */

    --header-height: 70px; /* Approximate header height */
    --footer-min-height: 180px; /* Approximate footer height */

    --border-radius-sm: 4px;
    --border-radius-md: 8px;

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

/* Global & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color-dark);
    background-color: var(--background-light);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.main-content {
    flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    font-weight: 700;
    text-shadow: 1px 1px 1px var(--shadow-soft);
}
h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.3rem; }

p {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition-std), text-decoration var(--transition-std);
}
a:hover, a:focus {
    color: var(--link-hover-color);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-style: none; /* Remove border on linked images */
}

ul, ol {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px; /* Increased max-width for modern feel */
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

/* Section Styling */
.section-padding {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
}
.page-padding { /* For static pages like about, terms, privacy */
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}
.alt-background {
    background-color: var(--background-white);
}

.section-title, .page-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}
.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem); /* Responsive font size */
}
.page-title {
    font-size: clamp(2.2rem, 6vw, 3rem);
}

.section-intro, .content-text { /* content-text for success page */
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--text-color-medium);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}
/* For privacy and terms pages text */
.content-section p, .content-section ul {
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
    color: var(--text-color-dark);
}
.content-section ul {
    list-style-position: outside;
    padding-left: var(--spacing-lg);
}
.content-section li {
    margin-bottom: var(--spacing-sm);
}
.content-subtitle {
    font-size: 1.8rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: var(--primary-color-dark);
}
.content-image {
    margin: 0 auto var(--spacing-lg) auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 25px var(--shadow-soft);
}

/* Header & Navigation */
.site-header {
    background: var(--gradient-primary);
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure container takes full width within header */
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 1.9rem);
    color: var(--text-color-light);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.logo-accent {
    color: var(--accent-color);
}

.main-navigation .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}
.main-navigation .nav-list li {
    margin-left: var(--spacing-lg);
}
.main-navigation .nav-list a {
    color: var(--text-color-light);
    font-weight: 600;
    font-size: 1rem;
    padding: var(--spacing-sm) 0;
    position: relative;
    transition: color var(--transition-std);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.main-navigation .nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width var(--transition-std);
}
.main-navigation .nav-list a:hover,
.main-navigation .nav-list a:focus,
.main-navigation .nav-list a.active {
    color: var(--accent-color);
}
.main-navigation .nav-list a:hover::after,
.main-navigation .nav-list a:focus::after,
.main-navigation .nav-list a.active::after {
    width: 100%;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    z-index: 1001; /* Above nav list */
}
.hamburger {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-color-light);
    position: relative;
    transition: transform var(--transition-std), background-color var(--transition-std);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: var(--text-color-light);
    left: 0;
    transition: transform var(--transition-std), top var(--transition-std), bottom var(--transition-std);
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.nav-open .hamburger { background-color: transparent; }
.nav-open .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-open .hamburger::after { bottom: 0; transform: rotate(-45deg); }


/* Hero Section */
.hero-section {
    color: var(--text-color-light); /* Strictly white text */
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: calc(90vh - var(--header-height)); /* Dynamic height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* For potential parallax or 3D elements */
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-hero-overlay);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: hero-text-appear 1s ease-out forwards;
}
@keyframes hero-text-appear {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-color-light); /* Ensure it's white */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}
.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: var(--spacing-lg);
    color: var(--text-color-light); /* Ensure it's white */
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
    line-height: 1.8;
}
.hero-cta { /* Uses .neo-brutalist-button */
    margin-top: var(--spacing-md);
}

/* Global Button Styles */
.neo-brutalist-button,
button,
input[type="submit"],
input[type="button"] {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color-dark);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 3px solid var(--primary-color-dark);
    font-family: var(--font-body);
    font-weight: 700; /* Bolder for buttons */
    font-size: 1.05rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 5px 5px 0px var(--primary-color-dark);
    position: relative; /* For ripple */
    overflow: hidden; /* For ripple */
    text-align: center;
}
.neo-brutalist-button:hover,
.neo-brutalist-button:focus,
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
input[type="button"]:hover, input[type="button"]:focus {
    background-color: var(--primary-color-dark);
    color: var(--accent-color);
    box-shadow: 3px 3px 0px var(--accent-color), -3px -3px 0px var(--primary-color-light); /* More dynamic shadow */
    transform: translate(2px, 2px); /* Interaction feedback */
    outline: none;
}
.neo-brutalist-button:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active {
    box-shadow: 1px 1px 0px var(--accent-color);
    transform: translate(4px, 4px);
}
.neo-brutalist-button.small-button {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-width: 2px;
    box-shadow: 3px 3px 0px var(--primary-color-dark);
}

/* Ripple effect for buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(0, 51, 102, 0.25); /* Darker blue ripple for yellow button */
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}
.neo-brutalist-button:hover .ripple,
.neo-brutalist-button:focus .ripple { /* Adjust ripple for inverted colors */
    background-color: rgba(255, 215, 0, 0.25); /* Yellowish ripple for blue button */
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Card Styles (Products, Testimonials, Blog, Resources) */
.card {
    background-color: var(--background-white);
    border: 3px solid var(--border-color-brutalist);
    box-shadow: 6px 6px 0px var(--shadow-color-brutalist);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center image container and content block */
    text-align: center; /* Center text within content block */
    transition: transform var(--transition-std), box-shadow var(--transition-std);
    overflow: hidden; /* Ensures content fits */
    height: 100%; /* Make cards in a grid equal height if needed */
}
.card:hover {
    transform: translateY(-6px) rotateX(3deg) scale(1.02); /* Subtle 3D tilt */
    box-shadow: 8px 10px 5px var(--shadow-color-brutalist-darker),
                0 10px 20px var(--shadow-soft);
}

.card .card-image { /* Container for image */
    width: 100%;
    overflow: hidden;
    border-bottom: 3px solid var(--border-color-brutalist);
    /* Fixed height for image containers in product/blog cards */
}
/* Specific fixed height for product/blog cards */
.product-card .card-image, .blog-post-card .card-image {
    height: 220px;
}
.card .card-image img {
    width: 100%;
    height: 100%; /* Fill the fixed-height container */
    object-fit: cover; /* Crop image to fit, maintaining aspect ratio */
    transition: transform 0.4s ease;
}
.card:hover .card-image img {
    transform: scale(1.08); /* Zoom effect on image */
}
/* Testimonial specific image (smaller, circular) */
.testimonial-card .card-image {
    height: auto; /* Let image define height */
    border-bottom: none;
    padding-top: var(--spacing-lg); /* Space above avatar */
}
.testimonial-card .card-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto; /* Center the avatar itself */
    border: 3px solid var(--primary-color-light);
}

.card .card-content {
    padding: var(--card-padding);
    flex-grow: 1; /* Allows content to fill space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom if it's the last child */
    width: 100%; /* Ensure padding is applied correctly */
}
.card .card-content > *:last-child {
    margin-bottom: 0; /* Remove bottom margin from last element */
}

.product-name, .blog-post-title, .resource-title a {
    font-size: 1.5rem;
    color: var(--primary-color-dark);
    margin-bottom: var(--spacing-sm);
}
.resource-title a:hover { color: var(--accent-color-darker); }

.product-description, .blog-post-excerpt, .resource-description, .testimonial-text {
    font-size: 0.95rem;
    color: var(--text-color-medium);
    margin-bottom: var(--spacing-md);
    flex-grow: 1; /* Allow text to take up available space */
}
.testimonial-text { font-style: italic; line-height: 1.6; }
.testimonial-author {
    font-weight: 700;
    color: var(--primary-color-dark);
    font-size: 1rem;
    margin-top: var(--spacing-sm);
}
.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--link-color);
    margin-bottom: var(--spacing-md);
}
.blog-read-more { /* Already styled by .neo-brutalist-button.small-button */
    align-self: center; /* Center button in card if it's the only item horizontally */
    margin-top: var(--spacing-sm);
}

/* Grids for Products, Testimonials, Blog, Resources */
.product-grid, .testimonials-grid, .blog-grid, .resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

/* Statistics Section */
.statistics-section { background-color: var(--primary-color-pale); }
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}
.stat-item {
    background-color: var(--background-white);
    padding: var(--spacing-lg);
    border: 3px solid var(--primary-color-dark);
    box-shadow: 4px 4px 0px var(--primary-color-dark);
    transition: transform var(--transition-std), box-shadow var(--transition-std);
}
.stat-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 6px 6px 0px var(--primary-color-light);
}
.stat-number {
    display: block;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-color-dark);
    margin-bottom: var(--spacing-xs);
}
.stat-description {
    font-size: 1rem;
    color: var(--text-color-medium);
}

/* Methodology Section (Accordion) */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
    background-color: var(--background-white);
    margin-bottom: var(--spacing-sm);
    border: 2px solid var(--primary-color-dark);
    box-shadow: 3px 3px 0 var(--primary-color-dark);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}
.accordion-header {
    background-color: var(--primary-color-dark);
    color: var(--text-color-light);
    padding: var(--spacing-md) var(--spacing-lg);
    width: 100%;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-std);
}
.accordion-header:hover { background-color: var(--primary-color-light); }
.accordion-icon {
    font-size: 1.6rem;
    font-weight: 700;
    transition: transform var(--transition-std);
}
.accordion-item.active .accordion-icon { transform: rotate(45deg); }
.accordion-content {
    padding: 0 var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: var(--background-light);
    color: var(--text-color-dark);
}
.accordion-content p {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    margin:0;
    font-size: 1rem;
}

/* Resources Section */
.resource-card { /* Using .card base and extending */
    border-color: var(--primary-color-light);
    box-shadow: 5px 5px 0px var(--primary-color-light);
}
.resource-card:hover {
    box-shadow: 7px 7px 0px var(--primary-color-dark), 0 8px 15px var(--shadow-soft);
}

/* Contact Section & Form */
.contact-form-container {
    background-color: var(--background-white);
    padding: var(--spacing-xl);
    border: 3px solid var(--border-color-brutalist);
    box-shadow: 8px 8px 0px var(--shadow-color-brutalist);
    border-radius: var(--border-radius-md);
}
.form-group { margin-bottom: var(--spacing-lg); }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color-dark);
    font-size: 1rem;
}
.neo-brutalist-input { /* This class is in HTML for inputs */
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color-brutalist);
    background-color: var(--background-light);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color-dark);
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
    border-radius: var(--border-radius-sm);
}
.neo-brutalist-input:focus {
    outline: none;
    border-color: var(--primary-color-light);
    box-shadow: 0 0 0 3px rgba(0, 85, 164, 0.25); /* Subtle glow matching primary light */
}
textarea.neo-brutalist-input {
    resize: vertical;
    min-height: 150px;
}
.form-submit-button { /* This class is in HTML for submit */
    width: 100%;
    margin-top: var(--spacing-sm); /* Ensure some space if it's after a group */
}

/* Contact Page Specific Grid */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}
@media (min-width: 992px) { /* Wider breakpoint for two columns */
    .contact-page-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); /* Give more space to form */
        align-items: start; /* Align items to the start of the grid track */
    }
    .contact-info { order: 2; } /* Info on the right */
    .contact-form-container { order: 1; } /* Form on the left */
}
.contact-info h2.content-subtitle { margin-top: 0; }
.contact-info ul { list-style: none; padding-left: 0; }
.contact-info li {
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}
.contact-info li strong {
    color: var(--primary-color-dark);
    margin-right: var(--spacing-sm);
    flex-shrink: 0;
}
.contact-info li a { word-break: break-all; } /* Prevent long emails/links from breaking layout */

.map-placeholder img {
    border: 2px solid var(--border-color-brutalist);
    margin-top: var(--spacing-lg);
    border-radius: var(--border-radius-sm);
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

/* Footer */
.site-footer {
    background-color: var(--background-dark);
    color: var(--text-color-medium); /* Lighter grey for footer text */
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
    font-size: 0.95rem;
    line-height: 1.6;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}
.footer-column h4 {
    font-family: var(--font-heading);
    color: var(--text-color-light);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.5px;
}
.footer-nav-list, .footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav-list li, .footer-social-list li {
    margin-bottom: var(--spacing-sm);
}
.footer-nav-list a, .footer-social-list a {
    color: #b0b0b0; /* Lighter grey for links */
    text-decoration: none;
    transition: color var(--transition-std), padding-left var(--transition-std);
    display: inline-block; /* For padding effect */
}
.footer-nav-list a:hover, .footer-social-list a:hover,
.footer-nav-list a:focus, .footer-social-list a:focus {
    color: var(--accent-color);
    padding-left: var(--spacing-sm); /* Indent on hover */
}
.footer-column p {
    margin-bottom: var(--spacing-sm);
    color: #b0b0b0;
}
.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid #444444;
    font-size: 0.9rem;
    color: #888888;
}

/* Page Specific Styles */
/* Success Page Centering */
main[data-barba-namespace="success"].main-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertical centering for the .container */
    align-items: center;     /* Horizontal centering for the .container */
    flex-grow: 1; /* Ensure it takes available space if body is flex column */
    /* min-height is handled by body being flex column and main-content flex-grow:1 */
}
.success-message-box {
    background-color: var(--background-white);
    padding: var(--spacing-xxl);
    border: 3px solid #28a745; /* Green border for success */
    box-shadow: 6px 6px 0px #a1d6ae; /* Lighter green brutalist shadow */
    text-align: center;
    max-width: 650px;
    width: 90%;
    border-radius: var(--border-radius-md);
}
.success-message-box .page-title {
    color: #155724; /* Dark green text */
    margin-top: var(--spacing-md);
}
.success-message-box img {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-lg);
}

/* Privacy & Terms Page Top Padding */
main[data-barba-namespace="privacy"].page-padding,
main[data-barba-namespace="terms"].page-padding {
    padding-top: calc(var(--header-height) + var(--spacing-xl)); /* Dynamic padding */
    padding-bottom: var(--spacing-xl);
}


/* Animations & Transitions (Barba.js related are in HTML/JS) */
[data-aos] { /* AOS default, can be customized */
    opacity: 0;
    transition-property: transform, opacity;
}
.aos-animate {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 991px) { /* Tablet and below */
    .contact-page-grid {
        grid-template-columns: 1fr; /* Stack on tablets */
    }
    .contact-info { order: 0; } /* Reset order */
    .contact-form-container { order: 0; }
}

@media (max-width: 768px) { /* Mobile */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .section-title { font-size: 2rem; }
    .page-title { font-size: 2.2rem; }

    .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
    .hero-subtitle { font-size: clamp(1rem, 4vw, 1.2rem); }

    .main-navigation .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height); /* Position below header */
        left: 0;
        width: 100%;
        background-color: var(--primary-color-light); /* Consistent with header gradient part */
        box-shadow: 0 8px 16px rgba(0,0,0,0.15);
        padding: var(--spacing-md) 0;
        border-top: 1px solid rgba(255,255,255,0.2);
    }
    .main-navigation .nav-list.nav-list-open { display: flex; }
    .main-navigation .nav-list li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .main-navigation .nav-list a {
        display: block;
        padding: var(--spacing-md) var(--spacing-lg);
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .main-navigation .nav-list li:last-child a { border-bottom: none; }
    .main-navigation .nav-list a::after { display: none; }

    .nav-toggle { display: block; }

    .footer-content { text-align: center; }
    .footer-nav-list a:hover, .footer-social-list a:hover,
    .footer-nav-list a:focus, .footer-social-list a:focus {
        padding-left: 0; /* Remove indent on mobile for centered text */
    }
    
    /* Adjust card image heights for smaller screens if needed */
    .product-card .card-image, .blog-post-card .card-image {
        height: 180px;
    }
}

[data-aos] {
  opacity: 1;
  transition-property: transform, opacity;
}