/* --- Global Styles & Variables --- */
:root {
    --primary-color: #023e8a; /* A deep blue */
    --secondary-color: #0096c7; /* A lighter teal */
    --accent-color: #ee9b00; /* A warm orange/gold */
    --light-bg-color: #f4f4f4; /* Light grey for content background */
    --dark-text-color: #333333;
    --light-text-color: #ffffff;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text-color);
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    font-weight: 600;
}

.section-title {
    margin-top: 40px;
}

/* --- Parallax Effect --- */
.parallax-container {
    position: relative;
    min-height: 450px; /* Adjust height as needed */
    background-attachment: fixed; /* This creates the parallax effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-text-color);
    text-align: center;
}

/* Add your background images here */
#parallax-1 {
    background-image: url('https://images.unsplash.com/photo-1508739773434-c26b3d09e071?auto=format&fit=crop&q=80&w=2070');
}

#parallax-2 {
    min-height: 250px; /* A smaller height for a divider parallax */
    background-image: url('https://images.unsplash.com/photo-1553356084-58ef4a67b2a7?auto=format&fit=crop&q=80&w=1974');
}

.parallax-text {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    padding: 20px 40px;
    border-radius: 8px;
}

/* --- Header & Logo --- */
.site-header {
    background-color: #ffffff; /* A clean white background */
    padding: 20px 0; /* Adds some space above and below the logo */
    border-bottom: 1px solid #e0e0e0; /* A subtle line to separate it from the content */
}

.logo {
    width: 30%; /* Sets the logo to be 30% of the container's width */
    max-width: 250px; /* Prevents the logo from getting too large on wide screens */
    height: auto; /* Automatically adjusts height to maintain aspect ratio */
}

/* You can now DELETE the old CSS rule for .parallax-text */

/* --- Content Sections --- */
.content-section {
    padding: 60px 0;
    background-color: var(--light-bg-color);
}

/* --- Section 1: Intro --- */
.about-me-grid {
    display: flex;
    align-items: center;
    gap: 30px; /* Space between photo and text */
}

.photo-column {
    flex: 0 0 30%; /* Takes up 30% of the width */
}

.photo-column img {
    width: 100%;
    max-width: 250px; /* Prevents image from getting too large */
    border-radius: 50%; /* Makes the image circular */
    border: 5px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.text-column {
    flex: 1; /* Takes up the remaining 70% */
}

#intro ul {
    list-style-type: '✔ '; /* Custom bullet point */
    padding-left: 20px;
}

#intro li {
    margin-bottom: 10px;
}


/* --- Section 2: Call to Action (CTA) --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 80px 0;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-text-color);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    margin-top: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ffb703; /* A slightly lighter shade for hover */
    transform: translateY(-3px);
}


/* --- Section 3: Testimonials --- */
.testimonial-scroller {
    display: flex;
    overflow-x: auto; /* This enables horizontal scrolling */
    padding-bottom: 20px; /* Space for the scrollbar */
    gap: 20px; /* Space between testimonial cards */
}

.testimonial-card {
    flex: 0 0 320px; /* Each card has a fixed width, do not grow or shrink */
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 15px;
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
}

.testimonial-card .author {
    font-weight: 600;
    text-align: right;
    color: var(--secondary-color);
}

/* Style the scrollbar for a cleaner look (optional) */
.testimonial-scroller::-webkit-scrollbar {
    height: 8px;
}
.testimonial-scroller::-webkit-scrollbar-track {
    background: #e0e0e0;
}
.testimonial-scroller::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color); /* Uses the same dark teal from the CTA section */
    color: var(--light-text-color);
    text-align: center;
    padding: 25px 0;
}

footer p {
    margin: 0; /* Removes default paragraph margin for better control */
    font-size: 0.9em; /* Makes the text slightly smaller */
}

/* --- Mobile Optimisation (Responsive Design) --- */
@media (max-width: 768px) {
    .about-me-grid {
        flex-direction: column; /* Stack the photo on top of the text */
        text-align: center;
    }

    .photo-column {
        margin-bottom: 20px;
    }

    .parallax-container {
        /* On mobile, parallax can be jittery. This makes it a normal background image. */
        background-attachment: scroll; 
    }

    .testimonial-card {
        flex: 0 0 80%; /* Makes one card take up most of the screen width */
    }
}