/* -------------------------------------------------------------
   AMUNÌ TALÌA - DESIGN SYSTEM & LAYOUT
   Colors & Typography from Brand Kit v2
   ------------------------------------------------------------- */

/* Custom Properties (Variables) */
:root {
    --bg-primary: #EFECE1;        /* Tela Grezza */
    --color-primary: #486940;     /* Verde Pala */
    --color-secondary: #D36135;   /* Tangeri */
    --color-accent-blue: #8BC3E6;  /* Azzurro Cielo */
    --color-accent-yellow: #E6B822;/* Giallo Deserto */
    --text-primary: #2F3E2B;      /* Bosco Scuro */
    
    --white: #FFFFFF;
    --text-light: #F7F5EE;
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    
    --shadow-sm: 0 4px 6px -1px rgba(47, 62, 43, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(47, 62, 43, 0.08), 0 4px 6px -2px rgba(47, 62, 43, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(47, 62, 43, 0.12), 0 10px 10px -5px rgba(47, 62, 43, 0.06);
    --shadow-hover: 0 25px 35px -5px rgba(47, 62, 43, 0.18);
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* Common Layout Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.text-center { text-align: center; }
.text-light { color: var(--text-light) !important; }
.text-accent-blue { color: var(--color-accent-blue); }
.text-accent-yellow { color: var(--color-accent-yellow); }
.highlight { color: var(--color-secondary); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--border-radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 14px rgba(72, 105, 64, 0.3);
}

.btn-primary:hover {
    background-color: #3b5634;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 105, 64, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 97, 53, 0.3);
}

/* -------------------------------------------------------------
   HEADER / NAVBAR
   ------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background-color: rgba(239, 236, 225, 0.85); /* Semitransparent Tela Grezza */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(47, 62, 43, 0.08);
    transition: padding var(--transition-fast), background-color var(--transition-fast);
}

.main-header.scrolled {
    padding: 0.8rem 0;
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* Desktop Nav */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.main-nav a {
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    padding: 0.3rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width var(--transition-medium);
}

.main-nav a:hover {
    color: var(--color-secondary);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav .nav-cta {
    background-color: var(--color-primary);
    color: var(--bg-primary) !important;
    padding: 0.6rem 1.4rem;
    border-radius: var(--border-radius-full);
}

.main-nav .nav-cta::after {
    display: none;
}

.main-nav .nav-cta:hover {
    background-color: var(--color-secondary);
    transform: scale(1.05);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-medium);
}

/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 7rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: var(--border-radius-full);
    filter: blur(80px);
    opacity: 0.15;
    animation: floatShape 12s infinite alternate ease-in-out;
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background-color: var(--color-accent-yellow);
    animation-delay: 0s;
}

.shape-2 {
    bottom: 10%;
    right: 15%;
    width: 400px;
    height: 400px;
    background-color: var(--color-accent-blue);
    animation-delay: 3s;
}

.shape-3 {
    top: 40%;
    left: 50%;
    width: 250px;
    height: 250px;
    background-color: var(--color-secondary);
    animation-delay: 6s;
}

@keyframes floatShape {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.1); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

.hero-logo {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin-bottom: 2rem;
}

.hero-title-logo {
    font-size: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.hero-mobile-header {
    display: none;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(72, 105, 64, 0.1);
    color: var(--color-primary);
    padding: 0.5rem 1.2rem;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    letter-spacing: -2px;
    line-height: 1.0;
    margin-bottom: 2rem;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Hero Visual Graphic */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; /* Organic liquid blob shape */
    overflow: hidden;
    border: 6px solid var(--color-accent-yellow);
    box-shadow: var(--shadow-lg);
    animation: liquidMorph 15s ease-in-out infinite alternate;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.12);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(211, 97, 53, 0.1) 0%, rgba(47, 62, 43, 0.1) 100%);
    pointer-events: none;
}

@keyframes liquidMorph {
    0% { border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; }
    50% { border-radius: 54% 46% 38% 62% / 49% 65% 35% 51%; }
    100% { border-radius: 42% 58% 68% 32% / 30% 32% 68% 70%; }
}

/* -------------------------------------------------------------
   ABOUT SECTION ("CHI SIAMO")
   ------------------------------------------------------------- */
.about-section {
    padding: 8rem 0;
    background-color: var(--white);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 3rem;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.section-lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--color-primary);
}

.about-body p {
    font-size: 1.05rem;
    color: var(--text-primary);
    opacity: 0.85;
    margin-bottom: 1.2rem;
}

/* -------------------------------------------------------------
   ACTIVITIES SECTION ("COSA FACCIAMO")
   ------------------------------------------------------------- */
.activities-section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-subtitle {
    font-size: 1.15rem;
    opacity: 0.85;
    margin-top: 1rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.activity-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    display: flex;
    flex-direction: column;
}

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

.activity-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.activity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.activity-card:hover .activity-img {
    transform: scale(1.08);
}

