/* --- Global Styles & Variables --- */
:root {
    --primary-color: #005a8d; /* A professional blue */
    --secondary-color: #2c3e50; /* A dark charcoal for text */
    --accent-color: #007bb5; /* A slightly lighter blue for links/hovers */
    --light-grey: #f8f9fa;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--secondary-color);
    line-height: 1.6;
}

/* --- Typography --- */
h1, h2, h3 {
    font-weight: 600;
}

h1 {
    font-size: 2.8rem;
    color: var(--white);
    line-height: 1.2;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

p {
    margin-bottom: 1rem;
}

/* --- Header & Navigation --- */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--secondary-color);
}

/* --- Buttons --- */
.cta-button, .cta-button-nav {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button-nav {
    padding: 10px 20px;
}

.cta-button:hover, .cta-button-nav:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}


/* --- Hero Section --- */
#hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.hero-content {
    max-width: 800px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--white);
    margin: 20px 0 30px 0;
}

/* --- General Content Section Styling --- */
.content-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Alternating Background Colors */
#services, #about {
    background-color: var(--light-grey);
}

/* --- Services Section --- */
/* Replace it with this new code: */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* <-- This creates 4 columns */
    gap: 30px;
}

/* Add this media query for tablet responsiveness */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

/* Add this media query for mobile responsiveness */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 column for phones */
    }
}
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

/* --- About Section --- */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-text, .why-us {
    flex: 1;
    min-width: 300px;
}

.why-us ul {
    list-style: none;
    padding: 0;
}

.why-us li {
    margin-bottom: 10px;
    font-weight: 600;
}

/* --- Contact Section --- */
#contact {
    text-align: center;
}

.contact-details {
    margin-top: 30px;
    font-size: 1.2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

/* --- Footer --- */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 20px;
}

/* --- Enquiry Form --- */
.enquiry-form {
    margin: 30px auto 10px auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
    text-align: left;
}

.enquiry-form .form-row {
    display: flex;
    flex-direction: column;
}

.enquiry-form .form-row-full {
    grid-column: 1 / -1;
}

.enquiry-form label {
    font-weight: 600;
    margin-bottom: 8px;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 90, 141, 0.12);
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.form-note {
    margin: 0;
    color: #666;
}

.form-status {
    grid-column: 1 / -1;
    margin-top: 6px;
    color: #126e36;
    font-weight: 600;
}

/* --- Responsive Design for Mobile --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }

    .menu-toggle { display: inline-block; }
    nav ul {
        position: absolute;
        right: 5%;
        top: 64px;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        width: min(280px, 90vw);
    }
    nav ul.open { display: flex; }
    nav ul li { margin: 0; }
    nav ul li a { display: block; padding: 10px 16px; }

    .about-content {
        flex-direction: column;
    }

    .hero-content {
        padding: 20px;
    }

    .enquiry-form {
        grid-template-columns: 1fr;
    }
}
