/* Services page styles */

/* Banner styles */
.services-banner {
    height: 60vh;
    background-image: url('../resources/images/2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-attachment: fixed;
}

.services-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    background-attachment: fixed;
}

.banner-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
}

.banner-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.banner-content p {
    font-size: 1.2rem;
    color: #e9e9e9;
}

.highlight {
    color: #00e1e8;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.banner-content h1:hover .highlight::after,
.services-intro h2:hover .highlight::after,
.pricing-section h2:hover .highlight::after,
.cta-section h2:hover .highlight::after {
    transform: scaleX(1);
}

/* Services intro */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.services-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.services-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Service grid */
.service-grid {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.service-card {
    display: flex;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card.reversed {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    min-height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-details {
    list-style-type: none;
    margin-bottom: 1.5rem;
}

.service-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00e1e8;
}

.service-btn, .pricing-btn, .cta-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #00e1e8;
    transition: background-color 0.3s ease, color 0.3s ease;
    align-self: flex-start;
    font-weight: bold;
}

.service-btn:hover, .pricing-btn:hover, .cta-btn:hover {
    background-color: #00e1e8;
    color: #000000;
}

/* Pricing section */
.pricing-section {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #101010;
}

.pricing-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.pricing-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 2rem;
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 225, 232, 0.2);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #00e1e8;
}

.pricing-card ul {
    list-style-type: none;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00e1e8;
}

.pricing-btn {
    display: block;
    text-align: center;
}

.featured {
    border: 2px solid #00e1e8;
    transform: scale(1.05);
}

.featured-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: #00e1e8;
    color: #000000;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* CTA section */
.cta-section {
    text-align: center;
    padding: 5rem 2rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../resources/images/12.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .service-card, .service-card.reversed {
        flex-direction: column;
    }
    
    .service-image {
        min-height: 250px;
    }
    
    .featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .services-intro h2, .pricing-section h2, .cta-section h2 {
        font-size: 2rem;
    }
    
    .service-content {
        padding: 1.5rem 0;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 350px;
    }
}
