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

/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-dark: #0c0e17;
    --accent-color: #f8f9fa;
    --border-color: #e0e0e0;

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Font Sizes */
    --font-size-small: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    --font-size-4xl: 64px;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;

    /* Layout */
    --container-max-width: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 12px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: var(--font-size-3xl);
}

h2 {
    font-size: var(--font-size-2xl);
}

h3 {
    font-size: var(--font-size-xl);
}

h4 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--spacing-sm);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    text-align: center;
    border: 2px solid;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo img {
    height: 80px;
    width: auto;
    mix-blend-mode: difference;
    filter: contrast(2) brightness(1.2);
    object-fit: contain;
}

.logo-text {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

/* Navigation */
.main-nav {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: color var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    min-width: 200px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin-bottom: var(--spacing-xs);
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-xs);
    border-radius: var(--border-radius);
}

.dropdown-menu a:hover {
    background-color: var(--accent-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all var(--transition-normal);
}

/* Header CTA */
.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: block;
    }

    .header-cta {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    text-align: center;
}

.hero-text {
    color: var(--secondary-color);
}

.hero-text h1 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

.hero-text p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: var(--font-size-3xl);
    }
}

@media (min-width: 1024px) {
    .hero-text h1 {
        font-size: var(--font-size-4xl);
    }
}

/* Hero Navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 100%;
    pointer-events: none;
}

.hero-nav-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    color: var(--secondary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: var(--font-size-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    pointer-events: all;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.hero-nav-btn.prev {
    left: var(--spacing-md);
}

.hero-nav-btn.next {
    right: var(--spacing-md);
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-xs);
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.indicator.active {
    background: var(--secondary-color);
}

/* Why Choose Section */
.why-choose-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--accent-color);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

.why-choose-content {
    display: grid;
    gap: var(--spacing-xl);
    align-items: start;
    margin-top: var(--spacing-xl);
}

.why-choose-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.why-choose-item {
    padding: var(--spacing-md) 0;
    text-align: left;
}

.why-choose-item h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.why-choose-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.why-choose-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.why-choose-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.section-header p {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-light);
    font-size: var(--font-size-lg);
    line-height: 1.7;
    text-align: left;
}

@media (min-width: 768px) {
    .why-choose-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-2xl);
    }

    .section-header p {
        text-align: center;
    }
}

/* Financing Section */
.financing-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-dark);
    color: var(--secondary-color);
}

.financing-content {
    display: grid;
    gap: var(--spacing-xl);
    align-items: center;
}

.financing-text h2 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.financing-text p {
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

.financing-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
}

@media (min-width: 768px) {
    .financing-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Projects Section */
.projects-section {
    padding: var(--spacing-3xl) 0;
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: var(--font-weight-semibold);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.projects-grid {
    display: grid;
    gap: var(--spacing-lg);
}

.project-item {
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-normal);
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-item:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: var(--spacing-md);
}

.project-content h3 {
    margin-bottom: var(--spacing-xs);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--accent-color);
}

.contact-content {
    display: grid;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--spacing-md);
}

.contact-info p {
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
}

.contact-details {
    display: grid;
    gap: var(--spacing-md);
}

.contact-item h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.contact-item p {
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    background: var(--secondary-color);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--secondary-color);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 80px;
    width: auto;
    mix-blend-mode: difference;
    filter: contrast(2) brightness(1.2);
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

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

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}