/*
 Theme Name:   PrevostClub
 Theme URI:    https://prevostclub.com
 Description:  Kadence child theme for PrevostClub.com — Luxury Prevost Motorcoach Marketplace
 Author:       PrevostClub
 Author URI:   https://prevostclub.com
 Template:     kadence
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  prevostclub
*/

/* ==========================================================================
   PrevostClub Custom Styles
   ========================================================================== */

:root {
    --pc-black: #0a0a0a;
    --pc-charcoal: #1a1a2e;
    --pc-gold: #c9a84c;
    --pc-gold-light: #d4b96a;
    --pc-white: #ffffff;
    --pc-offwhite: #f8f7f4;
    --pc-gray: #6b7280;
    --pc-gray-light: #e5e7eb;
}

/* Luxury typography defaults */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--pc-charcoal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--pc-charcoal);
}

/* Gold accent links */
a.pc-gold-link {
    color: var(--pc-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}
a.pc-gold-link:hover {
    color: var(--pc-gold-light);
}

/* Coach listing cards */
.pc-coach-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--pc-white);
}
.pc-coach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.pc-coach-card__image {
    aspect-ratio: 16/10;
    object-fit: cover;
    width: 100%;
}
.pc-coach-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--pc-gold);
    color: var(--pc-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pc-coach-card__details {
    padding: 20px;
}
.pc-coach-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.pc-coach-card__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--pc-gray);
}
.pc-coach-card__meta dt {
    font-weight: 400;
    color: var(--pc-gray);
}
.pc-coach-card__meta dd {
    font-weight: 600;
    color: var(--pc-charcoal);
}
.pc-coach-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pc-charcoal);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--pc-gray-light);
}

/* Hero sections */
.pc-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pc-white);
    text-align: center;
}
.pc-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.7) 100%
    );
}
.pc-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

/* Partner logo ticker */
.pc-partner-ticker {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 3rem;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}
.pc-partner-ticker__item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pc-partner-ticker img {
    height: 70px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.pc-partner-ticker img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Inquiry form styling */
.pc-inquiry-form {
    background: var(--pc-offwhite);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--pc-gray-light);
}

