/*
 * Profile Page CSS
 * Warna disesuaikan dengan logo PORMIKI
 * Warna utama: Hijau (#007B3E)
 * Warna aksen: Kuning/Emas (#FFD700)
 */

body {
    background-color: #f8f9fa;
    color: #212529;
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

/* Content Container */
.content-container {
    padding: 0 20px 20px;
}

/* Profile Header */
.profile-header {
    margin-bottom: 30px;
    position: relative;
}

.profile-cover {
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: none;
    height: 200px;
    position: relative;
}

.profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info-container {
    display: flex;
    align-items: flex-start;
    padding: 0 20px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
    margin-bottom: 80px;
}

.profile-avatar-container {
    margin-right: 20px;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-info {
    padding-top: 70px;
    text-align: left;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #212529;
}

.profile-title {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 10px;
}

.profile-location {
    font-size: 14px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
    margin-left: 10px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: #e0e0e0;
}

/* Contact Button */
.contact-button {
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-right: 10px;
    font-size: 14px;
    height: 36px;
}

.contact-button:hover {
    background-color: #0069d9;
    color: white;
    transform: translateY(-3px);
}

/* Action Buttons Container */
.profile-actions {
    display: flex;
    align-items: center;
    margin-top: 15px;
    margin-left: 0;
    position: absolute;
    bottom: -60px;
    left: 20px;
    z-index: 10;
}

/* Link Cards */
.link-card {
    background-color: white;
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #212529;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007B3E;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #FFD700;
}

.link-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 12px;
    object-fit: cover;
}

.link-title {
    font-weight: 600;
    margin-bottom: 0;
    flex-grow: 1;
    font-size: 16px;
}

.link-card .bi-chevron-right {
    font-size: 14px;
    color: #6c757d;
}

/* Section Titles */
.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #007B3E;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 8px;
}

.badge-new {
    background-color: #28a745;
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
}

.badge-update {
    background-color: #007B3E;
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
}

.badge-sale {
    background-color: #FFD700;
    color: #212529;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
}

.section-description {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Event/Class Cards */
.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    flex-shrink: 0;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    color: #212529;
    line-height: 1.3;
}

.product-description {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.price-old {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 14px;
    margin-bottom: 2px;
}

.price-current {
    color: #007B3E;
    font-weight: 700;
    font-size: 20px;
}

.btn-buy {
    background-color: #007B3E;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-buy:hover {
    background-color: #FFD700;
    color: #212529;
    text-decoration: none;
}



/* Benefit Cards */
.benefit-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007B3E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.benefit-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #212529;
}

.benefit-info p {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 0;
}

/* FAQ Section */
.faq-item {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #212529;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question.active {
    color: #007B3E;
}

.faq-answer {
    padding: 0 15px 15px;
    color: #6c757d;
    display: none;
}

.faq-question.active + .faq-answer {
    display: block;
}

/* Section Spacing */
.links-section,
.featured-products-section,
.online-classes-section,
.products-section,
.digital-products-section,
.benefits-section,
.faq-section {
    margin-bottom: 30px;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
    font-size: 14px;
}

footer a {
    color: #007B3E;
    text-decoration: none;
}

footer a:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Swiper Carousel Styles */
.featured-products-swiper,
.digital-products-swiper {
    padding-bottom: 30px;
    margin-bottom: 20px;
    margin: 0 -2px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #007B3E;
    background-color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #FFD700;
    color: #212529;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #007B3E;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #007B3E;
}

.swiper-slide {
    height: auto;
    padding: 0 3px;
}

.swiper-wrapper {
    margin: 0 -2px;
}
