/**
 * منارات الفرص - Services Page Stylesheet
 * Manarat Elforas - Services Page
 * Use with main.css
 */

/* ============================================
   Page Hero - Enhanced
   ============================================ */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: var(--teal-gradient);
}

@media (max-width: 1024px) {
    .page-hero {
        min-height: auto;
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 2rem 0;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(0, 107, 100, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(174, 147, 87, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(174, 147, 87, 0.05) 0%, transparent 70%),
        linear-gradient(135deg, #004C48 0%, #003D3A 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23AE9357' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(174, 147, 87, 0.2);
    border: 2px solid var(--gold);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(174, 147, 87, 0.2);
}

@media (max-width: 768px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 1rem;
    }
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--off-white);
    margin-bottom: 1rem;
    font-weight: 900;
    line-height: 1.2;
}

.page-hero h1 .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: var(--light-cream);
    margin: 0;
}

@media (max-width: 768px) {
    .page-hero-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   Services Filter Section
   ============================================ */
.services-filter-section {
    background: var(--medium-teal);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(174, 147, 87, 0.2);
    position: sticky;
    top: 80px;
    z-index: 100;
}

@media (max-width: 768px) {
    .services-filter-section {
        position: relative;
        top: 0;
        padding: 1rem 0;
    }
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: rgba(0, 42, 40, 0.5);
    border: 1px solid rgba(174, 147, 87, 0.3);
    border-radius: var(--radius-full);
    color: var(--light-cream);
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
}

.filter-tab:hover, 
.filter-tab.active {
    background: var(--gold);
    color: var(--dark-teal);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(174, 147, 87, 0.3);
}

@media (max-width: 600px) {
    .filter-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   Services Full Grid
   ============================================ */
.services-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .services-full-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.service-full-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.3) 0%, rgba(0, 76, 72, 0.2) 100%);
    border: 2px solid rgba(174, 147, 87, 0.15);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-full-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-full-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold-lg);
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.4) 0%, rgba(0, 76, 72, 0.3) 100%);
}

.service-full-card:hover::before {
    transform: scaleX(1);
}

.service-full-card.hidden {
    display: none;
}

@media (max-width: 600px) {
    .service-full-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

.service-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .service-icon {
        font-size: 2.5rem;
    }
}

.service-content h3 {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-content > p {
    color: var(--light-cream);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .service-content h3 {
        font-size: 1.1rem;
    }
    
    .service-content > p {
        font-size: 0.9rem;
    }
}

/* Service Features */
.service-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .service-features {
        justify-content: center;
    }
}

.service-features li {
    background: rgba(174, 147, 87, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--light-cream);
    border: 1px solid rgba(174, 147, 87, 0.2);
}

.service-link {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-full-card:hover .service-link {
    text-decoration: underline;
}

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
    background: linear-gradient(135deg, #006B64 0%, rgba(174, 147, 87, 0.15) 50%, #004C48 100%);
    padding: 4rem 0;
    border-top: 2px solid #ae935761;
    border-bottom: 2px solid #ae935766;
    position: relative;
    overflow: hidden;
}

.trust-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(174, 147, 87, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(174, 147, 87, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .trust-bar {
        padding: 3rem 0;
    }
    
    .trust-grid {
        gap: 1.5rem;
    }
}

.trust-item {
    padding: 2rem 1.5rem;
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.3) 0%, rgba(0, 76, 72, 0.2) 100%);
    border: 2px solid rgba(174, 147, 87, 0.3);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.trust-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold-lg);
}

.trust-item:hover::before {
    transform: scaleX(1);
}

.trust-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 30px rgba(174, 147, 87, 0.5);
    line-height: 1;
    display: block;
}

.trust-label {
    color: var(--off-white);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 768px) {
    .trust-item {
        padding: 1.5rem 1rem;
    }
    
    .trust-number {
        font-size: 2.5rem;
    }
    
    .trust-label {
        font-size: 0.9rem;
    }
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--teal-gold-gradient);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #ae935747;
    border-bottom: 2px solid #ae935729;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 3.5rem 0;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--off-white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--light-cream);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem auto;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.contact-btn svg {
    flex-shrink: 0;
}

.call-btn {
    background: linear-gradient(135deg, #006B64 0%, #004C48 100%);
    color: var(--gold);
    border: 2px solid var(--gold);
}

.call-btn:hover {
    background: var(--gold);
    color: var(--dark-teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(174, 147, 87, 0.4);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: 2px solid #25D366;
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

@media (max-width: 600px) {
    .contact-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 480px) {
    .services-full-grid {
        gap: 1rem;
    }
    
    .service-full-card {
        padding: 1.25rem;
    }
}