/* --- Global Styles & Variables --- */
:root {
    --color-primary: #2C3E50;
    --color-secondary: #f8f9fa;
    --color-accent: #e67e22;
    --color-accent-dark: #d35400;
    --color-text: #333;
    --color-text-light: #fff;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
    
    --container-width: 1100px;
    --border-radius: 5px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.5rem; }

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
.navbar {
    background: var(--color-text-light);
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

/* ADDED THIS RULE */
.nav-logo img {
    max-height: 40px; /* Adjust this value as needed */
    display: block;
}

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
}

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

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    position: relative;
    transition: transform 0.3s ease;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* --- Hero Section --- */
.hero {
    background-color: var(--color-primary);
    /* Replace with your image: background: url('images/hero-bg.jpg') no-repeat center center/cover; */
    color: var(--color-text-light);
    padding: 120px 0;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    color: var(--color-text-light);
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

/* --- Services Section --- */
.services {
    background-color: var(--color-secondary);
}
.services-intro {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--color-text-light);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card.featured {
    border: 2px solid var(--color-accent);
    transform: scale(1.05);
}

.service-price {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    font-style: italic;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.service-card ul li::before {
    content: '✔';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

/* --- About Section --- */
.about {
    background: var(--color-text-light);
}

.about .container {
    max-width: 800px;
    text-align: center;
}

/* --- Contact Section --- */
.contact {
    background-color: var(--color-secondary);
}

.contact .container {
    max-width: 800px;
}

.contact h2, .contact p {
    text-align: center;
}

.contact p {
    margin-bottom: 40px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

/* --- Footer --- */
.footer {
    background: var(--color-primary);
    color: var(--color-text-light);
    text-align: center;
    padding: 30px 0;
}

.footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}


/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }

    /* Mobile Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 81px; /* Height of navbar */
        left: 0;
        right: 0;
        background: var(--color-text-light);
        flex-direction: column;
        width: 100%;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding-bottom: 10px;
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 15px 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    /* Active hamburger icon */
    .nav-toggle.active .hamburger {
        transform: rotate(45deg);
    }
    .nav-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(90deg);
    }
    .nav-toggle.active .hamburger::after {
        bottom: 0;
        transform: rotate(90deg);
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: scale(1); /* Don't scale on mobile */
    }
    
    /* Contact Form */
    .contact-form .form-group-split {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-group-split .form-group:first-child {
        margin-bottom: 20px;
    }
}