/* Stats counter */
.pc-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 4rem 2rem;
}
.pc-stats__number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--pc-gold);
}
.pc-stats__label {
    color: var(--pc-gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Button styles */
.pc-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
}
.pc-btn--primary {
    background: var(--pc-gold);
    color: var(--pc-white);
}
.pc-btn--primary:hover {
    background: var(--pc-gold-light);
    color: var(--pc-white);
}
.pc-btn--outline {
    background: transparent;
    color: var(--pc-white);
    border: 2px solid var(--pc-white);
}
.pc-btn--outline:hover {
    background: var(--pc-white);
    color: var(--pc-charcoal);
}
.pc-btn--dark {
    background: var(--pc-charcoal);
    color: var(--pc-white);
}
.pc-btn--dark:hover {
    background: var(--pc-black);
}

/* ==========================================================================
   Container
   ========================================================================== */

.pc-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Page Headers
   ========================================================================== */

.pc-page-header {
    background: var(--pc-charcoal);
    color: var(--pc-white);
    padding: 4rem 0 3rem;
    text-align: center;
    margin-bottom: 3rem;
}
.pc-page-header .pc-container {
    position: relative;
    z-index: 1;
}
.pc-page-header__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--pc-white);
    margin: 0 0 0.5rem;
}
.pc-page-header__subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin: 0;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.pc-breadcrumb {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--pc-gray);
}
.pc-breadcrumb a {
    color: var(--pc-gold);
    text-decoration: none;
}
.pc-breadcrumb a:hover {
    color: var(--pc-gold-light);
}
.pc-breadcrumb__sep {
    margin: 0 0.5rem;
    color: var(--pc-gray-light);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.pc-section {
    padding: 4rem 0;
}
.pc-section--dark {
    background: var(--pc-charcoal);
    color: var(--pc-white);
}
.pc-section--light {
    background: var(--pc-offwhite);
}
.pc-section--ticker {
    padding: 2rem 0;
    border-bottom: 1px solid var(--pc-gray-light);
}
.pc-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0 0 2rem;
}
.pc-section-title--light {
    color: var(--pc-white);
}
.pc-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.pc-section-header .pc-section-title {
    margin-bottom: 0;
}
.pc-section-link {
    color: var(--pc-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}
.pc-section-link:hover {
    color: var(--pc-gold-light);
}

/* ==========================================================================
   Coach Card Additions
   ========================================================================== */

.pc-coach-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.pc-coach-card__image-wrap {
    position: relative;
    overflow: hidden;
}
.pc-coach-card__placeholder {
    background: var(--pc-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--pc-gray);
    min-height: 200px;
}
.pc-coach-card__badge--status {
    background: var(--pc-charcoal);
}
.pc-coach-card__badge--featured {
    background: var(--pc-gold);
}

/* ==========================================================================
   Listings Grid
   ========================================================================== */

.pc-listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.pc-listings-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}
.pc-listings-grid--4col {
    grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   Listings Layout (with sidebar)
   ========================================================================== */

.pc-listings-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.pc-listings__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.pc-listings__count {
    color: var(--pc-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   Directory Cards (converters, dealers, resorts, services, clubs)
   ========================================================================== */

.pc-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}
.pc-directory-grid--clubs {
    grid-template-columns: repeat(4, 1fr);
}
.pc-directory-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--pc-white);
}
.pc-directory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.pc-directory-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.pc-directory-card__image-wrap {
    position: relative;
    overflow: hidden;
}
.pc-directory-card__image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}
.pc-directory-card__placeholder {
    background: var(--pc-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    color: var(--pc-gray);
}
.pc-directory-card__placeholder--icon {
    color: var(--pc-gray);
}
.pc-directory-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--pc-gold);
    color: var(--pc-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pc-directory-card__details {
    padding: 20px;
}
.pc-directory-card__logo {
    height: 40px;
    width: auto;
    margin-bottom: 8px;
}
.pc-directory-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin: 0 0 8px;
    color: var(--pc-charcoal);
}
.pc-directory-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--pc-gray);
    margin: 0 0 8px;
}
.pc-directory-card__phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--pc-gray);
    margin: 0 0 8px;
}
.pc-directory-card__excerpt {
    font-size: 0.875rem;
    color: var(--pc-gray);
    margin: 0 0 8px;
    line-height: 1.5;
}
.pc-directory-card__region {
    font-size: 0.8rem;
    color: var(--pc-gray);
    margin: 8px 0 0;
}
.pc-directory-card__website-hint {
    font-size: 0.875rem;
    color: var(--pc-gold);
    font-weight: 500;
}
.pc-directory-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

/* Tags */
.pc-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    background: var(--pc-offwhite);
    color: var(--pc-charcoal);
    font-weight: 500;
}
.pc-tag--large {
    padding: 6px 14px;
    font-size: 0.85rem;
}
.pc-tag--more {
    background: var(--pc-gray-light);
    color: var(--pc-gray);
}

/* ==========================================================================
   Region Filter
   ========================================================================== */

.pc-region-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--pc-gray-light);
}
.pc-region-filter__item {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--pc-charcoal);
    background: var(--pc-offwhite);
    transition: all 0.2s ease;
}
.pc-region-filter__item:hover,
.pc-region-filter__item--active {
    background: var(--pc-gold);
    color: var(--pc-white);
}

/* ==========================================================================
   Event Cards
   ========================================================================== */

