/* --- Global Styles & Variables --- */
:root {
    --bg-dark: #0f1b22;
    --brand-teal: #0b6573;
    --accent-green: #56c19a;
    --text-light: #f0f0f0;
    --text-muted: #a0b0c0;
    --card-bg: #1a2933;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--accent-green);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--brand-teal);
    color: white;
    border: 2px solid var(--brand-teal);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--brand-teal);
}

/* --- Header & Navbar --- */
.header {
    background-color: rgba(15, 27, 34, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-bg);
}

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-green);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Header height */
    background: linear-gradient(rgba(15, 27, 34, 0.7), rgba(15, 27, 34, 0.9)), url('../og-dvelora.jpg') no-repeat center center/cover;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* --- Services Section --- */
.services-section {
    padding: 6rem 0;
}

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

.service-card {
    background-color: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border: 1px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-teal);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--accent-green);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--brand-teal);
    color: white;
    border: 2px solid var(--brand-teal);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--brand-teal);
}

/* --- Header & Navbar --- */
.header {
    background-color: rgba(15, 27, 34, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-bg);
}

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-green);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Header height */
    background: linear-gradient(rgba(15, 27, 34, 0.7), rgba(15, 27, 34, 0.9)), url('../og-dvelora.jpg') no-repeat center center/cover;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* --- Services Section --- */
.services-section {
    padding: 6rem 0;
}

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

.service-card {
    background-color: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border: 1px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-teal);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease; /* Added transition */
}

.service-card:hover .service-icon {
    transform: scale(1.1); /* Added scale effect */
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.service-features .fa-check {
    color: var(--accent-green);
    margin-right: 0.75rem;
}

/* --- About Section --- */
.about-section {
    padding: 6rem 0;
    background-color: var(--card-bg);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* --- Contact Section --- */
.contact-section {
    padding: 6rem 0;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--card-bg);
    border: 1px solid var(--brand-teal);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-secondary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
}

/* Form Focus States */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(86, 193, 154, 0.3); /* Accent green with transparency */
}

/* --- Footer --- */
.footer {
    background-color: var(--card-bg);
    padding: 3rem 0;
    border-top: 1px solid var(--brand-teal);
}

.footer p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin: 0 0.75rem;
    transition: color 0.3s ease;
}

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

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Header height */
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }

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

    .nav-item {
        padding: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .form-group {
        flex-direction: column;
    }
}

/* Form Messages */
.success-message {
    color: var(--accent-green);
    font-weight: 600;
    margin-top: 1rem;
}

.error-message {
    color: #e74c3c; /* A distinct red for errors */
    font-weight: 600;
    margin-top: 1rem;
}

/* --- About Section --- */
.about-section {
    padding: 6rem 0;
    background-color: var(--card-bg);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* --- Contact Section --- */
.contact-section {
    padding: 6rem 0;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--card-bg);
    border: 1px solid var(--brand-teal);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-secondary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
}

/* Form Focus States */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(86, 193, 154, 0.3); /* Accent green with transparency */
}

/* --- Footer --- */
.footer {
    background-color: var(--card-bg);
    padding: 3rem 0;
    border-top: 1px solid var(--brand-teal);
}

.footer p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin: 0 0.75rem;
    transition: color 0.3s ease;
}

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

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Header height */
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }

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

    .nav-item {
        padding: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .form-group {
        flex-direction: column;
    }
}

/* Form Messages */
.success-message {
    color: var(--accent-green);
    font-weight: 600;
    margin-top: 1rem;
}

.error-message {
    color: #e74c3c; /* A distinct red for errors */
    font-weight: 600;
    margin-top: 1rem;
}
