/* CSS Reset & Global Styles */
:root {
    --color-dusty-rose: #D4A3AE; /* Primary accent */
    --color-off-white: #F8F8F8; /* Main background, light elements */
    --color-charcoal: #333333; /* Body text */
    --color-deep-navy: #1A2B42; /* Strong contrast, headings, strong elements */
    --header-height: 4.5rem; /* Define header height for consistency */
}

@font-face {
    font-family: 'Archivo Black';
    src: url('static/ArchivoBlack-Regular.otf') format('opentype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Public Sans';
    src: url('static/PublicSans-Regular.otf') format('opentype'); 
    font-weight: normal;
    font-style: normal;
}

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

html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links (CSS only, no JS needed) */
}

body {
    font-family: 'Public Sans', sans-serif;
    line-height: 1.6;
    color: var(--color-charcoal);
    background-color: var(--color-off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Archivo Black', sans-serif;
    color: var(--color-deep-navy);
    margin-bottom: 0.6em;
    line-height: 1.2;
}

h1 { font-size: clamp(3rem, 9.5vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 7.5vw, 4rem); }
h3 { font-size: clamp(1.8rem, 6.5vw, 2.8rem); }
p {
    margin-bottom: 0.8em;
}

a {
    color: var(--color-dusty-rose);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-deep-navy);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    width: 100%;
}

.text-centre {
    text-align: center;
}

.btn {
    display: inline-block;
    background-color: var(--color-dusty-rose);
    color: var(--color-off-white);
    padding: 0.9em 2em;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}

.btn:hover {
    background-color: var(--color-deep-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-deep-navy);
    border: 2px solid var(--color-deep-navy);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--color-deep-navy);
    color: var(--color-off-white);
    transform: translateY(-2px);
}

/* Header & Navigation */
.header {
    background-color: #FFFFFF; /* Explicitly set to solid white */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: none;
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--color-deep-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex; /* Always display as flex for desktop layout */
    gap: 1.5rem;
    list-style: none;
    height: 100%;
    align-items: center;
}

.nav-links a {
    color: var(--color-charcoal);
    font-weight: 500;
    line-height: 1;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--color-dusty-rose);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-dusty-rose);
}

.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

.nav-cta .btn {
    padding: 0.6rem 2em;
    margin-top: 0;
}

/* Hamburger menu toggle for mobile - Completely hidden */
.menu-toggle {
    display: none; /* Ensure it's never displayed */
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-off-white);
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('static/hero.jpg') no-repeat center center/cover; /* Updated background image */
    background-position: center;
    background-size: cover;
}

.hero-content {
    max-width: 900px;
    padding: 0 1.5rem;
}

