/* ===================================
   CSS RESET & BASE STYLES
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #E0E0E0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ubuntu', sans-serif;
    color: #FFFFFF;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ===================================
   NAVIGATION HEADER
   =================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    padding: 20px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 48px;
    align-items: center;
}

.nav-links li a {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    position: relative;
    padding: 8px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #FFC107, #FF6B35);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: #4CAF50;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(255, 193, 7, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #4CAF50;
    font-size: 18px;
}

.theme-toggle:hover {
    background: linear-gradient(135deg, #4CAF50, #FFC107);
    color: #000000;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    padding: 180px 0 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left {
    max-width: 600px;
}

.hero-label {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #4CAF50;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 28px;
    font-weight: 700;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: #B0B0B0;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(90deg, #4CAF50, #FFC107, #FF6B35);
    color: #000000;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(76, 175, 80, 0.5);
}

.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 0 40px rgba(76, 175, 80, 0.3));
}

/* ===================================
   SOLUTIONS SECTION
   =================================== */

.solutions-section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 80px;
    font-weight: 700;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.solution-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(255, 193, 7, 0.05), rgba(255, 107, 53, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(76, 175, 80, 0.4);
    box-shadow: 0 16px 48px rgba(76, 175, 80, 0.2);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-icon {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 24px;
}

.solution-icon img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    filter: drop-shadow(0 0 20px rgba(76, 175, 80, 0.4));
    border-radius: 24px;
    overflow: hidden;
}

.solution-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.solution-description {
    font-size: 15px;
    line-height: 1.7;
    color: #B0B0B0;
}

/* ===================================
   ABOUT US SECTION
   =================================== */

.about-section {
    padding: 120px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.about-left .section-title {
    text-align: left;
    margin-bottom: 60px;
}

.about-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-illustration img {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 0 40px rgba(76, 175, 80, 0.3));
    border-radius: 20px;
}

.about-text-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.about-text-card p {
    font-size: 15px;
    line-height: 1.9;
    color: #D0D0D0;
    margin-bottom: 24px;
}

.about-text-card p:last-child {
    margin-bottom: 0;
}

/* ===================================
   CONTACTS SECTION
   =================================== */

.contacts-section {
    padding: 120px 0;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contacts-left .section-title {
    text-align: left;
    margin-bottom: 48px;
}

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

.contact-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(76, 175, 80, 0.4);
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.15);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(255, 193, 7, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #4CAF50;
}

.contact-info {
    flex: 1;
}

.contact-info p,
.contact-info a {
    font-size: 15px;
    line-height: 1.6;
    color: #D0D0D0;
}

.contact-info a:hover {
    color: #4CAF50;
}

.social-label {
    font-size: 15px;
    color: #D0D0D0;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(255, 193, 7, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #4CAF50;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(76, 175, 80, 0.3);
    background: linear-gradient(135deg, #4CAF50, #FFC107);
    color: #000000;
}

.contacts-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-large img {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 0 60px rgba(76, 175, 80, 0.4));
    border-radius: 20px;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: #707070;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .solutions-grid {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px;
        gap: 32px;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-section {
        padding: 140px 0 80px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-left .section-title {
        text-align: center;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contacts-left .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-section {
        padding: 120px 0 60px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 50px;
    }
    
    .solutions-section,
    .about-section,
    .contacts-section {
        padding: 80px 0;
    }
    
    .solution-card {
        padding: 40px 28px;
    }
    
    .solution-icon img {
        width: 140px;
        height: 140px;
    }
    
    .about-text-card {
        padding: 32px;
    }
    
    .logo-large img {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .btn-primary {
        padding: 14px 36px;
        font-size: 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .solution-title {
        font-size: 20px;
    }
    
    .about-text-card {
        padding: 24px;
    }
    
    .contact-card {
        padding: 20px;
    }
}

/* ===================================
   LIGHT MODE THEME
   =================================== */

body.light-mode {
    background-color: #F5F5F5;
    color: #2C2C2C;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
    color: #1A1A1A;
}

/* Header stays black in light mode */
body.light-mode #header {
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Navigation links stay white in light mode header */
body.light-mode .nav-links li a {
    color: #FFFFFF;
}

body.light-mode .nav-links li a:hover {
    color: #4CAF50;
}

/* Mobile menu toggle stays white in light mode */
body.light-mode .mobile-menu-toggle span {
    background-color: #FFFFFF;
}

/* Mobile nav menu stays dark in light mode */
body.light-mode .nav-links {
    background-color: rgba(0, 0, 0, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Theme toggle button in light mode */
body.light-mode .theme-toggle {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(255, 193, 7, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #4CAF50;
}

body.light-mode .hero-label {
    color: #4CAF50;
}

body.light-mode .hero-description {
    color: #4A4A4A;
}

body.light-mode .solution-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.95));
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .solution-card:hover {
    border-color: rgba(76, 175, 80, 0.4);
    box-shadow: 0 16px 48px rgba(76, 175, 80, 0.15);
}

body.light-mode .solution-description {
    color: #4A4A4A;
}

body.light-mode .about-text-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.95));
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body.light-mode .about-text-card p {
    color: #3C3C3C;
}

body.light-mode .contact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.95));
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .contact-card:hover {
    border-color: rgba(76, 175, 80, 0.4);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.1);
}

body.light-mode .contact-icon {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(255, 193, 7, 0.15));
    color: #4CAF50;
}

body.light-mode .contact-info p,
body.light-mode .contact-info a {
    color: #3C3C3C;
}

body.light-mode .social-label {
    color: #3C3C3C;
}

body.light-mode .social-icons a {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(255, 193, 7, 0.15));
    color: #4CAF50;
}

body.light-mode .footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .footer p {
    color: #808080;
}
