/* Modern CSS Reset & Variables */
:root {
    --primary-color: #243B55;
    --secondary-color: #4C4F81;
    --text-color: #ffffff;
    --font-heading: 'Lexend', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-image: linear-gradient(rgba(36, 59, 85, 0.85), rgba(76, 79, 129, 0.85)), url('../img/pacciolla.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.payoff {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.info-text {
    font-size: 1.1rem;
    font-weight: 400;
}

.social-icon {
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: var(--secondary-color);
}

footer {
    width: 100%;
    font-size: 0.7rem;
    color: #ffffff;
    opacity: 0.9;
    padding: 1rem 0;
}

footer p {
    color: #ffffff;
    font-size: 0.7rem;
    margin: 0;
    opacity: 1;
    animation: none;
}

p {
    font-size: 1.25rem;
    color: var(--secondary-color);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.logo-main {
    max-height: 220px;
    filter: brightness(0) invert(1);
    width: auto;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Interactive Elements */
.container {
    padding: 2rem;
    text-align: center;
}

.cta-button {
    /* Overriding Bootstrap btn styles where necessary */
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-color);
    background-color: var(--accent-color);
    border: none;
    border-radius: 50px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), background-color var(--transition-speed);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.cta-button:hover,
.cta-button:focus,
.cta-button:active {
    background-color: #0ea5e9;
    /* Slightly darker shade of accent */
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(56, 189, 248, 0.5);
}