/* Services Overview Section */
.services-overview {
    padding: 6rem 0 4rem;
    text-align: center;
}

.services-overview h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.services-overview .subtitle {
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem;
    text-decoration: none;
    color: var(--white);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border-color: var(--accent);
}

.service-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent);
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Service Detail Sections */
.service-detail {
    padding: 6rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.service-detail:first-of-type {
    border-top: none;
}

.service-detail h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--accent);
    text-align: center;
}

.service-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.service-text h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--white);
}

.service-text h3:first-child {
    margin-top: 0;
}

.service-text p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-text ul {
    list-style: none;
    margin: 1rem 0 2rem;
}

.service-text li {
    color: var(--gray);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-text li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
}

.service-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition);
}

.service-image:hover img {
    transform: scale(1.05);
}

/* Active Navigation State */
nav a.active {
    color: var(--accent);
    background: rgba(255,215,0,0.08);
}

/* Responsive Design */
@media (max-width: 900px) {
    .services-overview {
        padding: 4rem 0 2rem;
    }

    .services-overview h1 {
        font-size: 2rem;
    }

    .service-detail {
        padding: 4rem 0;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-image {
        order: -1;
    }

    .service-detail h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    .services-overview h1 {
        font-size: 1.8rem;
    }

    .services-overview .subtitle {
        font-size: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-text h3 {
        font-size: 1.2rem;
    }

    .service-detail h2 {
        font-size: 1.5rem;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Accounts for fixed header */
}

/* Active Service Card State */
.service-card:target {
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(255,215,0,0.1);
}

/* Logo Link Styles */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo a:hover {
    opacity: 0.9;
} 