.pc-events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.pc-event-card {
    background: var(--pc-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}
.pc-event-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.pc-event-card--past {
    opacity: 0.7;
}
.pc-event-card__link {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
}
.pc-event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--pc-charcoal);
    color: var(--pc-white);
    padding: 1.5rem;
    min-width: 100px;
    text-align: center;
}
.pc-event-card__month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pc-gold);
}
.pc-event-card__day {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}
.pc-event-card__year {
    font-size: 0.8rem;
    opacity: 0.7;
}
.pc-event-card__details {
    padding: 1.5rem;
    flex: 1;
}
.pc-event-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin: 0 0 8px;
    color: var(--pc-charcoal);
}
.pc-event-card__dates,
.pc-event-card__venue {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--pc-gray);
    margin: 0 0 4px;
}
.pc-event-card__address {
    display: block;
    font-size: 0.8rem;
    color: var(--pc-gray);
}
.pc-event-card__excerpt {
    font-size: 0.875rem;
    color: var(--pc-gray);
    margin: 8px 0 0;
}
.pc-event-card__status {
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pc-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pc-events-section {
    margin-bottom: 3rem;
}
.pc-events-section--past {
    opacity: 0.8;
}

/* ==========================================================================
   Club Card
   ========================================================================== */

.pc-club-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--pc-offwhite);
    min-height: 180px;
}
.pc-club-card__logo {
    max-height: 100px;
    max-width: 200px;
    object-fit: contain;
}
.pc-club-card__membership {
    font-size: 0.85rem;
    color: var(--pc-gray);
    margin: 8px 0 0;
}

/* ==========================================================================
   Filters Sidebar
   ========================================================================== */

.pc-filters {
    position: sticky;
    top: 2rem;
}
.pc-filters__form {
    background: var(--pc-offwhite);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--pc-gray-light);
}
.pc-filters__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.pc-filters__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin: 0;
    color: var(--pc-charcoal);
}
.pc-filters__reset {
    background: none;
    border: none;
    color: var(--pc-gold);
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 500;
}
.pc-filters__reset:hover {
    color: var(--pc-gold-light);
}
.pc-filters__group {
    margin-bottom: 1.25rem;
}
.pc-filters__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pc-charcoal);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pc-filters__input,
.pc-filters__select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--pc-gray-light);
    border-radius: 6px;
    font-size: 0.9rem;
    background: var(--pc-white);
    color: var(--pc-charcoal);
    font-family: inherit;
}
.pc-filters__input:focus,
.pc-filters__select:focus {
    outline: none;
    border-color: var(--pc-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
.pc-filters__range {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pc-filters__range-sep {
    color: var(--pc-gray);
}
.pc-filters__input--half {
    width: 50%;
}
.pc-filters__submit {
    width: 100%;
    margin-top: 0.5rem;
    border: none;
}
.pc-filters__toggle {
    display: none;
}

/* ==========================================================================
   Single Listing
   ========================================================================== */

.pc-single-listing__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    margin: 2rem 0 3rem;
}
.pc-single-listing__title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0 0 0.5rem;
}
.pc-single-listing__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pc-gold);
    margin-bottom: 2rem;
}
.pc-single-listing__description {
    margin: 2rem 0;
    line-height: 1.8;
}
.pc-single-listing__description h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

/* Key Details Bar */
.pc-key-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--pc-offwhite);
    border-radius: 10px;
    margin-bottom: 2rem;
}
.pc-key-details__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pc-key-details__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pc-gray);
    font-weight: 500;
}
.pc-key-details__value {
    font-weight: 700;
    color: var(--pc-charcoal);
    font-size: 1rem;
}

/* Specifications Table */
.pc-specs {
    margin: 2rem 0;
}
.pc-specs h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
}
.pc-specs__table {
    width: 100%;
    border-collapse: collapse;
}
.pc-specs__table th,
.pc-specs__table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--pc-gray-light);
    font-size: 0.95rem;
}
.pc-specs__table th {
    font-weight: 500;
    color: var(--pc-gray);
    width: 40%;
}
.pc-specs__table td {
    font-weight: 600;
    color: var(--pc-charcoal);
}
.pc-specs__table tr:nth-child(even) {
    background: var(--pc-offwhite);
}

