/* ================== Slogan with Photo Styles ==================== */

.slogan {
    height: 100vh;
    min-height: 600px;
    width: 100%;
    padding: var(--space-xl) var(--space-md);
    background: linear-gradient(
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.2)
    ), url('assets/slogan-bg.jpeg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: var(--text-light);
}

.slogan-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--space-md);
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.slogan-text {
    font-size: clamp(1.125rem, 2.5vw, 1.75rem);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}
/* CTA Button Styles */
.cta-button {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: bold;
    border-radius: 4px;
    transition: var(--transition-normal);
    margin-top: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}
/* Tablets (≤1024px) */
@media (max-width: 1024px) {
    .slogan {
        min-height: 500px;
        padding: var(--space-lg) var(--space-md);
    }

    .slogan-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .slogan-text {
        font-size: clamp(1rem, 2vw, 1.5rem);
        max-width: 600px;
        margin-bottom: var(--space-md);
    }

    .cta-button {
        font-size: 1rem;
        padding: var(--space-sm) var(--space-lg);
    }
}

/* Phones and Small Tablets (≤768px) */
@media (max-width: 768px) {
    .slogan {
        min-height: 400px;
        padding: var(--space-xl) var(--space-sm) var(--space-sm);
        background: linear-gradient(
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.2)
        ), url('assets/b1-front.jpg') center/cover no-repeat;
        justify-content: flex-start;
    }

    .slogan-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-top: var(--space-lg); /* pushes title slightly down from the top */
    }

    .slogan-text {
        font-size: 1rem;
        max-width: 90%;
        margin-bottom: var(--space-sm);
    }

    .cta-button {
        font-size: 0.9rem;
        padding: var(--space-xs) var(--space-md);
        width: 80%;
        max-width: 280px;
        text-align: center;
    }
}


/* Phones (≤480px) */
@media (max-width: 480px) {
    .slogan {
        min-height: 320px;
        padding: var(--space-sm) var(--space-xs);
    }

    .slogan-title {
        font-size: 1.8rem;
    }

    .slogan-text {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .cta-button {
        width: 100%;
        font-size: 0.85rem;
        padding: var(--space-xs) var(--space-sm);
    }
}
/* MOVING TITLE */
.slogan-title {
    /* ... existing styles ... */
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
