<?php
/**
 * PAC USA Theme CSS - Consolidated from all HTML templates
 * Colors: pacNavy: #071A33, pacGold: #A67C37, pacGoldLight: #C8A05A, pacGreen: #01411C, pacGray: #F4F6F8
 */

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --header-height: 90px;
    --top-bar-height: 40px;
    --pac-navy: #071A33;
    --pac-gold: #A67C37;
    --pac-gold-light: #C8A05A;
    --pac-green: #01411C;
    --pac-gray: #F4F6F8;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    overflow-x: hidden;
    background: #f5f5f5;
}

/* ===== NAVIGATION ===== */
.nav-link {
    font-size: 12.5px;
    font-weight: 500;
    color: #4B5563;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    text-decoration: none;
}
.nav-link:hover,
.nav-link.current-page {
    color: #A67C37;
}

/* WordPress menu items within nav */
#main-navbar .menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
#main-navbar .menu li {
    margin: 0;
    padding: 0;
}
#main-navbar .menu li a {
    font-size: 12.5px;
    font-weight: 500;
    color: #4B5563;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    text-decoration: none;
    padding: 4px 12px;
    display: block;
}
#main-navbar .menu li a:hover,
#main-navbar .menu li.current-menu-item a {
    color: #A67C37;
}

.sticky-nav {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* ===== HERO SECTION ===== */
.hero-gradient-overlay {
    background: radial-gradient(circle, rgba(201,162,55,0.04) 0%, transparent 60%);
}

/* ===== PILLARS ===== */
.pillar-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(200, 160, 90, 0.3);
}

/* ===== BANNER ===== */
.banner-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.banner-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== LEADERSHIP CARDS ===== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.leadership-card {
    display: flex;
    align-items: flex-start;
    gap: 0;
    background: transparent;
    border: none;
}

.leadership-img {
    width: 110px;
    flex-shrink: 0;
}

.leadership-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
}

.leadership-content {
    flex: 1;
    margin: 15px 0 0 0;
}

.leadership-badge {
    background: #0d2946;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: #b99853;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    height: 22px;
}

.leadership-text {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 12px 0 0 20px;
}

/* ===== MEMBER CARDS (Presidents/Board/Executive) ===== */
.board-section {
    background: url('../images/marble.jpeg') center/cover;
    padding: 40px 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 60px;
}

.section-heading {
    grid-column: 1 / -1;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: #A67C37;
    margin-bottom: 5px;
}

.member-card {
    display: flex;
    background: transparent;
    border: none;
    align-items: flex-start;
    height: 100%;
    padding: 0;
    gap: 0;
}

.member-image {
    width: 110px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.member-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
}

.member-content {
    flex: 1;
    padding: 0;
    margin: 15px 0 0 0;
    display: flex;
    flex-direction: column;
}

.member-content .member-top {
    background: #0d2946;
    height: 22px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10px;
    margin: 0;
    color: #b99853;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.member-content .member-subtitle {
    font-size: 11px;
    color: #A67C37;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px 0;
}

.member-content p {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 8px 0 0 20px;
}

/* ===== ACCOMPLISHMENTS ===== */
.accomplishments-section {
    background: url('../images/marble.jpeg') center/cover;
    padding: 40px 50px;
    padding-bottom: 60px;
}

.section-heading {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: #A67C37;
    margin-bottom: 40px;
}

.accomplishment-card {
    background: rgba(255, 255, 255, 0.95);
    border-left: 4px solid #A67C37;
    margin-bottom: 20px;
    padding: 24px 28px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.accomplishment-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-left-color: #071A33;
}

.accomplishment-card .year-badge {
    display: inline-block;
    background: #071A33;
    color: #C8A05A;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.accomplishment-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.accomplishment-card p strong {
    color: #071A33;
    font-weight: 700;
}

/* ===== DELEGATES TABLE ===== */
.table-wrapper {
    overflow-x: auto;
}

