/* =====================================================
 * SHARED PAGE STYLES
 * Used by: Gallery, Partners, Sponsors, Demographics, Lifetime Members
 * ===================================================== */

/* Page Hero Banner */
.page-hero {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #3D5561 0%, #2a3d47 100%);
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/patter_logo.svg') center/300px repeat;
    opacity: 0.05;
    animation: spin 60s linear infinite;
}

.page-hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb-nav {
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.page-hero .breadcrumb-nav a {
    color: #E3A14C;
    text-decoration: none;
}

.page-hero .breadcrumb-nav span {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 8px;
}

/* Page Content Sections */
.page-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.page-section .container-fluid {
    padding: 0 50px;
}

.page-section-alt {
    background: #f8f9fa;
}

.page-section-gold {
    background: #FDF3D0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: #3D5561;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: #6b7280;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.iam-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.iam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.iam-card-body {
    padding: 30px;
}

.iam-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Sponsor/Partner Logo Cards */
.logo-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.logo-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.logo-card img {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
}

/* Tier Labels */
.tier-label {
    display: inline-block;
    background: linear-gradient(135deg, #E3A14C 0%, #d89438 100%);
    color: #fff;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.tier-label.gold {
    background: linear-gradient(135deg, #E3A14C 0%, #d89438 100%);
}

.tier-label.silver {
    background: linear-gradient(135deg, #9CA3AF 0%, #6B7280 100%);
}

.tier-label.bronze {
    background: linear-gradient(135deg, #B87333 0%, #8B5E3C 100%);
}

/* Stat Cards */
.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #E3A14C;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #3D5561;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
}

/* Member Cards (Lifetime Members) */
.member-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E3A14C, #d89438);
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.member-card h4 {
    color: #3D5561;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-card .member-since {
    color: #6b7280;
    font-size: 13px;
}

.member-badge {
    display: inline-block;
    background: #FDF3D0;
    color: #E3A14C;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-item-card .caption {
    padding: 15px;
    background: #fff;
    color: #3D5561;
    font-size: 14px;
    font-weight: 500;
}

/* WYSIWYG Content Area */
.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
}

.page-content h2,
.page-content h3 {
    color: #3D5561;
    margin: 30px 0 15px;
}

.page-content img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-state .empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    color: #3D5561;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 32px;
    }

    .page-section {
        padding: 50px 0;
    }

    .page-section .container-fluid {
        padding: 0 20px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .stat-number {
        font-size: 32px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}