/* Global Styles */
:root {
    --edos-blue: #00b2e3;
    --edos-light-blue: #8ddff2;
    --footer-blue: #8ddff2;
    --white: #ffffff;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
header {
    width: 100%;
}

.header-container {
    display: flex;
    flex-direction: column;
}

.logo-section {
    background-color: var(--white);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    max-height: 60px;
    width: auto;
}

.contact-section {
    background-color: var(--edos-light-blue);
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-icon {
    background-color: var(--white);
    border-radius: 50%;
    padding: 0.5rem;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.contact-icon i {
    color: var(--edos-light-blue);
}

.contact-text {
    color: var(--white);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    background-image: url('../images/hero-image.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.5); /* Lighter overlay - white with 50% opacity */
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 0 1rem;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--black); /* Changed to black for better contrast with lighter background */
    line-height: 1.2;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8); /* Added text shadow for better readability */
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--edos-blue);
    max-width: 800px;
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 1), 
                 0px 0px 12px rgba(255, 255, 255, 1), 
                 0px 0px 16px rgba(255, 255, 255, 0.8); /* Enhanced white shadow for better visibility */
    font-weight: 500; /* Slightly bolder to help with readability */
    line-height: 1.5; /* Improved line height for better readability */
    padding: 0.5rem 1rem; /* Added some padding */
    background-color: rgba(255, 255, 255, 0.3); /* Very subtle white background */
    border-radius: 4px; /* Rounded corners */
}

/* About Section */
.about-section {
    padding: 2rem 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    font-size: 0.875rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    height: auto;
}

/* Footer */
.footer {
    background-color: var(--footer-blue);
    padding: 2rem 0;
}

.footer-image-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-image-container img {
    width: 100%;
    max-height: 200px; /* Fixed height to maintain consistent size */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    border-radius: 0.5rem;
}

.company-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for better readability */
    border-radius: 0 0 0.5rem 0.5rem; /* Match the bottom corners of the image */
}

.company-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.company-address {
    margin-bottom: 0.25rem;
}

.company-abn {
    font-size: 0.9rem;
}

/* Media Queries */
@media (min-width: 768px) {
    .header-container {
        flex-direction: row;
    }

    .logo-section {
        width: 25%;
    }

    .contact-section {
        width: 75%;
    }

    .hero-section {
        height: 600px;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
    }

    .about-text p {
        font-size: 1rem;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .company-address, .company-abn {
        font-size: 1rem;
    }
}