/* ============================================
   STAR LIVING LAB - STYLESHEET REDESIGNED
   Modern, Clean, Strategic Design
   ============================================ */

/* CSS VARIABLES */
:root {
    /* Background */
    --bg-primary: #ffffff;
    --bg-secondary: #f6f7f8;
    
    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    
    /* Brand Colors */
    --brand-green: #1f5a2a;
    --brand-green-soft: #d8efe0;
    --brand-orange: #c85a1f;
    --brand-orange-light: #f5e6d3;
    
    /* Borders & Dividers */
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* CONTAINER */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

a {
    color: var(--brand-orange);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #a84a1a;
}

strong {
    font-weight: 600;
    color: var(--text-primary);
}

ul {
    list-style: none;
}

li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--brand-orange);
    color: white;
}

.btn-primary:hover {
    background-color: #a84a1a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--brand-green);
    border: 2px solid var(--brand-green);
}

.btn-secondary:hover {
    background-color: var(--brand-green-soft);
    border-color: var(--brand-green);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* HEADER & NAVIGATION */
.header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-green);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--brand-orange);
}

.logo-image {
    height: 70px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--brand-green);
    border-radius: 2px;
    transition: var(--transition);
}

/* HERO SECTION - FULL WIDTH WITH PARALLAX */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 90, 42, 0.85) 0%, rgba(200, 90, 31, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

.hero-inner {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e8f0eb;
    font-weight: 300;
}

.hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #ffd700;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: #f0f0f0;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* SECTIONS */
.section {
    padding: 6rem 2rem;
    background-color: var(--bg-primary);
}

.section-alt {
    background-color: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-align: center;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
}

/* WHY SECTION - THREE PILLARS */
.section-pillars {
    background: linear-gradient(135deg, #f6f7f8 0%, #ffffff 100%);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pillar {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 3px solid var(--brand-orange);
}

.pillar:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pillar h3 {
    color: var(--brand-green);
    margin-bottom: 1rem;
}

.pillar p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* CHI SIAMO SECTION */
.chi-siamo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.chi-siamo-text h3 {
    color: var(--brand-green);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.chi-siamo-text h3:first-child {
    margin-top: 0;
}

.chi-siamo-text p {
    margin-bottom: 1.2rem;
}

.chi-siamo-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chi-siamo-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

.chi-siamo-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.pillar-card {
    background-color: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--brand-orange);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.pillar-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--brand-green-soft);
    color: var(--brand-green);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.pillar-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* FORMAT SECTION */
.format-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.format-text h3 {
    color: var(--brand-green);
    margin-bottom: 1rem;
}

.format-text h4 {
    color: var(--brand-green);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.format-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.format-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.format-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: bold;
}

.format-quote {
    font-style: italic;
    color: var(--text-secondary);
    padding: 1.5rem;
    border-left: 3px solid var(--brand-green);
    background-color: var(--brand-green-soft);
    border-radius: 4px;
    margin-top: 2rem;
}

.format-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

/* PROJECTS SECTION */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: var(--brand-green);
    margin-bottom: 0.8rem;
}

.project-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tag {
    display: inline-block;
    background-color: var(--brand-green-soft);
    color: var(--brand-green);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* TECHNOLOGY SECTION */
.tech-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tech-card h3 {
    color: var(--brand-green);
    margin-bottom: 1rem;
}

.tech-card p {
    font-size: 0.95rem;
}

/* IMPACT SECTION */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.impact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.impact-card h3 {
    color: var(--brand-green);
    margin-bottom: 1.5rem;
}

.impact-card ul {
    list-style: none;
}

.impact-card li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.impact-card li:before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--brand-orange);
}

/* SDGs SECTION */
.sdgs-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.sdgs-section h3 {
    color: var(--brand-green);
    margin-bottom: 2rem;
    text-align: center;
}

.sdgs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.sdg-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--brand-green-soft) 0%, var(--brand-orange-light) 100%);
    border-radius: 8px;
    transition: var(--transition);
}

.sdg-item:hover {
    transform: scale(1.05);
}

.sdg-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 0.5rem;
}

.sdg-item p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* INVESTORS SECTION */
.investor-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.investor-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.investor-card h3 {
    color: var(--brand-green);
    margin-bottom: 1.5rem;
}

.investor-card ul {
    list-style: none;
}

.investor-card li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.growth-phases {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.phase {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--brand-orange);
}

.phase strong {
    display: block;
    color: var(--brand-green);
    margin-bottom: 0.3rem;
}

.phase span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* LOCATION SECTION */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.location-text h3 {
    color: var(--brand-green);
    margin-bottom: 1rem;
}

.location-stats {
    list-style: none;
    margin: 1.5rem 0;
}

.location-stats li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.location-stats li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: bold;
}

