/* ======================================= */
/* Base Styles */
/* ======================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f0f0;
    color: #000;
    width: 100%;
}

h1, h2, h3 {
    font-family: 'Times New Roman', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ======================================= */
/* Banner */
/* ======================================= */
.top-banner {
    width: 100%;
}

.top-banner img {
    width: 100%;
    display: block;
}

/* ======================================= */
/* Header */
/* ======================================= */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    color: white;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    letter-spacing: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

nav a {
    font-size: 14px;
    opacity: 0.85;
    font-weight: 550;
}

nav a:hover {
    opacity: 0.5;
}

.menu-logo img {
    width: 24px;
    height: 24px;
}

/* ======================================= */
/* Container for centering content */
/* ======================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================================= */
/* Velloceri Section */
/* ======================================= */
.velloceri-section {
    background-color: black;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.velloceri-section .description {
    max-width: 600px;
    margin: 10px auto;
    font-size: 15px;
    line-height: 1.4;
}

.ferrari-image img {
    width: 60%;
    max-width: 600px;
    margin-bottom: 30px;
    margin-top: 20px;
}

.image-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.image-gallery img {
    width: 200px;
    height: auto;
    border-radius: 5px;
}

.snow-car-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
}

.snow-car-image img {
    width: 80%;
    max-width: 500px;
}

.snow-car-text {
    max-width: 400px;
    text-align: left;
}

.snow-car-text .quote {
    font-size: 16px;
    line-height: 1.5;
    font-style: italic;
}

/* Quote general styling */
.quote {
    font-style: italic;
    font-size: 16px;
    margin-top: 20px;
}

/* ======================================= */
/* Kiiq Section */
/* ======================================= */
.kiiq-section {
    background-color: #f0f0f0;
    font-family: 'Inter', sans-serif;
    padding: 80px 0;
    text-align: center;
}

.kiiq-section h1 img {
    max-width: 200px;
    margin-bottom: 10px;
}

.quote {
    margin-top: 3px;
}

.founder-image {
    margin: 40px 0;
}

.founder-image img {
    display: block;
    margin: 0 auto;
}

.founder-caption {
    margin-top: 15px;
    font-weight: bold;
    font-size: 16px;
}

/* Services */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    gap: 40px;
    margin-top: 50px;
}

.service-item {
    width: 280px;
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.service-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.service-item p {
    font-size: 14px;
    line-height: 1.5;
}

.go-to-kiiq {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.go-to-kiiq:hover {
    background-color: black;
}

/* ======================================= */
/* Footer */
/* ======================================= */
footer {
    text-align: center;
    padding: 50px 20px;
    background-color: black;
    color: white;
}

.footer-links a {
    margin: 0 10px;
    font-size: 12px;
    opacity: 0.8;
    font-weight: 550;
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.footer-logos img {
    width: 24px;
    height: 24px;
}

/* ======================================= */
/* Responsive */
@media (max-width: 992px) {
    .snow-car-section {
        flex-direction: column;
    }

    .snow-car-text {
        text-align: center;
    }

    .services {
        gap: 20px;
    }

    .service-item {
        width: 80%;
    }
}



/* Fade-in animation */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Apply to sections */
.velloceri-section, .kiiq-section {
    animation: fadeIn 1s ease forwards;
}


/* Zoom effect for gallery & service images */
.image-gallery img,
.ferrari-image img,
.snow-car-image img,
.service-item img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery img:hover,
.ferrari-image img:hover,
.snow-car-image img:hover,
.service-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}


/* Slide-in animation for services */
@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

.service-item:nth-child(1) { animation: slideInLeft 0.6s ease forwards; }
.service-item:nth-child(2) { animation: slideInLeft 0.8s ease forwards; }
.service-item:nth-child(3) { animation: slideInLeft 1s ease forwards; }


.quote {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeQuote 1s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fadeQuote {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ================= MOBILE RESPONSIVE (up to 430px width) ================= */
@media (max-width: 430px) {

    /* Header */
    header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px 10px;
    }
    .logo-text {
        display: none;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    nav a {
        font-size: 12px;
        margin-left: 0;
    }

    .menu-logo img {
        width: 16px;
        height: 16px;
    }

    /* Banner */
    .top-banner img {
        width: 100%;
        height: auto;
    }

    /* Velloceri Section */
    .velloceri-section {
        padding: 40px 15px;
    }

    .velloceri-section .description {
        font-size: 14px;
    }

    .ferrari-image img {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .image-gallery {
        flex-direction: column;
        gap: 15px;
    }

    .image-gallery img {
        width: 100%;
        max-width: 100%;
    }

    .snow-car-section {
        flex-direction: column;
        gap: 20px;
    }

    .snow-car-image img {
        width: 100%;
        max-width: 100%;
    }

    .snow-car-text {
        text-align: center;
        max-width: 100%;
    }

    /* Kiiq Section */
    .kiiq-section {
        padding: 40px 15px;
    }

    .kiiq-section h1 img {
        max-width: 150px;
    }

    .founder-image img {
        width: 100%;
        max-width: 100%;
    }

    .founder-caption {
        font-size: 14px;
    }

    /* Services */
    .services {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    .service-item {
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }

    .service-item img {
        width: 60px;
        height: auto;
        margin-bottom: 10px;
    }

    .service-item h3 {
        font-size: 16px;
    }

    .service-item p {
        font-size: 13px;
    }

    .go-to-kiiq {
        padding: 8px 16px;
        font-size: 14px;
    }

    /* Footer */
    footer {
        padding: 30px 10px;
    }

    .footer-links a {
        font-size: 11px;
        margin: 0 5px;
    }

    .footer-logos img {
        width: 20px;
        height: 20px;
    }

    /* Quotes */
    .quote {
        font-size: 14px;
    }
}

/* Slightly larger phones (up to 600px) */
@media (max-width: 600px) {
    .velloceri-section,
    .kiiq-section {
        padding: 50px 20px;
    }

    .image-gallery {
        flex-direction: column;
        gap: 20px;
    }

    .services {
        flex-direction: column;
        gap: 20px;
    }

    .service-item {
        width: 100%;
    }

    .founder-image img {
        width: 100%;
    }

    .snow-car-text {
        text-align: center;
    }
}