/* Related Profiles */
.pc-related-profiles {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}
.pc-related-profile h3 {
    font-size: 0.9rem;
    margin: 0 0 8px;
    color: var(--pc-gray);
}
.pc-related-profile__link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--pc-charcoal);
    font-weight: 600;
    padding: 12px 16px;
    background: var(--pc-offwhite);
    border-radius: 8px;
    transition: background 0.2s;
}
.pc-related-profile__link:hover {
    background: var(--pc-gray-light);
}
.pc-related-profile__logo {
    height: 36px;
    width: 36px;
    border-radius: 6px;
    object-fit: contain;
}
.pc-related-section {
    margin: 3rem 0;
    padding-top: 3rem;
    border-top: 1px solid var(--pc-gray-light);
}

/* ==========================================================================
   Photo Gallery
   ========================================================================== */

.pc-gallery {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.pc-gallery__main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--pc-black);
}
.pc-gallery__main-img {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.pc-gallery__fullscreen {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.pc-gallery__fullscreen:hover {
    background: rgba(0,0,0,0.8);
}
.pc-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}
.pc-gallery__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 0;
    background: none;
    transition: border-color 0.2s;
}
.pc-gallery__thumb--active {
    border-color: var(--pc-gold);
}
.pc-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pc-gallery__count {
    text-align: center;
    font-size: 0.85rem;
    color: var(--pc-gray);
    margin-top: 8px;
}

/* Lightbox */
.pc-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.pc-lightbox--open {
    opacity: 1;
}
.pc-lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}
.pc-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    z-index: 10;
}
.pc-lightbox__prev,
.pc-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: background 0.2s;
    z-index: 10;
}
.pc-lightbox__prev:hover,
.pc-lightbox__next:hover {
    background: rgba(255,255,255,0.2);
}
.pc-lightbox__prev {
    left: 1rem;
}
.pc-lightbox__next {
    right: 1rem;
}
.pc-lightbox__counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ==========================================================================
   Profile Pages (converter, dealer, resort, etc.)
   ========================================================================== */

.pc-profile-hero {
    min-height: 350px;
    background-size: cover;
    background-position: center;
    background-color: var(--pc-charcoal);
    position: relative;
}
.pc-profile-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.3), rgba(10,10,10,0.7));
    display: flex;
    align-items: flex-end;
    padding-bottom: 2rem;
}
.pc-profile-hero__content {
    color: var(--pc-white);
}
.pc-profile-hero__logo {
    max-height: 80px;
    max-width: 240px;
    margin-bottom: 1rem;
}
.pc-profile-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--pc-white);
    margin: 0;
}
.pc-profile-hero__badge {
    display: inline-block;
    background: var(--pc-gold);
    color: var(--pc-white);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1rem;
}
.pc-profile-hero__badge--past {
    background: var(--pc-gray);
}

.pc-profile-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    margin: 2rem 0 3rem;
}
.pc-profile__description {
    line-height: 1.8;
    margin-bottom: 2rem;
}
.pc-profile__description h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}
.pc-profile__location-large {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: var(--pc-gray);
    margin: 0.5rem 0 2rem;
}
.pc-profile__coaches {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--pc-gray-light);
}
.pc-profile__coaches h2 {
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
}
.pc-profile__services {
    margin: 2rem 0;
}
.pc-profile__services h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

/* Profile Info Sidebar */
.pc-profile-info {
    background: var(--pc-offwhite);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--pc-gray-light);
    margin-bottom: 1.5rem;
}
.pc-profile-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin: 0 0 1.25rem;
    color: var(--pc-charcoal);
}
.pc-profile-info__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--pc-charcoal);
}
.pc-profile-info__item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--pc-gray);
}
.pc-profile-info__item a {
    color: var(--pc-gold);
    text-decoration: none;
}
.pc-profile-info__item a:hover {
    color: var(--pc-gold-light);
}

/* Amenities Grid */
.pc-amenities {
    margin: 2rem 0;
}
.pc-amenities h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
}
.pc-amenities__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.pc-amenities__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    padding: 8px 0;
}

/* Map */
.pc-map {
    margin: 2rem 0;
}
.pc-map h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

/* ==========================================================================
   Inquiry Form
   ========================================================================== */