.coordinates-box {
    background-color: var(--brand-green-soft);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--brand-green);
    margin-top: 1.5rem;
    font-weight: 500;
    color: var(--brand-green);
}

.coordinates-decimal {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: normal;
}

.location-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.location-map {
    margin-top: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    background: white;
}

.location-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

/* CONTACT SECTION */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(200, 90, 31, 0.1);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    color: var(--brand-green);
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item strong {
    display: block;
    color: var(--brand-green);
    margin-bottom: 0.5rem;
}

.info-item a {
    color: var(--brand-orange);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--brand-green-soft);
    color: var(--brand-green);
    border-radius: 6px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--brand-green);
    color: white;
}

/* FOOTER */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #b0b0b0;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #b0b0b0;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--brand-orange);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
    color: #b0b0b0;
    font-size: 0.9rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* SCROLL TO TOP BUTTON */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: var(--brand-green);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background-color: var(--brand-orange);
    transform: scale(1.1);
}

.scroll-to-top.show {
    display: flex;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* AOS-LIKE ANIMATIONS */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .chi-siamo-content,
    .format-content,
    .location-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .chi-siamo-pillars {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .navbar-menu {
        gap: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        padding: 1rem 2rem;
        box-shadow: var(--shadow-md);
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .pillars-grid,
    .projects-grid,
    .tech-content,
    .impact-grid,
    .investor-content {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .navbar-container {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}


/* COLLIBALLI SECTION STYLES */
.colliballi-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.colliballi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.colliballi-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.colliballi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.colliballi-card h3 {
    color: #1f5a2a;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.colliballi-stats {
    list-style: none;
    padding: 0;
}

.colliballi-stats li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #666;
}

.colliballi-stats li:last-child {
    border-bottom: none;
}

.colliballi-stats strong {
    color: #1f5a2a;
}

.colliballi-vision {
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    padding: 2.5rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    border-left: 4px solid #c85a1f;
}

.colliballi-vision h3 {
    color: #1f5a2a;
    margin-bottom: 1rem;
}

.colliballi-vision p {
    margin-bottom: 1.5rem;
    color: #555;
}

.colliballi-opportunities {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.colliballi-opportunities li {
    padding: 0.75rem;
    background: white;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #666;
}

.colliballi-opportunities strong {
    color: #1f5a2a;
}

.colliballi-gallery {
    margin-top: 3rem;
}

.colliballi-gallery h3 {
    color: #1f5a2a;
    margin-bottom: 2rem;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    background: #f0f0f0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* RESPONSIVE COLLIBALLI */
@media (max-width: 768px) {
    .colliballi-grid {
        grid-template-columns: 1fr;
    }

    .colliballi-opportunities {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .colliballi-card {
        padding: 1.5rem;
    }

    .colliballi-vision {
        padding: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .colliballi-opportunities {
        grid-template-columns: 1fr;
    }
}


/* SMART BIO-FODDER MODULE STYLES */
.bio-fodder-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.bio-fodder-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.bio-fodder-text h3 {
    color: var(--brand-green);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.bio-fodder-text h4 {
    color: var(--brand-green);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.bio-fodder-text p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.bio-fodder-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.bio-fodder-features li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.bio-fodder-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-green);
    font-weight: bold;
    font-size: 1.1rem;
}

.bio-fodder-cycle {
    list-style: none;
    padding: 0;
    background: linear-gradient(135deg, var(--brand-green-soft) 0%, rgba(31, 90, 42, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--brand-green);
}

.bio-fodder-cycle li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.bio-fodder-cycle li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: bold;
}

.bio-fodder-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.bio-fodder-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* RESPONSIVE BIO-FODDER */
@media (max-width: 1024px) {
    .bio-fodder-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .bio-fodder-section {
        margin-top: 2rem;
        padding-top: 2rem;
    }

    .bio-fodder-text h3 {
        font-size: 1.5rem;
    }

    .bio-fodder-features,
    .bio-fodder-cycle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .bio-fodder-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .bio-fodder-text h3 {
        font-size: 1.3rem;
    }

    .bio-fodder-text h4 {
        font-size: 1rem;
    }
}/* ===============================
   MAPPA SCENOGRAFICA – DOVE SIAMO
   =============================== */

.scenic-map{
  margin-top: 40px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 60px rgba(0,0,0,.12);
}

.scenic-map iframe{
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
  transition: transform .45s ease;
}

@media (hover:hover){
  .scenic-map:hover iframe{
    transform: scale(1.03);
  }
}

.map-links{
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255,255,255,.96);
  border-top: 1px solid rgba(0,0,0,.08);
  font-weight: 500;
}

.map-links a{
  color: inherit;
  text-decoration: none;
}

.map-links a:hover{
  text-decoration: underline;
}

.map-links span{
  opacity: .4;
}

/* Mobile */
@media (max-width: 768px){
  .scenic-map iframe{
    height: 520px;
  }
}

