/* Services Page Styles */

/* Hero Section */
.services-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: var(--space-12);
}

.services-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.services-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.4), var(--color-bg));
}

.services-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.services-hero__content h1 {
    font-size: var(--size-4xl);
    margin-bottom: var(--space-4);
    text-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .services-hero__content h1 {
        font-size: 4rem;
    }
}

.services-hero__content p {
    font-size: var(--size-lg);
    color: var(--color-text);
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Featured Section */
.section-featured {
    margin-bottom: var(--space-16);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

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

.featured-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--color-primary);
}

.featured-card__image {
    height: 250px;
    overflow: hidden;
}

.featured-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-card:hover .featured-card__image img {
    transform: scale(1.05);
}

.featured-card__content {
    padding: var(--space-6);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.featured-card__content h2 {
    font-size: var(--size-xl);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.featured-card__content p {
    margin-bottom: 0;
    font-size: var(--size-sm);
    color: var(--color-text-muted);
}

/* Technical Grid Section */
.section-technical {
    margin-bottom: var(--space-16);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-8);
    font-size: var(--size-3xl);
    color: var(--color-text);
}

.technical-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

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

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

.technical-card {
    height: 100%;
    border-left: 3px solid var(--color-border);
}

.technical-card:hover {
    border-left-color: var(--color-accent);
    background-color: var(--color-surface-hover);
}

.technical-card h3 {
    font-size: var(--size-lg);
    margin-bottom: var(--space-3);
    color: var(--color-text);
}

/* Booking Section */
.section-booking {
    margin-bottom: var(--space-16);
}

.booking-wrapper {
    background: linear-gradient(135deg, var(--color-surface) 0%, #0d0d0d 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.05));
    pointer-events: none;
}

.booking-wrapper h2 {
    color: var(--color-text);
    margin-bottom: var(--space-4);
}

.booking-wrapper p {
    margin-bottom: var(--space-6);
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}