﻿/* --- Global Styles & Variables --- */
:root {
    --brand-blue: #003366;
    --brand-blue-darker: #002244;
    --text-dark: #121212;
    --text-light: #FFFFFF;
    --text-light-soft: #f0f0f0; /* Made this brighter for legibility */
    --background-light: #FFFFFF;
    --background-alt: #f7f7f7;
    --font-primary: 'Ubuntu', sans-serif;
    --font-secondary: 'Lora', serif;
}




* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}




html {
    scroll-behavior: smooth;
}




body {
    font-family: var(--font-secondary);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--background-light);
}




.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}




h1, h2 {
    font-family: var(--font-primary);
    font-weight: 500;
    line-height: 1.3;
}




h1 {
    font-size: 52px; /* Slightly larger font size */
    color: var(--text-light);
    white-space: nowrap; /* Keeps it on one line on desktop */
}




.mobile-break {
    display: none; /* Hide the line break on desktop */
}




h2 {
    font-size: 36px;
    margin-bottom: 20px;
}




p {
    margin-bottom: 20px;
}




p:last-child {
    margin-bottom: 0;
}




/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('assets/hero-background.webp'); /* <<< THIS IS THE ONLY CHANGE */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--text-light);
}




.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}




@supports not (backdrop-filter: blur(2px)) {
    .hero-overlay {
        background-color: rgba(0, 0, 0, 0.65);
    }
}




.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}




.hero-text {
    max-width: 55%; /* Gave it a little more space */
}




.strapline {
    font-family: var(--font-secondary);
    font-style: italic;
    font-weight: 700; /* Bolder for legibility */
    font-size: 22px;
    color: var(--text-light-soft); /* Brighter color */
    margin-top: 15px;
}




.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}




.cta-button {
    display: none; /* Hidden on desktop by default */
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background-color: var(--brand-blue);
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--brand-blue);
    transition: background-color 0.3s, color 0.3s;
}




.cta-button:hover {
    background-color: var(--text-light);
    color: var(--brand-blue);
}




.cta-button:hover .whatsapp-icon {
    fill: var(--brand-blue);
}




.whatsapp-icon {
    width: 20px;
    height: 20px;
    fill: var(--text-light);
    transition: fill 0.3s;
}




.qr-code-wrapper {
    max-width: 180px; /* Adjusted size */
}




.qr-code {
    width: 100%;
    height: auto;
    border-radius: 8px;
}




/* --- Content Sections --- */
.content-section {
    padding: 80px 0;
    overflow: hidden; /* For full-bleed background */
}




.content-section.alt {
    background-color: var(--background-alt);
}




.section-container {
    display: flex;
    align-items: center;
    gap: 60px;
}




.section-image {
    flex: 1;
    max-width: 45%;
}




.section-image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4 / 3; /* Magic line for consistent shape */
}




.section-image.logo-container img {
    object-fit: contain; /* Prevents logo from stretching */
    padding: 20px; /* Gives logo breathing room */
}




.section-text {
    flex: 1;
}




.content-section.alt .section-container {
    flex-direction: row-reverse;
}




/* --- Final CTA & Footer --- */
.final-cta {
    background-color: var(--brand-blue);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}




.final-cta h2 {
    color: var(--text-light);
    font-size: 40px;
}




.final-button {
    display: inline-flex; /* Make sure it's visible */
    margin-top: 30px;
    background-color: var(--text-light);
    color: var(--brand-blue);
    border-color: var(--text-light);
}




.final-button .whatsapp-icon {
    fill: var(--brand-blue);
}




.final-button:hover {
    background-color: transparent;
    color: var(--text-light);
}




.final-button:hover .whatsapp-icon {
    fill: var(--text-light);
}




.site-footer {
    background-color: var(--brand-blue-darker);
    color: var(--text-light-soft);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}




/* --- Responsive Design --- */
@media (max-width: 900px) {
    h1 {
        white-space: normal; /* Allow wrapping on mobile */
    }
    .mobile-break {
        display: block; /* Show the line break on mobile */
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .hero-text {
        max-width: 100%;
        margin-bottom: 60px;
    }
    .cta-button {
        display: inline-flex; /* Show button on mobile */
    }
    .qr-code-wrapper {
        display: none; /* Hide QR code on mobile */
    }
    .section-container {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
    }
    .section-image {
        max-width: 100%; /* Allow image to be wider */
        padding: 0; /* Remove padding for full-width feel */
    }
    .container {
        padding: 0 30px; /* Adjust main container padding */
    }
}




@media (max-width: 768px) {
    .hero {
        background-position: 25% 25%; /* Shift focus up and left */
    }
    .content-section {
        padding: 60px 0;
    }
    .section-image {
        width: 100vw; /* Make image full screen width */
        margin-left: -30px; /* Pull it left to break out of container */
        margin-right: -30px; /* Pull it right */
        border-radius: 0; /* Remove radius for full-bleed */
        max-width: none; /* Override max-width */
    }
    .section-image img {
        border-radius: 0;
    }
}




@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 28px;
    }
    .strapline {
        font-size: 18px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .cta-button {
        padding: 15px 30px;
        font-size: 18px;
    }
    .final-cta h2 {
        font-size: 30px;
    }
}