/* General Styles */
:root {
    --primary-color: #a0522d; /* Sienna for a warm, earthy feel */
    --secondary-color: #f4a460; /* SandyBrown for warmth */
    --accent-color: #6a0505; /* Darker red for highlights */
    --text-dark: #333;
    --text-light: #fdfdfd;
    --bg-light: #fff8e1; /* Light cream/yellow for soft background */
    --bg-dark: #8b4513; /* SaddleBrown for contrast */
    --border-color: #ccc;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --font-heading: 'Lora', serif;
    --font-body: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-light);
}

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

.navbar .logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar .logo img {
    height: 50px;
    width: 50px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

.navbar .logo span {
    display: block;
}

.nav-menu ul {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 5px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease-in-out;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Light overlay */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
}

/* About Section */
.about-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Services Section */
.services-section {
    background-color: var(--bg-light);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-item h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* Contact Section */
.contact-info {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1rem;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info p i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.3rem;
}

.social-media {
    margin-top: 30px;
    text-align: center;
}

.social-media a {
    display: inline-block;
    margin: 0 15px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-media a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Contact Form Section */
.contact-form-section form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.2);
    outline: none;
}

textarea {
    resize: vertical;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

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

/* Hero CTA button matching navbar (dark background, white text) */
.btn-hero {
    display: inline-block;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-hero:hover,
.btn-hero:focus {
    transform: translateY(-3px);
    opacity: 0.95;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

footer a {
    color: var(--secondary-color);
    font-weight: 600;
}

footer a:hover {
    color: var(--text-light);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--bg-dark);
        position: absolute;
        top: 80px; /* Adjust based on navbar height */
        left: 0;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 10px 20px;
        font-size: 1.2rem;
    }

    .nav-menu a::after {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .navbar .container {
        justify-content: space-between;
        padding: 0 15px;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section p {
        font-size: 1.4rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 450px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .navbar .logo {
        font-size: 1.5rem;
    }

    .navbar .logo img {
        height: 40px;
        width: 40px;
    }

    .contact-form-section form {
        padding: 25px;
    }

    .form-group input, .form-group textarea, .btn-submit {
        padding: 10px 15px;
    }

    .btn-submit {
        font-size: 1rem;
    }

    .social-media a {
        font-size: 1.8rem;
        margin: 0 10px;
    }

    .contact-info p {
        font-size: 1rem;
    }
}

/* Utility for preventing scroll on mobile when menu is open */
body.no-scroll {
    overflow: hidden;
}