.pc-inquiry-form__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin: 0 0 1rem;
    color: var(--pc-charcoal);
}
.pc-inquiry-form__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.pc-inquiry-form__contact a {
    color: var(--pc-gold);
    text-decoration: none;
    font-weight: 600;
}
.pc-inquiry-form__field {
    margin-bottom: 1rem;
}
.pc-inquiry-form__field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--pc-charcoal);
    margin-bottom: 4px;
}
.pc-inquiry-form__field textarea {
    resize: vertical;
}

/* ==========================================================================
   Newsletter Signup
   ========================================================================== */

.pc-newsletter {
    background: var(--pc-charcoal);
    padding: 4rem 0;
    text-align: center;
}
.pc-newsletter__inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.pc-newsletter__title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--pc-white);
    margin: 0 0 0.75rem;
}
.pc-newsletter__text {
    color: rgba(255,255,255,0.7);
    margin: 0 0 2rem;
}
.pc-newsletter__fields {
    display: flex;
    gap: 0;
}
.pc-newsletter__input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid rgba(255,255,255,0.2);
    border-right: none;
    border-radius: 6px 0 0 6px;
    background: rgba(255,255,255,0.1);
    color: var(--pc-white);
    font-size: 1rem;
    font-family: inherit;
}
.pc-newsletter__input::placeholder {
    color: rgba(255,255,255,0.5);
}
.pc-newsletter__input:focus {
    outline: none;
    border-color: var(--pc-gold);
}
.pc-newsletter__btn {
    border-radius: 0 6px 6px 0;
    border: none;
    white-space: nowrap;
}
.pc-newsletter__disclaimer {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.75rem;
}

/* ==========================================================================
   Ticker Label
   ========================================================================== */

.pc-ticker-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--pc-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1rem;
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.pc-hero--home {
    min-height: 80vh;
    background: var(--pc-charcoal);
    background-size: cover;
    background-position: center;
}
.pc-hero--home .pc-hero__bg {
    position: absolute;
    inset: 0;
}
@media (max-width: 767px) {
    .pc-hero--home .pc-hero__bg {
        background: linear-gradient(135deg, rgba(26,26,46,0.7) 0%, rgba(10,10,10,0.8) 100%);
    }
}
.pc-hero__logo {
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
}
.pc-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin: 0 0 1rem;
    color: var(--pc-white);
}
.pc-hero__subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 2rem;
}
.pc-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Featured Coach */
.pc-featured-coach__card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    background: var(--pc-white);
}
.pc-featured-coach__image {
    position: relative;
}
.pc-featured-coach__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pc-featured-coach__details {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pc-featured-coach__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
}
.pc-featured-coach__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pc-gold);
    margin: 1.5rem 0;
}

/* Lifestyle Grid */
.pc-lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.pc-lifestyle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.pc-lifestyle-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--pc-gold);
    transform: translateY(-4px);
}
.pc-lifestyle-card__icon {
    color: var(--pc-gold);
    margin-bottom: 1rem;
}
.pc-lifestyle-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--pc-white);
    margin: 0 0 0.5rem;
}
.pc-lifestyle-card__text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.5;
}

/* Blog Grid */
.pc-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.pc-blog-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    background: var(--pc-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pc-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.pc-blog-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.pc-blog-card__image-wrap {
    overflow: hidden;
}
.pc-blog-card__image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.pc-blog-card__details {
    padding: 1.5rem;
}
.pc-blog-card__date {
    font-size: 0.8rem;
    color: var(--pc-gold);
    font-weight: 500;
}
.pc-blog-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: var(--pc-charcoal);
}
.pc-blog-card__excerpt {
    font-size: 0.875rem;
    color: var(--pc-gray);
    line-height: 1.5;
    margin: 0;
}

/* Ad Banner */
.pc-ad-banner {
    margin: 2rem 0;
    text-align: center;
}

