
:root {
    --primary-color: #00853f;
    --secondary-color: #f4f4f4;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.adherent-public-profile {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e9ecef 100%);
    padding: 3rem 0;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.profile-header {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease;
}

.profile-header:hover {
    transform: translateY(-5px);
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 2.5rem;
    border: 5px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.profile-info {
    flex-grow: 1;
}

.profile-info h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.profile-info p {
    color: var(--text-color);
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.videos-section {
    margin-bottom: 2.5rem;
}

.videos-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
}

.videos-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-container {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: scale(1.05);
}

.video-container video {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.video-stats {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: var(--secondary-color);
}

.video-stats button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-stats button:hover {
    background: var(--primary-color);
    color: var(--white);
}

.contact-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

.contact-section form {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.contact-section input:focus,
.contact-section textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #006e33;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-image {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
