/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a73cc;
    padding: 10px 50px;
    color: white;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-left img {
    height: 60px;
    margin-right: 10px;
}

/* Header Title */
.header-left h1 {
    font-size: 2.2rem;
    margin: 0;
}

.header-right h2 {
    margin: 0;
    font-size: 1.75rem;
    font-style: italic;
    text-align: right;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

/* Hero Section */
.hero {
    background-image: url('vans.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #ADD8E6;
    position: relative;
}

/* Services Section */
.services {
    padding: 80px 50px;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.service {
    margin-bottom: 80px;
    color: white;
    padding: 80px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

/* Overlay to improve text readability */
.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
    border-radius: 10px;
}

/* Form Styles */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 10px;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

form input, form select, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

form button {
    padding: 10px 20px;
    background-color: #1a73cc;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

/* Footer */
.footer {
    background-color: #1a73cc;
    color: white;
    padding: 50px;
    text-align: center;
}

.footer h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

/* La Nostra Storia Section */
.founders-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Fullscreen height for all devices */
    overflow: hidden;
}

.founders-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the entire section without distortion */
}

/* Text overlay above the image */
.founders-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 51, 0.7);
    border-radius: 10px;
    max-width: 90%;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .founders-section {
        height: 100vh; /* Ensure the section still takes the full screen height */
    }

    .founders-text {
        width: 100%;
        font-size: 0.9rem;
        padding: 10px;
    }

    .founders-text h1 {
        font-size: 1.4rem;
    }

    .founders-text p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Further adjustments for ultra small screens */
@media (max-width: 400px) {
    .founders-text h1 {
        font-size: 1.2rem;
    }

    .founders-text p {
        font-size: 0.75rem;
    }
}
