/* Giro Fácil Landing Page Styles */

:root {
    --primary-blue: #0b2649;
    --logo-blue: #1b4b8f;
    --accent-orange: #f59e1c;
    --text-white: #ffffff;
    --bg-overlay: rgba(11, 38, 73, 0.4);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
    background-color: #000;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Image with Blur and Gradient Overlay */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/car_driving_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    filter: blur(4px);
    transform: scale(1.1); /* Prevents blurred edges from showing background color */
}

/* Add a dark gradient on top of the background image to ensure text is readable */
.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(11, 38, 73, 0.9) 0%,
        rgba(11, 38, 73, 0.6) 30%,
        rgba(11, 38, 73, 0.3) 60%,
        rgba(11, 38, 73, 0.95) 100%
    );
    z-index: -1;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

/* Header & Logo */
.header {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.logo {
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -1px;
    text-transform: uppercase;
    display: inline-block;
}

.logo-giro {
    color: var(--text-white);
}

.logo-facil {
    color: var(--accent-orange);
}

.logo-underline {
    width: 100%;
    max-width: 400px;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--text-white), transparent);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Main Content Typography */
.main-content {
    text-align: center;
    width: 100%;
    margin-top: 2vh;
}

.headline {
    font-size: 4rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.subheadline {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.highlight-orange {
    color: var(--accent-orange);
}

.highlight-white {
    color: var(--text-white);
}

/* Offer Box */
.offer-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.offer-top-line, .offer-bottom-line {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.offer-top-line .line, .offer-bottom-line .line {
    flex: 1;
    height: 2px;
    background-color: var(--text-white);
    opacity: 0.7;
}

.offer-top-line .text, .offer-bottom-line .text {
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: var(--text-white);
    white-space: nowrap;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.offer-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--accent-orange);
    line-height: 1;
    margin: 0.5rem 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.currency {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 1rem;
    margin-right: 0.3rem;
}

.value {
    font-size: 8rem;
    font-weight: 900;
    letter-spacing: -3px;
}

/* WhatsApp Button */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: transparent;
    transition: transform 0.3s ease;
    gap: 15px;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.whatsapp-button:hover {
    transform: scale(1.05);
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.wa-label {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 400;
}

.wa-number {
    color: var(--text-white);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.wa-sub {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header, .headline, .subheadline, .offer-box, .whatsapp-button {
    animation: fadeInSlideUp 0.8s ease-out forwards;
    opacity: 0;
}

.headline { animation-delay: 0.2s; }
.subheadline { animation-delay: 0.4s; }
.offer-box { animation-delay: 0.6s; }
.whatsapp-button { animation-delay: 0.8s; }

/* Responsive Design */
@media (max-width: 768px) {
    .headline {
        font-size: 3rem;
    }
    
    .value {
        font-size: 6rem;
    }
    
    .currency {
        font-size: 2rem;
        margin-top: 0.7rem;
    }
    
    .wa-number {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.2rem;
    }

    .headline {
        font-size: 2.5rem;
    }

    .subheadline {
        font-size: 1.1rem;
    }

    .offer-top-line .text, .offer-bottom-line .text {
        font-size: 1.2rem;
    }

    .value {
        font-size: 5rem;
    }
    
    .currency {
        font-size: 1.6rem;
        margin-top: 0.6rem;
    }
    
    .whatsapp-icon {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .wa-label {
        font-size: 0.9rem;
    }
    
    .wa-number {
        font-size: 1.3rem;
    }
    
    .wa-sub {
        font-size: 0.8rem;
    }
}