/* Contact page */
.pc-contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    margin-bottom: 3rem;
}
.pc-contact-cta {
    background: var(--pc-offwhite);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--pc-gray-light);
    margin-bottom: 1.5rem;
}
.pc-contact-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
}
.pc-contact-cta p {
    font-size: 0.9rem;
    color: var(--pc-gray);
    margin: 0 0 1.25rem;
    line-height: 1.6;
}

/* About page */
.pc-about-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}
.pc-about-content ul {
    line-height: 2;
}
.pc-stats--about {
    background: var(--pc-offwhite);
    border-radius: 12px;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

/* Club header */
.pc-club-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.pc-club-header__logo {
    max-height: 80px;
    max-width: 200px;
    object-fit: contain;
}

/* Membership info */
.pc-membership-info {
    margin: 2rem 0;
}
.pc-membership-info h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
}
.pc-membership-info__content {
    background: var(--pc-offwhite);
    padding: 1.5rem;
    border-radius: 10px;
    line-height: 1.8;
}

/* ==========================================================================
   Submit Listing Form
   ========================================================================== */

.pc-submit-form {
    max-width: 860px;
    margin: 0 auto 3rem;
}
.pc-submit-form__intro {
    font-size: 1rem;
    color: var(--pc-gray);
    line-height: 1.6;
    margin: 0 0 2rem;
}
.pc-submit-form__fieldset {
    border: none;
    padding: 0;
    margin: 0 0 2.5rem;
}
.pc-submit-form__legend {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--pc-charcoal);
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--pc-gold);
    width: 100%;
}
.pc-submit-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.pc-submit-form__field {
    display: flex;
    flex-direction: column;
}
.pc-submit-form__field textarea {
    resize: vertical;
    font-family: inherit;
}
.pc-submit-form__help {
    font-size: 0.85rem;
    color: var(--pc-gray);
    margin: 0.5rem 0 0;
}
.pc-submit-form__file-input {
    padding: 12px;
    border: 2px dashed var(--pc-gray-light);
    border-radius: 8px;
    background: var(--pc-offwhite);
    cursor: pointer;
    width: 100%;
}
.pc-submit-form__file-input:hover {
    border-color: var(--pc-gold);
}
.pc-submit-form__photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 1rem;
}
.pc-submit-form__photo-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}
.pc-submit-form__photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pc-submit-form__photo-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: var(--pc-gold);
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    padding: 3px;
}
.pc-submit-form__photo-label:empty {
    display: none;
}

/* Spec Repeater */
.pc-submit-form__specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1rem;
}
.pc-submit-form__spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr 40px;
    gap: 10px;
    align-items: center;
}
.pc-submit-form__spec-remove {
    background: none;
    border: 1px solid var(--pc-gray-light);
    border-radius: 6px;
    color: var(--pc-gray);
    font-size: 1.2rem;
    cursor: pointer;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.pc-submit-form__spec-remove:hover {
    background: #fee;
    border-color: #e55;
    color: #c33;
}
.pc-submit-form__add-spec {
    font-size: 0.85rem;
    padding: 10px 20px;
}

/* Submit Actions */
.pc-submit-form__actions {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--pc-gray-light);
}
.pc-submit-form__submit {
    font-size: 1.1rem;
    padding: 16px 48px;
    border: none;
}
.pc-submit-form__disclaimer {
    font-size: 0.85rem;
    color: var(--pc-gray);
    margin: 1rem 0 0;
}

/* Success Message */
.pc-submit-success {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}
.pc-submit-success svg {
    color: var(--pc-gold);
    margin-bottom: 1.5rem;
}
.pc-submit-success h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0 0 1rem;
}
.pc-submit-success p {
    color: var(--pc-gray);
    line-height: 1.6;
    margin: 0 0 2rem;
}

@media (max-width: 768px) {
    .pc-submit-form__row {
        grid-template-columns: 1fr;
    }
    .pc-submit-form__spec-row {
        grid-template-columns: 1fr 1fr 36px;
    }
}

/* ==========================================================================
   No Results
   ========================================================================== */