.delegates-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.delegates-table thead {
    background: #071A33;
}

.delegates-table th {
    color: #C8A05A;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 16px;
    text-align: left;
}

.delegates-table td {
    padding: 12px 16px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.delegates-table tbody tr:hover {
    background: rgba(166, 124, 55, 0.06);
}

.delegates-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.delegates-table tbody tr:nth-child(even):hover {
    background: rgba(166, 124, 55, 0.06);
}

/* ===== MEDIA / PRESS CARDS ===== */
.media-section,
.press-section {
    background: url('../images/marble.jpeg') center/cover;
    padding: 50px 48px 70px;
}

.section-subheading {
    text-align: center;
    color: #A67C37;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 36px;
}

/* Filters */
.media-filters,
.press-filters {
    max-width: 1280px;
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 14px;
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.08);
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
    background: #f7f7f9;
    border: 1px solid #e6e6ea;
    border-radius: 10px;
    padding: 0 14px;
    height: 48px;
}

.filter-group i {
    color: #A67C37;
    font-size: 14px;
}

.filter-group input,
.filter-group select {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #333;
    width: 100%;
    height: 100%;
    cursor: pointer;
    font-family: inherit;
}

.filter-group input[type="text"] {
    cursor: text;
}

.clear-btn {
    flex-shrink: 0;
    height: 48px;
    padding: 0 22px;
    border: none;
    border-radius: 10px;
    background: #071A33;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    background: #A67C37;
}

/* Media / Press Grid */
.media-grid,
.press-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.media-card,
.press-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.media-card:hover,
.press-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.12);
}

.card-banner {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #071A33;
}

.card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.media-card:hover .card-banner img,
.press-card:hover .card-banner img {
    transform: scale(1.06);
}

.card-banner iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Badges */
.cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 20px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.cat-badge.article,
.cat-badge.press {
    background: #071A33;
    color: #C8A05A;
}
.cat-badge.video,
.cat-badge.blogs {
    background: #A67C37;
    color: #fff;
}

