/* --- GLOBAL STYLES --- */
@font-face {
  font-family: 'Hyundai Sans';
  src: url('hyundai-sans-head-office-medium.woff2') format('woff2'),
       url('hyundai-sans-head-office-medium.woff') format('woff'),
       url('hyundai-sans-head-office-medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Apply Hyundai Sans to everything */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Hyundai Sans', Arial, sans-serif;
    color: #ffffff;
    background-image: url("Luddenham.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Ensure page content pushes footer down */
main {
    flex: 1;
    position: relative;
    z-index: 1;
}

/* Slight dark overlay on background */
.page-overlay { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.45); 
    z-index: 0;
}

/* --- NAVIGATION BAR --- */
nav {
    background: #000;
    padding: 14px 0;
    border-bottom: 3px solid #c20000;
    position: sticky;
    top: 0;
    z-index: 2;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav a {
    color: white;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

nav a:hover {
    color: #c20000;
}

/* --- HEADER --- */
.hero {
    text-align: center;
    padding: 30px 0;
}

.logo {
    max-width: 550px;
    width: 85%;
}

/* --- PAGE CONTENT --- */
.section {
    max-width: 1500px;
    margin: 60px auto;
    padding: 0 25px;
    text-align: center;
}

.section h1 {
    color: #c20000;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 48px;
    letter-spacing: 2px;
    font-family: 'Hyundai Sans', sans-serif;
    font-weight: bold;
}

.section p {
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 22px; 
    color: #f2f2f2;
    font-family: 'Hyundai Sans', sans-serif;
}

/* --- CUSTOM SIZE for the Services Intro Paragraph --- */
.section.services-intro p { 
    font-size: 30px;         
    font-weight: 400;
    line-height: 1.8;
    text-align: center;
    max-width: 1325px;
    margin: 0 auto 5px;
}

/* --- ABOUT PAGE TEXT --- */
.about-text p {
    text-align: justify;
    font-size: 28px;
    line-height: 1.8;
    font-family: 'Hyundai Sans', sans-serif;
}

/* --- CONTACT FORM --- */
.contact-section {
    max-width: 800px;
    margin: 170px auto;
    padding: 30px;
    background: rgba(0,0,0,0.7);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Hyundai Sans', sans-serif;
}

.input-row {
    display: flex;
    gap: 20px;
}

.input-group {
    flex: 1;
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #bbb;
    color: #000;
    box-sizing: border-box;
    font-family: 'Hyundai Sans', sans-serif;
}

textarea {
    height: 120px;
    resize: vertical;
}

form {
    width: 100%;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 12px;
    box-sizing: border-box;
    background: linear-gradient(90deg, #c20000, #7a0000);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
    font-family: 'Hyundai Sans', sans-serif;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #e00000, #a00000);
}

/* --- SERVICE LIST --- */
.service-list {
    display: inline-block;
    text-align: left;
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 25px;
    margin: 10px auto 0;
    font-size: 34px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.7;
    font-family: 'Hyundai Sans', sans-serif;
}

.service-list li::marker {
    color: #c20000;
}

.service-list li:hover {
    color: #c20000;
    transform: translateX(6px);
    transition: color 0.3s ease, transform 0.3s ease;
}

/* --- HAIL TEAM NOTE --- */
.hail-note {
    max-width: 1000px;
    margin: 40px auto 0;
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    text-align: center;
    color: #ddd;
    font-family: 'Hyundai Sans', sans-serif;
}

/* --- FADE-IN SCROLL ANIMATIONS --- */
.fade {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s ease-out;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 700px) {
    .service-list {
        text-align: center;
        align-items: center;
    }

    .service-list li {
        justify-content: center;
    }
}

footer {
    position: fixed;              
    bottom: 0;                     
    left: 0;
    width: 100%;                  
    height: 3px;                   
    background-color: #c20000;     
    z-index: 9999;                
}

.business-info {
    margin-top: 40px;
    text-align: center;
    font-size: 20px;
    line-height: 1.8;
    color: #f2f2f2;
    font-family: 'Hyundai Sans', sans-serif;
}

.contact-section {
    position: relative; /* Needed for absolute positioning inside */
    max-width: 800px;
    margin: 170px auto;
    padding: 40px;
    background: rgba(0,0,0,0.7);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Hyundai Sans', sans-serif;
}

.business-info {
    position: absolute;
    top: -18px;
    right: 30px;
    text-align: right;
    font-size: 16px;
    line-height: 1.6;
    color: #f2f2f2;
    font-family: 'Hyundai Sans', sans-serif;
}

.business-info p {
    margin: 2px 0;
}