.pc-no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--pc-gray);
}
.pc-no-results h2 {
    color: var(--pc-charcoal);
    margin-bottom: 0.5rem;
}
.pc-no-results a {
    color: var(--pc-gold);
}
.pc-no-results--small {
    padding: 2rem;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pc-pagination {
    text-align: center;
    margin: 3rem 0;
}
.pc-pagination .page-numbers {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 0;
    margin: 0;
}
.pc-pagination .page-numbers li {
    display: inline;
}
.pc-pagination .page-numbers a,
.pc-pagination .page-numbers span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--pc-charcoal);
    background: var(--pc-offwhite);
    transition: all 0.2s ease;
}
.pc-pagination .page-numbers a:hover {
    background: var(--pc-gold);
    color: var(--pc-white);
}
.pc-pagination .page-numbers .current {
    background: var(--pc-gold);
    color: var(--pc-white);
}

/* ==========================================================================
   Utility
   ========================================================================== */

.pc-text-muted {
    color: var(--pc-gray);
}
.pc-sidebar-ads {
    margin-top: 1.5rem;
}
.pc-widget {
    margin-bottom: 1.5rem;
}
.pc-widget__title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .pc-listings-grid,
    .pc-directory-grid,
    .pc-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pc-listings-grid--4col {
        grid-template-columns: repeat(2, 1fr);
    }
    .pc-directory-grid--clubs {
        grid-template-columns: repeat(2, 1fr);
    }
    .pc-lifestyle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pc-featured-coach__card {
        grid-template-columns: 1fr;
    }
    .pc-single-listing__layout,
    .pc-profile-layout,
    .pc-contact-layout {
        grid-template-columns: 1fr;
    }
    .pc-listings-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pc-hero {
        min-height: 50vh;
    }
    .pc-hero--home {
        min-height: 60vh;
    }
    .pc-hero__title {
        font-size: 2.2rem;
    }
    .pc-hero__actions {
        flex-direction: column;
        align-items: center;
    }
    .pc-page-header__title {
        font-size: 1.8rem;
    }
    .pc-stats__number {
        font-size: 2rem;
    }
    .pc-listings-grid,
    .pc-directory-grid,
    .pc-directory-grid--clubs,
    .pc-blog-grid {
        grid-template-columns: 1fr;
    }
    .pc-lifestyle-grid {
        grid-template-columns: 1fr;
    }
    .pc-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .pc-event-card__link {
        flex-direction: column;
    }
    .pc-event-card__date {
        flex-direction: row;
        gap: 8px;
        padding: 1rem;
        min-width: auto;
    }
    .pc-key-details {
        gap: 1rem;
    }
    .pc-amenities__grid {
        grid-template-columns: 1fr;
    }
    .pc-newsletter__fields {
        flex-direction: column;
        gap: 0.75rem;
    }
    .pc-newsletter__input {
        border-right: 2px solid rgba(255,255,255,0.2);
        border-radius: 6px;
    }
    .pc-newsletter__btn {
        border-radius: 6px;
    }

    /* Mobile filter toggle */
    .pc-filters__toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        position: fixed;
        bottom: 1.5rem;
        right: 1.5rem;
        z-index: 100;
        background: var(--pc-charcoal);
        color: var(--pc-white);
        border: none;
        padding: 12px 20px;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    .pc-filters:not(.pc-filters--open) .pc-filters__form {
        display: none;
    }
    .pc-filters.pc-filters--open {
        position: fixed;
        inset: 0;
        z-index: 999;
        background: var(--pc-white);
        overflow-y: auto;
        padding: 1.5rem;
    }
    .pc-filters.pc-filters--open .pc-filters__form {
        display: block;
    }
    .pc-gallery__main-img {
        max-height: 300px;
    }
    .pc-lightbox__prev,
    .pc-lightbox__next {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }
    .pc-profile-hero {
        min-height: 250px;
    }
    .pc-profile-hero__title {
        font-size: 1.8rem;
    }
}

/* Hide entire footer on homepage */
.home .site-footer {
    display: none;
}
