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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #4a4a4a;
    line-height: 1.6;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3 {
    color: #0b0b0b;
    font-weight: 700;
}

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

a:hover {
    opacity: 0.8;
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 104px;
}

.container-narrow {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0b0b0b;
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background-color: #333333;
    opacity: 1;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #d9d9d9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: #0b0b0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header.scrolled .logo-icon {
    background-color: #0b0b0b;
    color: #ffffff;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.header.scrolled .logo-text {
    color: #0b0b0b;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 14px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.header.scrolled .nav-link {
    color: #0b0b0b;
}

.nav-link:hover {
    opacity: 0.7;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.header.scrolled .mobile-menu-btn span {
    background-color: #0b0b0b;
}

/* Hero Section */
.hero {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 896px;
    padding: 0 24px;
    text-align: center;
}

.hero-title {
    font-size: 60px;
    line-height: 60px;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 28px;
    color: #e5e7eb;
    margin-bottom: 40px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-white {
    background-color: #ffffff;
}

.section-gray {
    background-color: #f5f5f5;
}

.section-title {
    font-size: 36px;
    line-height: 40px;
    text-align: center;
    margin-bottom: 32px;
}

.section-text {
    font-size: 18px;
    line-height: 29.25px;
    margin-bottom: 16px;
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #d9d9d9;
    padding: 32px;
}

.service-icon {
    width: 48px;
    height: 48px;
    background-color: #0b0b0b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.service-title {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 16px;
}

.service-text {
    font-size: 16px;
    line-height: 26px;
}

/* Inoxsis Section */
.inoxsis-content {
    display: flex;
    gap: 48px;
    align-items: center;
    margin-top: 48px;
}

.inoxsis-text {
    flex: 1;
}

.inoxsis-text p {
    font-size: 18px;
    line-height: 29.25px;
    margin-bottom: 24px;
}

.inoxsis-image {
    flex: 1;
    overflow: hidden;
}

.inoxsis-image img {
    width: 100%;
    height: 384px;
    object-fit: cover;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 48px;
    max-width: 1024px;
    margin: 48px auto 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background-color: #0b0b0b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon img {
    width: 12px;
    height: 14px;
    filter: brightness(0) invert(1);
}

.feature-text {
    font-size: 16px;
    line-height: 24px;
}

/* CTA Center */
.cta-center {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* Contact Grid */
.contact-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}

.contact-item {
    text-align: center;
    width: 277px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: #0b0b0b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-icon img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.contact-title {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 8px;
}

.contact-text {
    font-size: 16px;
    line-height: 24px;
}

.contact-link {
    font-size: 16px;
    line-height: 24px;
    color: #4a4a4a;
}

.contact-link:hover {
    color: #0b0b0b;
}

/* Footer */
.footer {
    background-color: #0b0b0b;
    padding: 32px 104px;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1232px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    color: #0b0b0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.footer-logo-text {
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
}

.footer-copyright {
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
}

/* Mobile Navigation Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    font-weight: 500;
    font-size: 16px;
    color: #0b0b0b;
    padding: 8px 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 48px;
    }

    .header {
        max-width: 100%;
        left: 0;
        transform: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 42px;
        line-height: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 26px;
    }

    .inoxsis-content {
        flex-direction: column;
    }

    .inoxsis-image img {
        height: 300px;
    }

    .contact-grid {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header {
        max-width: 100%;
    }

    .header-container {
        padding: 0 24px;
    }

    .hero {
        height: 600px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 38px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        line-height: 34px;
    }

    .section-text {
        font-size: 16px;
        line-height: 26px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-grid {
        flex-direction: column;
        align-items: center;
    }

    .footer {
        padding: 24px;
    }

    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        line-height: 34px;
    }

    .btn {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animation classes - activated by JavaScript */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}