/* Platform badge */
.platform-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 11px;
    border-radius: 20px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.platform-badge.youtube { background: #FF0000; }
.platform-badge.vimeo { background: #1AB7EA; }
.platform-badge.facebook { background: #1877F2; }
.platform-badge.x { background: #000000; }
.platform-badge.print { background: #2E7D32; }
.platform-badge.online { background: #6A1B9A; }

/* Play overlay for videos */
.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 26, 51, 0.35);
    cursor: pointer;
    z-index: 1;
    transition: background 0.3s ease;
}

.play-overlay:hover { background: rgba(7, 26, 51, 0.5); }

.play-overlay .play-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.play-overlay:hover .play-btn { transform: scale(1.08); }

.play-overlay .play-btn i {
    color: #A67C37;
    font-size: 22px;
    margin-left: 4px;
}

/* Card Body */
.card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-date {
    font-size: 12px;
    color: #A67C37;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #071A33;
    line-height: 1.35;
    margin-bottom: 12px;
}

.card-body p {
    font-size: 13.5px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 16px;
    flex: 1;
}

.read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    color: #A67C37;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.read-link:hover {
    gap: 12px;
    color: #071A33;
}

.no-results {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    padding: 40px 20px;
    color: #555;
    font-size: 15px;
}

/* Inline badge (no image) */
.inline-badge {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 20px;
}
.inline-badge.press { background: #071A33; color: #C8A05A; }
.inline-badge.blogs { background: #A67C37; color: #fff; }

/* ===== GALLERY ===== */
.gallery-section {
    background: url('../images/marble.jpeg') center/cover fixed;
    padding: 60px 40px;
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
}

.gallery-inner {
    position: relative;
    z-index: 1;
}

.gallery-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #071A33;
    margin-bottom: 10px;
}

.gallery-subtitle {
    text-align: center;
    font-size: 13px;
    color: #A67C37;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7,26,51,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.gallery-item .item-overlay i {
    color: #fff;
    font-size: 20px;
    background: rgba(166,124,55,0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.92);
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox .lightbox-close:hover { color: #C8A05A; }

.lightbox .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    padding: 15px;
    transition: color 0.3s;
    user-select: none;
}

.lightbox .lightbox-nav:hover { color: #C8A05A; }
.lightbox .lightbox-prev { left: 20px; }
.lightbox .lightbox-next { right: 20px; }

.lightbox .lightbox-counter {
    position: absolute;
    bottom: 25px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    letter-spacing: 1px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #071A33 0%, #0F2A4A 100%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .board-section {
        grid-template-columns: 1fr;
        padding: 30px 60px;
    }
}

@media (max-width: 1024px) {
    .media-grid,
    .press-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-container { height: 180px; }
    
    .board-section { padding: 20px 20px; gap: 25px; }
    .section-heading { font-size: 22px; }
    
    .member-card { flex-direction: column; align-items: center; text-align: center; }
    .member-image { width: 120px; margin-bottom: 5px; }
    .member-content { margin: 10px 0 0 0; width: 100%; }
    .member-content .member-top { justify-content: center; height: auto; min-height: 22px; padding: 4px 10px; }
    .member-content p { padding: 12px 10px 0 10px; }
    
    .leadership-grid { grid-template-columns: 1fr !important; gap: 25px !important; }
    .leadership-card { flex-direction: column !important; align-items: center !important; text-align: center !important; }
    .leadership-img { width: 120px !important; margin-bottom: 5px !important; }
    .leadership-content { margin: 10px 0 0 0 !important; width: 100% !important; }
    .leadership-badge { justify-content: center !important; height: auto !important; min-height: 22px !important; padding: 4px 10px !important; }
    .leadership-text { padding: 12px 10px 0 10px !important; }

    .hero-section h1 { font-size: 28px !important; }
    .hero-section { min-height: 400px !important; padding: 60px 0 !important; }

    .accomplishments-section { padding: 30px 20px; }
    .accomplishment-card { padding: 18px 20px; }

    .media-section, .press-section { padding: 32px 20px 50px; }
    .section-heading { font-size: 26px; }
    .media-filters, .press-filters { padding: 16px; gap: 12px; }
    .filter-group { min-width: 100%; }
    .clear-btn { width: 100%; }
    .media-grid, .press-grid { grid-template-columns: 1fr; gap: 22px; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery-section { padding: 30px 15px; }
    .gallery-title { font-size: 24px; }
    .lightbox { padding: 20px; }
    .lightbox .lightbox-close { top: 10px; right: 15px; font-size: 30px; }
    .lightbox .lightbox-nav { font-size: 24px; }
    .lightbox .lightbox-prev { left: 5px; }
    .lightbox .lightbox-next { right: 5px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: left !important;
    }
    .footer-grid > div:first-child {
        align-items: flex-start !important;
    }
    footer {
        padding: 40px 0 0 !important;
    }
    footer img {
        margin-left: 0 !important;
        margin-right: auto !important;
    }
}

/* ===== WORDPRESS HELPERS ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Text colors - Tailwind CSS classes */
.text-pacNavy { color: #071A33; }
.text-pacGold { color: #A67C37; }
.text-pacGoldLight { color: #C8A05A; }
.text-pacGreen { color: #01411C; }
.text-pacGray { color: #F4F6F8; }

.bg-pacNavy { background-color: #071A33; }
.bg-pacGold { background-color: #A67C37; }
.bg-pacGoldLight { background-color: #C8A05A; }
.bg-pacGray { background-color: #F4F6F8; }
.border-pacGold { border-color: #A67C37; }

/* Page content area */
.page-content {
    padding: 40px 0;
}

.entry-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Elementor blank template */
.elementor-template {
    background: #fff;
}
