:root {
    --primary-color: #2E7D32;
    --primary-light: #8BC34A;
    --secondary-color: #607D8B;
    --secondary-light: #9E9E9E;
    --dark-bg: #121212;
    --dark-surface: #1E1E1E;
    --text-primary: #FFFFFF;
    --text-secondary: #B0BEC5;
    --text-muted: #78909C;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-light);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: rgba(18, 18, 18, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

nav .menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://source.unsplash.com/random/1920x1080/?real-estate,modern-building');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.9));
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--dark-surface);
}

.services h2, .system-showcase h2, .about h2, .contact h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.services h2::after, .system-showcase h2::after, .about h2::after, .contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--dark-bg);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    background-color: var(--primary-color);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    font-weight: 500;
    color: var(--primary-light);
    position: relative;
}

.service-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* System Showcase Section */
.system-showcase {
    padding: 100px 0;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.system-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, var(--primary-color) 0%, rgba(46, 125, 50, 0) 70%);
    opacity: 0.05;
    z-index: 0;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.system-feature {
    background-color: var(--dark-surface);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.system-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-light);
}

.feature-icon {
    color: var(--primary-light);
    font-size: 40px;
    margin-bottom: 20px;
}

.system-feature h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.system-feature p {
    color: var(--text-secondary);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--dark-surface);
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 30px;
}

.about-text h2::after {
    left: 0;
    transform: none;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.values {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
}

.value-item {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.value-item i {
    color: var(--primary-light);
    font-size: 20px;
    margin-right: 10px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.image-container {
    width: 100%;
    height: 400px;
    background-image: url('https://source.unsplash.com/random/600x800/?real-estate,office');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.image-container::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-light);
    border-radius: 10px;
    z-index: -1;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    color: var(--primary-light);
    font-size: 24px;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.contact-item p, .contact-item a {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    margin-top: 40px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-surface);
    color: var(--text-primary);
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-light);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238BC34A'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

/* Map Section */
.map-container {
    height: 450px;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background-color: var(--dark-surface);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--text-secondary);
}

.footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-light);
}

.footer-newsletter {
    flex: 1;
    min-width: 250px;
}

.footer-newsletter h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-newsletter p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
    max-width: 100%;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 15px;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.footer-newsletter button {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    header .container {
        height: 70px;
    }
    
    nav .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--dark-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 0;
        transition: 0.4s;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0 0 20px 0;
    }
    
    .nav-menu a {
        font-size: 18px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        margin: 10px 0;
        width: 80%;
    }
    
    .services h2, .system-showcase h2, .about h2, .contact h2 {
        font-size: 30px;
    }
    
    .system-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content, .contact-wrapper {
        flex-direction: column;
    }
    
    .image-container::after {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-newsletter form {
        flex-direction: column;
    }
    
    .footer-newsletter input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .footer-newsletter button {
        border-radius: 5px;
        width: 100%;
    }
}