.hero h1 {
    color: var(--color-off-white);
    margin-bottom: 0.5em;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 1.5em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Styling */
section {
    padding: 3.5rem 0;
    position: relative;
    width: 100%; /* Ensure sections extend full width */
}

section:nth-of-type(even) {
    background-color: var(--color-off-white);
}

section:nth-of-type(odd):not(.hero) {
    background-color: var(--color-deep-navy);
    color: var(--color-off-white);
}
section:nth-of-type(odd):not(.hero) h2,
section:nth-of-type(odd):not(.hero) h3 {
    color: var(--color-off-white);
}
section:nth-of-type(odd):not(.hero) a {
    color: var(--color-dusty-rose);
}
section:nth-of-type(odd):not(.hero) .btn {
    background-color: var(--color-off-white);
    color: var(--color-deep-navy);
}
section:nth-of-type(odd):not(.hero) .btn:hover {
    background-color: var(--color-dusty-rose);
    color: var(--color-off-white);
}

/* Introduction Section */
.intro-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.about-image {
    flex: 1 1 300px; /* Allows image to grow/shrink */
    min-width: 300px;
    max-width: 450px; /* Max width for image to prevent excessive size */
    text-align: center;
    margin-bottom: 1rem;
    position: relative; /* For aspect-ratio and object-fit */
    border-radius: 15px; /* Apply border-radius here */
    overflow: hidden; /* Hide overflow for object-fit */
}

.about-image img {
    width: 100%;
    height: 100%; /* Make image fill the container */
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block; /* Remove extra space below image */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Keep shadow on the image */
    border-radius: 0; /* Remove border-radius here as it's on the parent */
}

.about-text {
    flex: 2 1 500px;
    min-width: 300px;
}

.qualifications ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.qualifications li {
    background-color: var(--color-dusty-rose);
    color: var(--color-charcoal);
    padding: 0.7em 1em;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.qualifications li i {
    color: var(--color-deep-navy);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.service-card {
    background-color: var(--color-off-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--color-charcoal);
}

.service-card h3 {
    color: var(--color-deep-navy);
    margin-bottom: 0.8rem;
}

.service-card p {
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-card li {
    padding: 0.3em 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.service-card li i {
    color: var(--color-dusty-rose);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0;
}

.testimonials-slider {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 2rem; /* Add gap between testimonial items */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-item {
    min-width: 100%;
    flex-shrink: 0;
    padding: 2rem;
    background-color: var(--color-off-white);
    text-align: center;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-charcoal); /* Set text color to charcoal for readability */
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 1.2rem;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    max-width: 800px;
    color: var(--color-charcoal); /* Explicitly set paragraph text color */
}

.testimonial-item .client-name {
    font-weight: 700;
    color: var(--color-dusty-rose);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.slider-nav-dots {
    display: none; /* Hidden as slider functionality is removed */
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
}

.contact-info, .contact-form-wrapper {
    flex: 1 1 400px;
    min-width: 300px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.contact-info li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-info li i {
    color: var(--color-dusty-rose);
    font-size: 1.4rem;
}

.contact-form-wrapper {
    background-color: var(--color-off-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h3 {
    color: var(--color-deep-navy);
    margin-bottom: 1.2rem;
    text-align: center;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-charcoal);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.8em;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-charcoal);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-dusty-rose);
    box-shadow: 0 0 0 3px rgba(212, 163, 174, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    width: 100%;
    padding: 1em 2em;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--color-deep-navy); /* Changed to match odd sections */
    color: var(--color-off-white);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Social icons padding/margin adjusted */
.social-icons {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.social-icons a {
    color: var(--color-off-white);
    font-size: 1.5rem;
    margin: 0 0.8rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-dusty-rose);
}

/* Responsive Design - Mobile First (already designed for small screens) */
@media (max-width: 768px) {
    /* Hide nav links completely on mobile, as there's no burger menu to toggle them */
    .nav-links {
        display: none;
    }

    /* Ensure desktop nav-links reappear above 768px */
    @media (min-width: 769px) {
        .nav-links {
            display: flex;
            flex-direction: row; /* Ensure horizontal layout for desktop */
            position: static; /* Remove absolute positioning */
            height: 100%; /* Take full height for vertical alignment */
            align-items: center; /* Vertically align items */
            background-color: transparent; /* No background for desktop nav */
            box-shadow: none;
            padding: 0;
            text-align: left;
            border-radius: 0;
        }
        .nav-links li {
            margin: 0; /* Remove mobile margins */
        }
        .nav-cta {
            display: flex; /* Show CTA button on desktop */
        }
    }


    .hero {
        padding-top: 0;
        height: calc(100vh - var(--header-height));
        margin-top: 0;
    }
    .hero-content {
        padding: 0 1rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .intro-section {
        padding: 2rem 0;
    }

    .about-content, .contact-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-image {
        order: -1;
        margin-bottom: 0.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .testimonial-item {
        padding: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

@media (min-width: 769px) {
    .navbar {
        padding: 0 2rem;
    }
    .hero {
        background-attachment: fixed;
    }
    .about-image img {
        max-width: 400px;
    }
    /* Reworked about-image for desktop to reduce vertical gap */
    .about-section .about-image {
        aspect-ratio: 3 / 4; /* Make the container taller (portrait-like) */
        flex: 1 1 350px; /* Adjust flex basis for slightly more width on desktop */
        max-width: 350px; /* Max width to maintain desired proportion */
    }

    /* Adjust the text content's width to better align with the new image height */
    .about-section .about-text {
        flex: 2 1 600px; /* Allow text to take more space, balancing with image */
        min-width: 400px;
    }
}

