:root {
    --bg-dark: #222;
    --bg-medium: #333;
    --bg-light: #f5f5f5;
    --fg-black: #000;
    --fg-dark-gray: #333;
    --border-gray: #ccc;
    --button-bg: #000;
    --button-hover: #444;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Adjust for header height */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-light);
    color: var(--fg-black);
}

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

header {
    background: var(--bg-dark);
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#navbar-logo {
    height: 50px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    margin-left: 15px;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ccc;
}

.hero {
    position: relative;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    background: #000; /* Fallback */
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/background-1.png') no-repeat center center/cover;
    filter: grayscale(100%) blur(5px);
    opacity: 0.3;
    z-index: 1;
}

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

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    background: var(--button-bg);
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--button-hover);
}

section {
    padding: 60px 0;
}

section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.services {
    background: #e0e0e0;
}

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

.service-card {
    background: #fff;
    padding: 30px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about {
    background: var(--bg-light);
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.contact {
    background: #e0e0e0;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-wrapper {
        flex-direction: row;
    }
}

form {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input, form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-gray);
    border-radius: 5px;
    font-size: 1rem;
    background: #fff;
    color: var(--fg-black);
}

form textarea {
    height: 150px;
    resize: vertical;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer {
    background: var(--bg-dark);
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    nav ul li {
        margin: 0 10px;
    }
}