/* style.css */

/* Reset and base styles */
:root {
    --primary-dark: #0f1924;
    --primary-text: #ffffff;
    --accent-green: #00ff9d;
    --nav-text: #a4b4c4;
    --card-bg: #1a2632;
}

body {
    background-color: var(--primary-dark);
    color: var(--primary-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navigation styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--nav-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* Button styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--primary-dark);
    border: none;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--nav-text);
    color: var(--primary-text);
}

/* Hero section styles */
.hero {
    text-align: center;
    padding: 8rem 2rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    color: var(--nav-text);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Section styles */
.section {
    padding: 6rem 2rem;
    scroll-margin-top: 5rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--accent-green);
}

/* About section */
.about-section {
    background-color: var(--card-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Services section */
.services-section {
    background-color: #1a1a2e;
    padding: 6rem 2rem;
}

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

.service {
    background-color: #1f1f3a;
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
    position: relative;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: #6b7cff;
}

.service h3 {
    color: var(--primary-text);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.service p {
    color: var(--nav-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service {
        aspect-ratio: auto;
        min-height: 300px;
    }
}

/* Contact section */
.contact-section {
    background-color: var(--card-bg);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    margin-bottom: 3rem;
}

.contact-form input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--nav-text);
    border-radius: 0.5rem;
    background-color: transparent;
    color: var(--primary-text);
}

.contact-form button {
    background-color: var(--accent-green);
    color: var(--primary-dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
}

.contact-info {
    color: var(--nav-text);
}

.contact-info p {
    margin: 0.5rem 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--nav-text);
    background-color: var(--card-bg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav {
        padding: 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 1rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* DevOps Benefits Section */
.devops-benefits {
    padding: 6rem 0;
    background-color: var(--primary-dark);
    overflow: hidden;
    position: relative;
}

.benefits-container {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    animation: scrollHorizontally 30s linear infinite;
    width: max-content;
}

@keyframes scrollHorizontally {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.benefit-box {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    flex-shrink: 0;
}

.benefit-box h3 {
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.benefit-box p {
    color: var(--nav-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Create a gradient overlay effect */
.devops-benefits::before,
.devops-benefits::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.devops-benefits::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-dark), transparent);
}

.devops-benefits::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-dark), transparent);
}

@media (max-width: 768px) {
    .benefit-box {
        width: 280px;
        padding: 1.5rem;
    }
}
