/*
Theme Name: JAG
Template: basic-theme
Version: 2021.11
Author: FastDev
Author URI: https://www.fastdev.com/en/
*/


/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* REPLACE THE URL BELOW with the File URL you copied from your WordPress Media Library */
    background-image: url('https://vivillbidra.se/wp-content/uploads/2026/09/vivillbidra-background.jpg'); 
    background-size: cover;
    background-position: center top; /* Focuses on faces */
    background-repeat: no-repeat;
    padding: 60px 20px;
    font-family: 'Roboto', sans-serif;
}

/* Dark overlay - INCREASED OPACITY (0.7) because your background image is dark and busy */
.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 1;
}

.hero-section .content-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    text-align: center;
    color: white;
}

/* --- LOGO --- */
.logo-area {
    margin-bottom: 30px;
    display: inline-block;
}

.logo-small {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: -5px;
    font-family: sans-serif;
}

.logo-large {
    font-family: Georgia, serif;
    font-size: 52px;
    font-weight: 700;
    color: #D32F2F; 
    line-height: 1;
}

/* --- TYPOGRAPHY --- */
.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Adds shadow for readability */
}

.sub-text {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* --- PROGRESS BAR --- */
.progress-wrapper {
    margin-bottom: 35px;
    text-align: left;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 500;
}

.progress-bar-bg {
    width: 100%;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: #F5F5DC;
    border-radius: 6px;
}

/* --- FORM STYLING (Matches CF7 output) --- */
.custom-cf7-form,
.cf7-custom-wrapper {
    text-align: left;
}

.form-row, .cf7-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.field-group, .cf7-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.field-group label,
.cf7-col label {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 500;
    color: #fff;
}

.field-group input,
.cf7-col input[type="text"],
.cf7-col input[type="email"],
.cf7-col input[type="tel"] {
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 0;
    outline: none;
    width: 100%;
    height: 48px;
    background-color: #ffffff;
    color: #333;
}

.submit-btn,
.cf7-submit-wrapper input[type="submit"] {
    width: 100%;
    background-color: #C62828;
    color: white;
    font-size: 20px;
    padding: 15px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 500;
    transition: background 0.3s;
}

.submit-btn:hover,
.cf7-submit-wrapper input[type="submit"]:hover {
    background-color: #b71c1c;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .form-row, .cf7-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-large {
        font-size: 40px;
    }

    .hero-section {
        padding: 40px 15px;
    }
}