@charset "UTF-8";

/* 1. The Hero Wrapper */
.hero-section {
    position: relative;
    min-height: 100vh; /* Ensures image fills the full screen height */
    width: 100%;
    display: flex;
    flex-direction: column;
    
    /* BACKGROUND IMAGE SETTINGS */
    /* Note: ../ moves out of your 'style' folder and into 'images' */
    background-image: url('../images/background.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect: image stays still while scrolling */
}

/* 2. The 75% Opacity Tint */
/* This creates a "layer" over the image so it doesn't drown out the form */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75); /* White tint at 75% opacity */
    z-index: 1;
}

/* 3. Keeping Content Visible */
/* This pushes your header and form "in front" of the faded image */
header, 
main {
    position: relative;
    z-index: 2;
}

/* 4. Your Styling Requirements */
h1 {
    font-family: 'Playfair Display', serif; /* Serif font */
    color: #FFFFFF;                         /* Blue text */
    background-color: #0047AB;             /* Orange background */
    margin: 0;
    padding: 40px 0;
}

legend {
    font-family: 'Playfair Display', serif;
    color: #0047AB !important;
    background-color: #FF8C00 !important;
    padding: 5px 15px;
    border-radius: 4px;
}

.btn-primary {
    background-color: #0047AB !important;
    border-color: #FFFFFF !important;
}

.custom-legend {
    font-family: 'Playfair Display', serif; /* Your Serif font */
    background-color: #0047AB !important;    /* Dark Blue */
    color: #FFFFFF !important;               /* White text */
    border-radius: 50px;                     /* Pill-shaped look */
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid #002D62;
    /* Adjusting position to sit neatly on the border */
    float: none; 
    margin-bottom: 20px;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.75); /* 75% opacity white tint */
    z-index: 1;
}

header, main {
    position: relative;
    z-index: 2;
}