.activity-tag {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-orange { background-color: var(--color-secondary); }
.tag-blue { background-color: var(--color-accent-blue); color: var(--text-primary); }
.tag-yellow { background-color: var(--color-accent-yellow); color: var(--text-primary); }
.tag-green { background-color: var(--color-primary); }
.tag-purple { background-color: #6C5CE7; }
.tag-sociale { background-color: #B33939; }

a.activity-card.clickable-card {
    text-decoration: none;
    color: inherit;
}

.activity-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-secondary);
    transition: transform var(--transition-fast);
}

a.activity-card.clickable-card:hover .activity-more {
    transform: translateX(6px);
}

.activity-content {
    padding: 2rem;
    flex-grow: 1;
}

.activity-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.activity-content p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* -------------------------------------------------------------
   CONTACT SECTION ("FORM CONTATTI / IDEA BOX")
   ------------------------------------------------------------- */
.contact-section {
    padding: 8rem 0;
    background-color: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.contact-desc {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(239, 236, 225, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-yellow);
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.contact-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent-yellow);
}

.contact-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Form Card */
.contact-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

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

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    outline: none;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--color-secondary);
    background-color: var(--white);
}

.btn-submit {
    width: 100%;
    background-color: var(--color-secondary);
    color: var(--bg-primary);
    border: none;
    margin-top: 1rem;
    position: relative;
}

.btn-submit:hover {
    background-color: #c04e24;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 97, 53, 0.4);
}

/* Loader */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(239, 236, 225, 0.3);
    border-top: 3px solid var(--bg-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.hidden {
    display: none !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-message {
    margin-top: 1.2rem;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background-color: rgba(72, 105, 64, 0.15);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.form-message.error {
    background-color: rgba(211, 97, 53, 0.15);
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
.main-footer {
    background-color: var(--text-primary);
    color: var(--text-light);
    padding: 5rem 0 2rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-container {
    margin-bottom: 1.5rem;
}

.footer-brand .logo-img {
    border-color: var(--color-accent-yellow);
}

.footer-desc {
    opacity: 0.7;
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links h4,
.footer-social h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

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

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

.footer-links a {
    opacity: 0.7;
    font-weight: 500;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent-yellow);
    padding-left: 5px;
}

.footer-links a {
    transition: all var(--transition-fast);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(239, 236, 225, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
    color: var(--text-light);
}

.social-icons a:hover {
    background-color: var(--color-accent-yellow);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(239, 236, 225, 0.1);
    padding-top: 2rem;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* -------------------------------------------------------------
   ANIMATIONS & SCROLL REVEAL
   ------------------------------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   ------------------------------------------------------------- */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .hero-mobile-header {
        display: block;
        text-align: center;
        width: 100%;
        margin-bottom: 2.5rem;
    }
    
    .hero-logo-mobile {
        width: 100%;
        max-width: 450px;
        height: auto;
        display: block;
        margin: 0.5rem auto 0 auto;
    }
    
    .hero-desktop-only {
        display: none !important;
    }
    
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
        padding-top: 2rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1; /* Place image on top on tablet */
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.0rem;
    }
    
    .main-header {
        padding: 1rem 0;
    }
    
    /* Mobile Navigation menu */
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-primary);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        padding: 6rem 2rem 2rem 2rem;
        transition: transform var(--transition-medium);
        border-left: 2px solid var(--color-primary);
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .main-nav a {
        font-size: 1.2rem;
    }
    
    /* Toggle active state */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-section {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
    
    .about-section, 
    .activities-section, 
    .contact-section {
        padding: 5rem 0;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .project-title {
        font-size: 1.8rem;
    }
    
    .callout-content h2 {
        font-size: 1.35rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

/* -------------------------------------------------------------
   DETAIL PAGE: INCLUSIONE SOCIALE / SALVADANAIO SOCIALE
   ------------------------------------------------------------- */
.project-hero {
    padding: 10rem 0 6rem 0;
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-color: rgba(139, 195, 230, 0.15); /* Soft accent blue blob */
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
}

.project-hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.project-info {
    max-width: 650px;
    width: 100%;
    min-width: 0;
}

.project-badge {
    display: inline-block;
    background-color: rgba(179, 57, 57, 0.1);
    color: #B33939;
    padding: 0.5rem 1.2rem;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.project-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.project-visual {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    min-width: 0;
}

.project-visual img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--color-accent-yellow);
    display: block;
}

/* Steps Grid */
.steps-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.step-card {
    background-color: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(47, 62, 43, 0.05);
}

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

.step-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    display: block;
}

.step-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-primary);
    opacity: 0.85;
}

/* Callout Section */
.callout-section {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.callout-card {
    background-color: var(--color-primary);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.callout-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--bg-primary);
    line-height: 1.2;
}

.callout-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.callout-content {
    min-width: 0;
    width: 100%;
}

.callout-actions {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    width: 100%;
}

.callout-actions .btn-white {
    background-color: var(--white);
    color: var(--color-primary);
}

.callout-actions .btn-white:hover {
    background-color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Responsive adjustments for project page */
@media (max-width: 992px) {
    .project-hero-container {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
        gap: 3rem;
    }
    
    .project-hero {
        padding-top: 8rem;
    }
    
    .project-info {
        margin: 0 auto;
    }
    
    .project-title {
        font-size: 2.6rem;
    }
    
    .project-hero-container .hero-actions {
        justify-content: center;
    }
    
    .callout-card {
        grid-template-columns: minmax(0, 1fr);
        padding: 2.5rem 1.5rem;
        text-align: center;
    }
    
    .callout-content h2 {
        font-size: 1.8rem;
    }
    
    .callout-actions {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .project-title {
        font-size: 2.1rem;
    }
    
    .callout-content h2 {
        font-size: 1.5rem;
    }
    
    .callout-actions .btn {
        width: 100%;
        text-align: center;
    }
}
