/**
 * CIHANGIR FIZYOLIFE - Sections Stylesheet
 * Styles pour toutes les sections du site
 */

/* ==========================================
   SECTIONS COMMUNES
   ========================================== */
.section {
    padding: var(--spacing-xl) 0;
}

.section__subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

.section__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.section__text {
    font-size: var(--font-size-base);
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-section__images {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.about-section__badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(32, 200, 217, 0.3);
}

.about-section__image--large {
    width: 100%;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.about-section__image--large img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-section__image--round {
    position: absolute;
    bottom: -60px;
    right: 60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.about-section__image--round img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-section__list {
    list-style: none;
    padding: 0;
}

.about-section__list li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    align-items: flex-start;
}

.about-section__list svg {
    flex-shrink: 0;
    margin-top: 4px;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    background: var(--background-light);
}

.services-section__header {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card__title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.service-card__text {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    flex-grow: 1;
    /* Limiter à 3 lignes avec ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-card__btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-normal);
    align-self: flex-start;
    margin-top: auto;
}

.service-card__btn:hover {
    background: var(--primary-hover);
    transform: translateX(5px);
}

/* ==========================================
   TEAM SECTION
   ========================================== */
.team-section__header {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.team-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.team-card__image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: var(--background-light);
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__content {
    padding: var(--spacing-md);
    text-align: center;
}

.team-card__name {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.team-card__role {
    color: var(--text-light);
    font-size: 14px;
}

/* ==========================================
   WHY CHOOSE SECTION
   ========================================== */
.why-choose-section {
    background: var(--background-light);
}

.why-choose-section__header {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.feature-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    text-align: center;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(32, 200, 217, 0.15);
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-card__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.feature-card__text {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.contact-section__services {
    margin-top: var(--spacing-lg);
}

.service-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.service-item svg {
    flex-shrink: 0;
    margin-top: 4px;
}

.service-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.service-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    background: rgba(255, 235, 230, 0.5);
    padding: var(--spacing-xl);
    border-radius: 12px;
}

.contact-form__subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.contact-form__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.form__group {
    margin-bottom: var(--spacing-sm);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: var(--font-size-base);
    background: white;
    transition: all var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-hover);
    box-shadow: 0 0 0 3px rgba(32, 200, 217, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--text-light);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__submit {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.form__submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 200, 217, 0.3);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: var(--spacing-xl) 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--spacing-md);
}

.footer__logo-image {
    height: 60px;
    width: auto;
}

.footer__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer__links,
.footer__contact {
    list-style: none;
    padding: 0;
}

.footer__links li,
.footer__contact li {
    margin-bottom: var(--spacing-sm);
}

.footer__links a,
.footer__contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--primary-color);
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.footer__social:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(32, 200, 217, 0.4);
}

.footer__bottom {
    background: #000000;
    padding: var(--spacing-md) 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all var(--transition-normal);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* ==========================================
   RESPONSIVE - TABLET (768px+)
   ========================================== */
@media (min-width: 768px) {
    .section__title {
        font-size: 42px;
    }
    
    .about-section__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-section__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .form__row {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   RESPONSIVE - DESKTOP (1024px+)
   ========================================== */
@media (min-width: 1024px) {
    .section__title {
        font-size: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}
