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

/* Typography */
body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: #f5f5f5; /* Light text for dark backgrounds */
    background-color: #121212; /* Dark background for elegance */
}

h1, h2, h3 {
    font-weight: 700;
    color: #B8860B; /* Dark Goldenrod for headings */
}

p {
    margin-bottom: 1em;
    color: #ddd; /* Slightly lighter than main text */
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Navigation Bar */
.navbar {
    background-color: #000; /* Black navbar */
    box-shadow: 0 2px 4px rgba(184, 134, 11, 0.2); /* Subtle Dark Goldenrod shadow */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8em;
    color: #B8860B; /* Dark Goldenrod logo */
    text-decoration: none;
}

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

.nav-links li {
    margin-left: 1.5em;
}

.nav-links a {
    text-decoration: none;
    color: #f5f5f5; /* Light text */
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #B8860B; /* Dark Goldenrod on hover */
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #f5f5f5;
}

/* Hero Section */
.hero {
    background: url('../images/hero.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: #B8860B; /* Dark Goldenrod text */
    text-align: center;
    padding-top: 60px; /* To account for fixed navbar */
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
}

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

.hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 1.5em;
}

.btn {
    display: inline-block;
    padding: 0.75em 1.5em;
    background-color: #B8860B; /* Dark Goldenrod button */
    color: #000; /* Black text */
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: #966806; /* Darker shade of Dark Goldenrod on hover */
    color: #fff; /* White text on hover */
}

/* About Section */
.about {
    padding: 4em 0;
    background-color: #1e1e1e; /* Darker background */
    text-align: center;
}

.about h2 {
    margin-bottom: 1em;
    font-size: 2.5em;
}

.about p {
    max-width: 800px;
    margin: auto;
    font-size: 1.1em;
    color: #ccc;
}

/* Services Section */
.services {
    padding: 4em 0;
    text-align: center;
    background-color: #121212; /* Consistent dark background */
}

.services h2 {
    margin-bottom: 1.5em;
    font-size: 2.5em;
}

.service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    background-color: #1e1e1e; /* Dark card background */
    padding: 2em;
    margin: 1em;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.2); /* Gold shadow */
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card i {
    font-size: 2.5em;
    color: #B8860B; /* Dark Goldenrod icons */
    margin-bottom: 0.5em;
}

.card h3 {
    margin-bottom: 0.5em;
    color: #B8860B;
}

.card p {
    font-size: 1em;
    color: #ccc;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 16px rgba(184, 134, 11, 0.4); /* Enhanced gold shadow on hover */
}

/* Blog Section */
.blog {
    padding: 4em 0;
    background-color: #1e1e1e;
    text-align: center;
}

.blog h2 {
    margin-bottom: 1.5em;
    font-size: 2.5em;
}

.blog-posts {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.post {
    background-color: #121212;
    padding: 1.5em;
    margin: 1em;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.2);
    flex: 1 1 300px;
    max-width: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1em;
}

.post h3 {
    color: #B8860B;
    margin-bottom: 0.5em;
}

.post p {
    color: #ccc;
    margin-bottom: 1em;
}

.read-more {
    text-decoration: none;
    color: #B8860B;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #966806; /* Darker shade of Dark Goldenrod on hover */
}

/* Contact Section */
.contact {
    padding: 4em 0;
    background-color: #1e1e1e;
    text-align: center;
}

.contact h2 {
    margin-bottom: 1.5em;
    font-size: 2.5em;
}

form {
    max-width: 600px;
    margin: auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5em;
}

.form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
    color: #f5f5f5;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #444;
    border-radius: 5px;
    font-size: 1em;
    background-color: #2c2c2c;
    color: #f5f5f5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #B8860B;
    outline: none;
}

button.btn {
    width: 100%;
    padding: 0.75em;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background-color: #B8860B;
    color: #000;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

button.btn:hover {
    background-color: #966806;
    color: #fff;
}

/* Footer */
.footer {
    background-color: #000;
    color: #f5f5f5;
    padding: 2em 0;
    text-align: center;
}

.footer p {
    margin-bottom: 1em;
}

.footer .social-icons {
    margin-top: 1em;
}

.footer .social-icons a {
    color: #B8860B;
    margin: 0 0.5em;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.footer .social-icons a:hover {
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background-color: #000;
        width: 100%;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5em 0;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .service-cards, .blog-posts {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }
}
