/*
 * CormackCoreWeb 2.0 - Custom Stylesheet
 * Forge M6 - Additional Styles
 * Author: Charlie - Cormack Advertising
 */

/* ========================================
   Location Card Section
   ======================================== */
.section-location-card {
    background: var(--color-white);
    padding: 60px 0;
}

.section-location-card .hero-card {
    margin-top: 0;
}

/* ========================================
   Scroll Animations
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.spec-item.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.spec-item.animate-on-scroll:nth-child(2) { transition-delay: 0.05s; }
.spec-item.animate-on-scroll:nth-child(3) { transition-delay: 0.1s; }
.spec-item.animate-on-scroll:nth-child(4) { transition-delay: 0.15s; }
.spec-item.animate-on-scroll:nth-child(5) { transition-delay: 0.2s; }
.spec-item.animate-on-scroll:nth-child(6) { transition-delay: 0.25s; }
.spec-item.animate-on-scroll:nth-child(7) { transition-delay: 0.3s; }
.spec-item.animate-on-scroll:nth-child(8) { transition-delay: 0.35s; }
.spec-item.animate-on-scroll:nth-child(9) { transition-delay: 0.4s; }
.spec-item.animate-on-scroll:nth-child(10) { transition-delay: 0.45s; }
.spec-item.animate-on-scroll:nth-child(11) { transition-delay: 0.5s; }
.spec-item.animate-on-scroll:nth-child(12) { transition-delay: 0.55s; }

.demo-card.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.demo-card.animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.demo-card.animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.demo-card.animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.demo-card.animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
.demo-card.animate-on-scroll:nth-child(6) { transition-delay: 0.4s; }

.esg-card.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.esg-card.animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.esg-card.animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.esg-card.animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.esg-card.animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
.esg-card.animate-on-scroll:nth-child(6) { transition-delay: 0.4s; }
.esg-card.animate-on-scroll:nth-child(7) { transition-delay: 0.48s; }
.esg-card.animate-on-scroll:nth-child(8) { transition-delay: 0.56s; }

/* ========================================
   Brochure Banner Styles (legacy)
   ======================================== */
.brochure-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.brochure-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.brochure-banner-label {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-right: 10px;
}

.brochure-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.brochure-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.brochure-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brochure-link svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .brochure-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .brochure-banner-label {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .brochure-links {
        justify-content: center;
    }

    .brochure-link {
        font-size: 13px;
        padding: 6px 12px;
    }
}
