/* ====================== SERVICES PAGE ADDITIONAL STYLING ====================== */
/* This file contains specific styles for services.html that extend the main style.css */
/* Updated for Dietitian Sajal - Sialkot */

/* ====================== PAGE HEADER ====================== */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, rgba(193, 123, 76, 0.1), rgba(212, 175, 55, 0.1));
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48cGF0aCBkPSJNMzAgMTBhMjAgMjAgMCAwIDEgMjAgMjAgMjAgMjAgMCAwIDEtMjAgMjAgMjAgMjAgMCAwIDEtMjAtMjAgMjAgMjAgMCAwIDEgMjAtMjB6IiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMTkzLDEyMyw3NiwwLjEpIiBzdHJva2Utd2lkdGg9IjIiLz48L3N2Zz4=');
    opacity: 0.3;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--dark-light);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb i {
    font-size: 0.8rem;
    color: var(--primary-light);
}

/* ====================== SERVICES PAGE GRID ====================== */
.services-page {
    padding: 4rem 0 6rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: var(--transition-slow);
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-description {
    color: var(--dark-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-light);
    font-size: 0.95rem;
}

.feature i {
    color: var(--primary);
    font-size: 0.9rem;
}

.service-price {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.period {
    color: var(--dark-light);
    font-size: 0.9rem;
}

.service-btn {
    width: 100%;
    justify-content: center;
}

/* ====================== ABOUT PREVIEW SECTION ====================== */
.about-preview {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(193, 123, 76, 0.05), rgba(212, 175, 55, 0.05));
}

.about-preview-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-preview-image {
    position: relative;
}

.about-preview-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: var(--shadow-lg);
    animation: morph 8s ease-in-out infinite;
}

.about-preview-content {
    padding-right: 2rem;
}

.about-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.about-subtitle i {
    margin-right: 0.4rem;
    color: var(--primary);
}

.about-preview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-preview-content p {
    color: var(--dark-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-preview-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item i {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--dark-light);
}

/* ====================== REVIEWS SECTION ====================== */
.reviews {
    padding: 6rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.review-rating {
    margin-bottom: 1rem;
}

.review-rating i {
    color: #ffc107;
    margin-right: 0.2rem;
    font-size: 1rem;
}

.review-text {
    color: var(--dark-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 2px solid var(--primary);
}

.reviewer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.reviewer-info p {
    font-size: 0.8rem;
    color: var(--dark-light);
}

/* ====================== HAPPY CUSTOMERS SECTION ====================== */
.happy-customers {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.customers-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.customers-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.customers-wrapper p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.customer-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.customer-stat {
    text-align: center;
}

.customer-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: white;
}

.customer-stat .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.customer-avatars {
    text-align: center;
}

.avatar-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.avatar-group img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    border: 2px solid white;
    margin-left: -10px;
    transition: var(--transition-fast);
}

.avatar-group img:first-child {
    margin-left: 0;
}

.avatar-group img:hover {
    transform: scale(1.1);
    z-index: 2;
}

.avatar-more {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: -10px;
}

/* ====================== RESPONSIVE DESIGN FOR SERVICES PAGE ====================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .customer-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-preview-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .about-preview-content {
        padding-right: 0;
    }
    
    .feature-item {
        justify-content: center;
        text-align: left;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .customer-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .price {
        font-size: 1.8rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .customer-stat .stat-number {
        font-size: 2rem;
    }
}

/* ====================== ANIMATIONS FOR SERVICES PAGE ====================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card hover effect enhancements */
.service-card {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Review card animations */
.review-card {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
}

.review-card:nth-child(1) { animation-delay: 0.2s; }
.review-card:nth-child(2) { animation-delay: 0.4s; }
.review-card:nth-child(3) { animation-delay: 0.6s; }

/* ====================== ADDITIONAL UTILITY CLASSES ====================== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.shadow-hover {
    transition: var(--transition-normal);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-hover);
}

/* Loading skeleton for dynamic content */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.1) 25%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ====================== PRINT STYLES ====================== */
@media print {
    .fab-container,
    .ai-modal,
    .quick-contact-modal,
    .newsletter,
    .footer {
        display: none;
    }
    
    .service-card {
        break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
    }
}