/* ============================================================
   BookGolfDirect.com/es - Main Stylesheet
   Colors: White, Golf Green, Gold
   ============================================================ */

/* ── CSS Variables ────────────────────────────────────────── */
:root {
    /* Greens */
    --green-900: #1b4332;
    --green-800: #2d6a4f;
    --green-700: #357a5b;
    --green-600: #40916c;
    --green-500: #52b788;
    --green-400: #74c69d;
    --green-300: #95d5b2;
    --green-200: #b7e4c7;
    --green-100: #d8f3dc;
    --green-50:  #f0faf5;

    /* Gold accents (replacing orange) */
    --orange-600: #A07A1A;
    --orange-500: #C5993E;
    --orange-400: #D4AA4F;
    --orange-300: #E0BE6A;
    --orange-200: #F0D994;
    --orange-100: #FBF0D1;
    --orange-50:  #FEFAEE;

    /* Neutrals */
    --white:     #ffffff;
    --gray-50:   #f9fafb;
    --gray-100:  #f3f4f6;
    --gray-200:  #e5e7eb;
    --gray-300:  #d1d5db;
    --gray-400:  #9ca3af;
    --gray-500:  #6b7280;
    --gray-600:  #4b5563;
    --gray-700:  #374151;
    --gray-800:  #1f2937;
    --gray-900:  #111827;

    /* Semantic */
    --success:   #10b981;
    --danger:    #ef4444;
    --warning:   #f59e0b;
    --info:      #3b82f6;

    /* Gold specific */
    --gold:      #C5993E;
    --gold-light:#E0BE6A;
    --gold-dark: #A07A1A;
    --gold-glow: rgba(197, 153, 62, .25);

    /* Typography */
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --container-max: 1280px;
    --section-pad:   80px;
    --card-radius:   16px;
    --btn-radius:    10px;

    /* Shadows */
    --shadow-sm:  0 1px 2px rgba(0,0,0,.05);
    --shadow:     0 2px 8px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
    --shadow-lg:  0 12px 24px rgba(0,0,0,.1), 0 4px 8px rgba(0,0,0,.04);
    --shadow-xl:  0 24px 48px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);
    --shadow-gold: 0 8px 24px rgba(197, 153, 62, .2);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-900); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--gray-900);
    line-height: 1.3;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Top Bar ──────────────────────────────────────────────── */
.topbar {
    background: var(--green-900);
    color: var(--green-300);
    font-size: 13px;
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-right a {
    color: var(--green-300);
    margin-left: 20px;
    font-size: 13px;
}

.topbar-right a:hover {
    color: var(--white);
}

.topbar-right a i { margin-right: 4px; }

/* ── Header / Nav ─────────────────────────────────────────── */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-name {
    font-family: 'Inter', var(--font-heading), sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--green-900, #1a2e1a);
    letter-spacing: -.03em;
    line-height: 1;
}

.logo-accent {
    color: var(--gold, #C5993E);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: var(--btn-radius);
    transition: all .2s;
}

.nav-link:hover {
    color: var(--green-800);
    background: var(--green-50);
}

.nav-link i { font-size: 10px; margin-left: 4px; }

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 8px 0;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--gray-700);
    font-size: 14px;
    transition: all .15s;
}

.nav-dropdown-menu a:hover {
    background: var(--green-50);
    color: var(--green-800);
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 4px 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: .3s;
    border-radius: 2px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    text-decoration: none;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    transition: width .4s, height .4s, top .4s, left .4s;
    transform: translate(-50%, -50%);
}

.btn:active::after {
    width: 300px; height: 300px;
}

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

.btn-primary {
    background: var(--green-800);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--green-700);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(45,106,79,.3);
    transform: translateY(-2px);
}

.btn-gold, .btn-orange {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--green-900);
    border-color: transparent;
    font-weight: 700;
}
.btn-gold:hover, .btn-orange:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--green-900);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--green-800);
    border-color: var(--green-800);
}
.btn-outline:hover {
    background: var(--green-800);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45,106,79,.25);
}

.btn-outline-gold, .btn-outline-orange {
    background: transparent;
    color: var(--gold-dark);
    border-color: var(--gold);
}
.btn-outline-gold:hover, .btn-outline-orange:hover {
    background: var(--gold);
    color: var(--green-900);
    box-shadow: var(--shadow-gold);
}

.btn-white {
    background: var(--white);
    color: var(--green-800);
    font-weight: 700;
}
.btn-white:hover {
    background: var(--green-50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,.3);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}
.btn-danger:hover {
    background: #dc2626;
    color: var(--white);
}

.btn-block { width: 100%; justify-content: center; }

.btn:disabled, .btn.disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none !important;
}

/* ── Flash Messages ───────────────────────────────────────── */
.flash {
    padding: 14px 0;
    font-size: 14px;
    font-weight: 500;
}

.flash .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-success { background: var(--green-100); color: var(--green-900); }
.flash-error { background: #fee2e2; color: #991b1b; }

.flash-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: .6;
    color: inherit;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
    position: relative;
    background: url('../img/hero-golf-sunset.jpg') center center / cover no-repeat;
    padding: 0;
    overflow: hidden;
    color: var(--white);
    min-height: 92vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        linear-gradient(160deg, rgba(13,40,24,.82) 0%, rgba(27,67,50,.7) 40%, rgba(30,70,50,.55) 70%, rgba(20,55,40,.65) 100%),
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(197,153,62,.1) 0%, transparent 70%);
    z-index: 1;
}

/* Bottom vignette for depth */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 280px;
    background: linear-gradient(to top, rgba(10,30,20,.7), transparent);
    z-index: 1;
}

/* Golf ball decoration — subtle over photo */
.hero-golf-ball {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    z-index: 2;
    opacity: .08;
    pointer-events: none;
}

.hero-golf-ball::before {
    content: '⛳';
    font-size: 280px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 60px rgba(197,153,62,.2));
}

/* Subtle dot pattern overlay */
.hero-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.015) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,.01) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px;
    z-index: 1;
    animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -5px); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
    padding: 100px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(197,153,62,.15);
    border: 1px solid rgba(197,153,62,.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    letter-spacing: .5px;
    text-transform: uppercase;
}

.hero-badge i {
    font-size: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

.hero h1 {
    font-size: 58px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 19px;
    color: rgba(220, 240, 228, .9);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 560px;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.hero-search {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--card-radius);
    padding: 6px;
    display: flex;
    gap: 0;
    margin-top: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    max-width: 600px;
    transition: all .3s;
}

.hero-search:focus-within {
    background: rgba(255,255,255,.15);
    border-color: rgba(197,153,62,.4);
    box-shadow: 0 8px 32px rgba(0,0,0,.2), 0 0 0 3px rgba(197,153,62,.15);
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    font-family: var(--font-body);
    border-radius: var(--card-radius) 0 0 var(--card-radius);
    background: transparent;
    color: var(--white);
}

.hero-search input::placeholder { color: rgba(255,255,255,.5); }
.hero-search input:focus { outline: none; }

.hero-search .btn {
    border-radius: 0 var(--btn-radius) var(--btn-radius) 0;
    white-space: nowrap;
    padding: 14px 28px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.hero-stat {
    position: relative;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(183, 228, 199, .7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ── Section ──────────────────────────────────────────────── */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-alt {
    background: var(--gray-50);
}

.section-green {
    background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-header h2 span {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header .section-line {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 20px auto 0;
    border-radius: 3px;
}

/* ── Cards Grid ───────────────────────────────────────────── */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Club Card */
.club-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .35s cubic-bezier(.4,0,.2,1);
    border: 1px solid var(--gray-200);
    position: relative;
}

.club-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: var(--gray-300);
}

.club-card-img {
    height: 220px;
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.club-card-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,.3), transparent);
    pointer-events: none;
}

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

.club-card-img .placeholder-icon {
    font-size: 48px;
    color: rgba(255,255,255,.4);
}

.club-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--green-900);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    box-shadow: 0 2px 8px rgba(197,153,62,.3);
    z-index: 2;
}

.club-card-body {
    padding: 20px;
}

.club-card-region {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 6px;
}

.club-card-body h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.club-card-body h3 a {
    color: var(--gray-900);
}

.club-card-body h3 a:hover {
    color: var(--green-800);
}

.club-card-location {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.club-card-location i {
    margin-right: 4px;
    color: var(--green-600);
}

.club-card-desc {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.club-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.club-card-courses {
    font-size: 13px;
    color: var(--gray-500);
}

.club-card-courses strong {
    color: var(--green-800);
}

.club-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.rating-up { color: var(--success); }
.rating-down { color: var(--danger); }
.rating-up i, .rating-down i { margin-right: 2px; }

/* ── Course Card ──────────────────────────────────────────── */
.course-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all .3s;
}

.course-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.course-card-header {
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    padding: 20px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.course-card-header h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 4px;
}

.course-card-header .course-type {
    font-size: 13px;
    color: var(--green-300);
}

.course-card-header .course-holes {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--green-900);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.course-card-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--gray-100);
}

.course-stat {
    padding: 14px;
    text-align: center;
    border-right: 1px solid var(--gray-100);
}

.course-stat:last-child { border-right: none; }

.course-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--green-800);
    display: block;
}

.course-stat-label {
    font-size: 11px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.course-card-body {
    padding: 20px;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.course-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--green-50);
    color: var(--green-800);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.course-tag.tag-orange {
    background: var(--orange-50);
    color: var(--orange-600);
}

.course-card-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}

.price-from {
    font-size: 13px;
    color: var(--gray-500);
}

.price-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--green-800);
}

/* ── Region cards ─────────────────────────────────────────── */
.region-card {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    height: 200px;
    background-color: var(--green-900);
    background-image:
        linear-gradient(180deg, rgba(7, 24, 14, .2) 0%, rgba(7, 24, 14, .68) 100%),
        var(--region-image, linear-gradient(135deg, var(--green-900), var(--green-700)));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.05);
}

.region-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(197,153,62,.28), transparent 58%),
        linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.08));
    transition: opacity .3s;
    opacity: 0;
}

.region-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.region-card:hover::before {
    opacity: 1;
}

.region-card-content {
    padding: 20px;
    color: var(--white);
    position: relative;
    z-index: 2;
    width: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.08) 30%, rgba(0,0,0,.6) 100%);
}

.region-card h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 2px;
}

.region-card p {
    font-size: 13px;
    color: rgba(255,255,255,.88);
}

/* ── News Cards ───────────────────────────────────────────── */
.news-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all .3s;
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.news-card-img {
    height: 180px;
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-body {
    padding: 20px;
}

.news-card-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold-dark);
    letter-spacing: .8px;
    margin-bottom: 8px;
}

.news-card-body h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.news-card-body h3 a {
    color: var(--gray-900);
}

.news-card-body h3 a:hover {
    color: var(--green-800);
}

.news-card-excerpt {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 12px;
}

.news-card-date {
    font-size: 12px;
    color: var(--gray-400);
}

/* ── External News Grid ──────────────────────────────────── */
.ext-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
}

.ext-news-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--green-900);
    display: block;
    text-decoration: none;
    color: var(--white);
    transition: transform .3s, box-shadow .3s;
}

.ext-news-card-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.ext-news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.ext-news-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .4s;
}

.ext-news-card:hover .ext-news-card-bg {
    transform: scale(1.05);
}

.ext-news-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 55%;
}

.ext-news-card-source {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--gold-light);
    margin-bottom: 6px;
}

.ext-news-card-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ext-news-card-lg .ext-news-card-title {
    font-size: 18px;
    -webkit-line-clamp: 4;
}

.ext-news-card-lg .ext-news-card-source {
    font-size: 11px;
    margin-bottom: 8px;
}

.ext-news-card-date {
    font-size: 11px;
    color: rgba(255,255,255,.55);
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .ext-news-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
    .ext-news-card-lg { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 768px) {
    .ext-news-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .ext-news-card-lg { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 480px) {
    .ext-news-grid { grid-template-columns: 1fr; grid-auto-rows: 160px; }
    .ext-news-card-lg { grid-column: span 1; grid-row: span 2; }
}

/* ── External Article Detail ─────────────────────────────── */
.external-article {
    max-width: 800px;
    margin: 0 auto;
}

.external-article-image {
    border-radius: var(--card-radius);
    overflow: hidden;
    margin-bottom: 24px;
}

.external-article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.external-article h1 {
    font-size: 32px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.external-article-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--gray-500);
}

.source-badge {
    background: var(--green-50);
    color: var(--green-800);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}

.external-article-excerpt {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 30px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--card-radius);
    border-left: 4px solid var(--green-600);
}

.external-article-actions {
    text-align: center;
    margin-bottom: 24px;
}

.external-article-credit {
    text-align: center;
    font-size: 13px;
    color: var(--gray-400);
    padding: 16px;
    border-top: 1px solid var(--gray-200);
}

.external-article-credit a {
    color: var(--green-700);
}

/* ── Detail Hero (Club/Course) ────────────────────────────── */
.detail-hero {
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
    padding: 60px 0 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.detail-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .45;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--green-300);
}

.breadcrumb a:hover { color: var(--white); }

.breadcrumb .sep {
    color: var(--green-600);
}

.detail-hero h1 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 10px;
}

.detail-hero .detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 15px;
    color: var(--green-200);
    margin-bottom: 20px;
}

.detail-meta i {
    margin-right: 6px;
    color: var(--gold-light);
}

.detail-hero .detail-rating {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.rating-badge.rate-up {
    background: rgba(16, 185, 129, .15);
    color: #34d399;
}

.rating-badge.rate-down {
    background: rgba(239, 68, 68, .15);
    color: #f87171;
}

/* ── Detail Content ───────────────────────────────────────── */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 40px 0;
}

.detail-main {}

.detail-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section h2 {
    font-size: 26px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green-100);
}

.detail-section p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ── Facilities Grid ──────────────────────────────────────── */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--green-50);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--green-900);
}

.facility-item i {
    color: var(--green-600);
    width: 20px;
    text-align: center;
}

/* ── Scorecard Table ──────────────────────────────────────── */
.scorecard-wrap {
    overflow-x: auto;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.scorecard {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 700px;
}

.scorecard th,
.scorecard td {
    padding: 10px 12px;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.scorecard thead th {
    background: var(--green-800);
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.scorecard .hole-num {
    background: var(--green-900);
    color: var(--gold-light);
    font-weight: 700;
}

.scorecard .tee-black { background: #2d2d2d; color: var(--white); }
.scorecard .tee-white { background: var(--gray-100); }
.scorecard .tee-yellow { background: #fef3c7; }
.scorecard .tee-blue { background: #dbeafe; }
.scorecard .tee-red { background: #fee2e2; }

.scorecard .par-row { background: var(--green-50); font-weight: 700; }
.scorecard .hcp-row { background: var(--orange-50); }

.scorecard .total-col {
    background: var(--green-800) !important;
    color: var(--white) !important;
    font-weight: 700;
}

/* ── Booking Sidebar Widget ───────────────────────────────── */
.booking-widget {
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.booking-widget-header {
    background: var(--green-800);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.booking-widget-header h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 4px;
}

.booking-widget-header p {
    color: var(--green-300);
    font-size: 14px;
}

.booking-widget-body {
    padding: 20px;
}

.booking-widget-price {
    text-align: center;
    padding: 16px;
    background: var(--green-50);
    border-radius: 8px;
    margin-bottom: 16px;
}

.booking-widget-price .from {
    font-size: 13px;
    color: var(--gray-500);
}

.booking-widget-price .amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--green-800);
}

.booking-widget-price .per {
    font-size: 13px;
    color: var(--gray-500);
}

/* ── Forms ────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    font-family: var(--font-body);
    border: 1px solid var(--gray-300);
    border-radius: var(--btn-radius);
    transition: all .2s;
    background: var(--white);
    color: var(--gray-800);
}

.form-control:focus {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(82, 183, 136, .15);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-hint {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

.form-error {
    font-size: 12px;
    color: var(--danger);
    margin-top: 4px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* ── Review Section ───────────────────────────────────────── */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--card-radius);
    border: 1px solid var(--gray-200);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-user {
    font-weight: 600;
    color: var(--gray-800);
}

.review-date {
    font-size: 13px;
    color: var(--gray-400);
}

.review-rating {
    font-size: 18px;
    margin-bottom: 8px;
}

.review-comment {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

.review-form {
    background: var(--green-50);
    padding: 24px;
    border-radius: var(--card-radius);
    margin-top: 20px;
}

.review-form h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.rating-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.rating-option {
    flex: 1;
}

.rating-option input { display: none; }

.rating-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid var(--gray-300);
    border-radius: var(--btn-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all .2s;
}

.rating-option input:checked + label.rate-up {
    border-color: var(--success);
    background: #ecfdf5;
    color: var(--success);
}

.rating-option input:checked + label.rate-down {
    border-color: var(--danger);
    background: #fef2f2;
    color: var(--danger);
}

/* ── Badges ───────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success { background: #ecfdf5; color: #065f46; }
.badge-info { background: #eff6ff; color: #1e40af; }
.badge-warning { background: #fffbeb; color: #92400e; }
.badge-orange { background: var(--orange-100); color: var(--orange-600); }
.badge-danger { background: #fef2f2; color: #991b1b; }
.badge-secondary { background: var(--gray-100); color: var(--gray-600); }

/* ── Pagination ───────────────────────────────────────────── */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    display: flex;
    list-style: none;
    gap: 4px;
}

.pagination li a {
    display: block;
    padding: 8px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--btn-radius);
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}

.pagination li.active a,
.pagination li a:hover {
    background: var(--green-800);
    color: var(--white);
    border-color: var(--green-800);
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta {
    background: linear-gradient(160deg, #0d2818, var(--green-900), var(--green-800));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(197,153,62,.1), transparent 60%);
    pointer-events: none;
}

.cta h2 {
    font-size: 38px;
    color: var(--white);
    margin-bottom: 14px;
    position: relative;
}

.cta p {
    color: rgba(183, 228, 199, .75);
    font-size: 18px;
    margin-bottom: 36px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
}

.cta .btn { margin: 0 8px; position: relative; }

/* ── Credits / Pricing ────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--gray-200);
    overflow: hidden;
    text-align: center;
    transition: all .3s;
}

.pricing-card:hover {
    border-color: var(--green-500);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--gold);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Best Value';
    position: absolute;
    top: 0; left: 0; right: 0;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--green-900);
    padding: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card-body {
    padding: 40px 24px 24px;
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.pricing-credits {
    font-size: 48px;
    font-weight: 800;
    color: var(--green-800);
    line-height: 1;
    margin: 16px 0 4px;
}

.pricing-credits span {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-bonus {
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 16px 0;
}

.pricing-price span {
    font-size: 16px;
    color: var(--gray-500);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    font-size: 14px;
}

.pricing-features li {
    padding: 6px 0;
    color: var(--gray-600);
}

.pricing-features li i {
    color: var(--green-600);
    margin-right: 8px;
    width: 16px;
}

.pricing-card .btn { margin-top: 12px; }

/* ── Dashboard ────────────────────────────────────────────── */

/* Hero Banner */
.db-hero {
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 50%, var(--green-600) 100%);
    padding: 48px 0 40px;
    position: relative;
    overflow: hidden;
}
.db-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
    pointer-events: none;
}
.db-hero::after{
    content:'';
    position:absolute;
    bottom:0; left:0; right:0;
    height:4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.db-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}
.db-hero-greeting {
    font-size: 15px;
    color: var(--green-300);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.db-hero-name {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.15;
}
.db-hero-club {
    color: var(--green-200);
    font-size: 15px;
}
.db-hero-club i {
    color: var(--gold-light);
    margin-right: 4px;
}
.db-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--green-900);
    font-weight: 700;
    border: none;
    box-shadow: var(--shadow-gold);
    transition: transform .2s, box-shadow .2s;
}
.btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(197,153,62,.35);
    color: var(--green-900);
}
.btn-outline-white {
    border: 1.5px solid rgba(255,255,255,.4);
    color: var(--white);
    background: transparent;
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.7);
    color: var(--white);
}
.btn-xs {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 8px;
}

/* Stats Strip */
.db-stats-strip {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0;
    position: relative;
    z-index: 2;
}
.db-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.db-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    border-right: 1px solid var(--gray-100);
    transition: background .2s;
}
.db-stat-card:last-child { border-right: none; }
.db-stat-card:hover { background: var(--gray-50); }
.db-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.db-stat--green .db-stat-icon { background: var(--green-100); color: var(--green-700); }
.db-stat--blue .db-stat-icon  { background: #eff6ff; color: #2563eb; }
.db-stat--amber .db-stat-icon { background: var(--orange-100); color: var(--orange-500); }
.db-stat--teal .db-stat-icon  { background: #ccfbf1; color: #0d9488; }
.db-stat-body {
    display: flex;
    flex-direction: column;
}
.db-stat-val {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: var(--gray-800);
    font-variant-numeric: tabular-nums;
}
.db-stat-lbl {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 4px;
}

/* Tab Navigation */
.db-tabs-wrap {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 70px;
    z-index: 10;
}
.db-tabs {
    display: flex;
    gap: 0;
}
.db-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s, background .2s;
    white-space: nowrap;
}
.db-tab i { font-size: 15px; }
.db-tab:hover {
    color: var(--green-700);
    background: var(--green-50);
}
.db-tab.active {
    color: var(--green-800);
    border-bottom-color: var(--gold);
}

/* Content Area */
.db-content {
    padding: 32px 0 60px;
    background: var(--gray-50);
    min-height: 50vh;
}

/* Layout: main + sidebar */
.db-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

/* Panel Card */
.db-panel {
    background: var(--white);
    border-radius: var(--card-radius);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.db-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
}
.db-panel-head h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 10px;
}
.db-panel-head h3 i {
    color: var(--green-600);
    font-size: 16px;
}
.db-panel-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color .2s;
}
.db-panel-link:hover { color: var(--gold); }
.db-panel-count {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
}
.db-panel-desc {
    padding: 16px 24px 20px;
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Table inside panels */
.db-table-wrap {
    overflow-x: auto;
}
.db-table {
    width: 100%;
    border-collapse: collapse;
}
.db-table th,
.db-table td {
    padding: 14px 20px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-100);
}
.db-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-600);
    white-space: nowrap;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.db-table tbody tr {
    transition: background .15s;
}
.db-table tbody tr:hover {
    background: var(--green-50);
}
.db-table tbody tr:last-child td {
    border-bottom: none;
}
.db-id {
    font-weight: 700;
    color: var(--gray-400);
    font-size: 13px;
}
.db-contact-peek {
    font-size: 13px;
    line-height: 1.4;
}
.db-contact-peek a {
    color: var(--green-700);
    text-decoration: none;
}
.db-contact-peek a:hover { text-decoration: underline; }
.db-hidden-label {
    color: var(--gray-400);
    font-size: 13px;
}
.db-hidden-label i { margin-right: 4px; }

/* Empty State */
.db-empty {
    padding: 60px 40px;
    text-align: center;
}
.db-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--green-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.db-empty-icon i {
    font-size: 28px;
    color: var(--green-400);
}
.db-empty h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 8px;
}
.db-empty p {
    font-size: 14px;
    color: var(--gray-500);
    max-width: 360px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sidebar Cards */
.db-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.db-side-card {
    background: var(--white);
    border-radius: var(--card-radius);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}
.db-side-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.db-side-title i {
    color: var(--gold);
    font-size: 14px;
}

/* Quick Action Buttons */
.db-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.db-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}
.db-action-btn:hover {
    transform: translateX(3px);
}
.db-action-btn i {
    width: 18px;
    text-align: center;
}
.db-action--gold {
    background: var(--orange-50);
    color: var(--gold-dark);
    border: 1px solid var(--orange-200);
}
.db-action--gold:hover { box-shadow: 0 4px 12px rgba(197,153,62,.15); color: var(--gold-dark); }
.db-action--green {
    background: var(--green-50);
    color: var(--green-700);
    border: 1px solid var(--green-200);
}
.db-action--green:hover { box-shadow: 0 4px 12px rgba(45,106,79,.12); color: var(--green-700); }
.db-action--blue {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}
.db-action--blue:hover { box-shadow: 0 4px 12px rgba(37,99,235,.12); color: #2563eb; }

/* Club Card */
.db-club-card {
    text-align: center;
    background: linear-gradient(135deg, var(--green-50) 0%, var(--white) 100%);
}
.db-club-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.db-club-icon i {
    font-size: 22px;
    color: var(--green-700);
}
.db-club-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}
.db-club-loc {
    font-size: 13px;
    color: var(--gray-500);
}
.db-club-loc i {
    color: var(--gold);
    margin-right: 3px;
}

/* Credit Gauge */
.db-credit-gauge {
    text-align: center;
}
.db-gauge-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid var(--green-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--green-50), var(--white));
    box-shadow: inset 0 2px 8px rgba(0,0,0,.04);
}
.db-gauge-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--green-800);
    line-height: 1;
}
.db-gauge-lbl {
    font-size: 11px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 2px;
}
.db-gauge-warn {
    font-size: 13px;
    color: var(--orange-500);
    font-weight: 500;
}
.db-gauge-warn i { margin-right: 4px; }
.db-gauge-warn a {
    color: var(--gold-dark);
    font-weight: 700;
    text-decoration: underline;
}

/* Credit Banner (Credits Tab) */
.db-credit-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
    border-radius: var(--card-radius);
    padding: 28px 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}
.db-credit-banner-left {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.db-credit-big {
    font-size: 42px;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
}
.db-credit-word {
    font-size: 16px;
    color: var(--green-200);
    font-weight: 500;
}
.db-credit-amount {
    font-weight: 800;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}
.db-credit-amount.positive { color: var(--green-700); }
.db-credit-amount.negative { color: #ef4444; }

/* Photo Section */
.db-photo-section {
    background: var(--white);
    border-radius: var(--card-radius);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    margin-top: 20px;
}
.db-photo-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.db-photo-header > i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--green-100);
    color: var(--green-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.db-photo-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 2px;
}
.db-photo-header span {
    font-size: 13px;
    color: var(--gray-500);
}

/* Upload Form */
.db-upload-form {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 20px;
    border: 1px dashed var(--gray-300);
    margin-bottom: 20px;
}
.db-upload-fields {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.db-upload-field {
    flex: 1;
    min-width: 180px;
}
.db-upload-field label {
    font-weight: 600;
    font-size: 13px;
    color: var(--gray-600);
    display: block;
    margin-bottom: 6px;
}
.db-upload-field label i {
    margin-right: 4px;
    color: var(--gray-400);
}
.db-upload-btn {
    height: 42px;
    white-space: nowrap;
}
.db-upload-form .text-muted {
    display: block;
    margin-top: 10px;
    font-size: 12px;
}

/* ── Dashboard Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .db-layout {
        grid-template-columns: 1fr;
    }
    .db-side {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .db-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .db-stat-card {
        border-right: none;
        border-bottom: 1px solid var(--gray-100);
    }
    .db-stat-card:nth-child(odd) { border-right: 1px solid var(--gray-100); }
    .db-hero-name { font-size: 28px; }
}
@media (max-width: 768px) {
    .db-hero { padding: 32px 0 28px; }
    .db-hero-name { font-size: 24px; }
    .db-hero-inner { text-align: center; justify-content: center; }
    .db-hero-actions { justify-content: center; }
    .db-stats-row { grid-template-columns: 1fr 1fr; }
    .db-stat-card { padding: 16px 20px; }
    .db-stat-val { font-size: 22px; }
    .db-tabs { overflow-x: auto; }
    .db-tab { padding: 14px 16px; font-size: 13px; }
    .db-tab span { display: none; }
    .db-tab i { font-size: 18px; }
    .db-side { grid-template-columns: 1fr; }
    .db-layout { gap: 20px; }
    .db-credit-banner { padding: 20px 24px; }
    .db-credit-big { font-size: 32px; }
    .db-upload-fields { flex-direction: column; }
    .db-photo-section { padding: 20px; }
}
@media (max-width: 480px) {
    .db-stats-row { grid-template-columns: 1fr; }
    .db-stat-card { border-right: none !important; }
    .db-table th, .db-table td { padding: 10px 14px; font-size: 13px; }
}


/* ── Table ────────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}

.data-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

.data-table tr:hover td {
    background: var(--green-50);
}

.data-table .status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-sent_free { background: #ecfdf5; color: #065f46; }
.status-sent_hidden { background: #fffbeb; color: #92400e; }
.status-released { background: #eff6ff; color: #1e40af; }
.status-pending { background: var(--gray-100); color: var(--gray-600); }
.status-completed { background: #ecfdf5; color: #065f46; }

/* ── Hole Detail Card ─────────────────────────────────────── */
.hole-card {
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    margin-bottom: 20px;
}

.hole-card-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: var(--green-800);
    color: var(--white);
    gap: 16px;
}

.hole-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--green-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
}

.hole-card-header h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 2px;
}

.hole-par-info {
    font-size: 13px;
    color: var(--green-300);
}

.hole-card-body {
    padding: 20px;
}

.hole-distances {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.hole-dist {
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
}

.hole-dist .dist-value {
    font-weight: 700;
    font-size: 16px;
    display: block;
}

.hole-dist.tee-black { background: #1f2937; color: var(--white); }
.hole-dist.tee-white { background: var(--gray-100); color: var(--gray-800); }
.hole-dist.tee-yellow { background: #fef3c7; color: #92400e; }
.hole-dist.tee-blue { background: #dbeafe; color: #1e40af; }
.hole-dist.tee-red { background: #fee2e2; color: #991b1b; }

.hole-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hole-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-600);
}

.hole-feature i {
    color: var(--green-600);
}

/* ── Auth Pages ───────────────────────────────────────────── */
.auth-page,
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--gray-50);
}
.auth-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-card {
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    max-width: 440px;
    width: 100%;
    overflow: hidden;
}

.auth-header {
    background: var(--green-800);
    padding: 30px;
    text-align: center;
    color: var(--white);
}

.auth-header h1,
.auth-header h2 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 4px;
}

.auth-header p {
    color: var(--green-300);
    font-size: 14px;
}

.auth-body {
    padding: 30px;
}

/* Auth Form Styling */
.auth-form {
    padding: 28px 30px 10px;
}
.auth-form .form-group {
    margin-bottom: 18px;
}
.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--green-900, #1a2e1a);
    margin-bottom: 6px;
}
.auth-form label small {
    font-weight: 400;
    color: var(--gray-400);
}
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="tel"],
.auth-form input[type="password"],
.auth-form select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 8px;
    font-size: 14px;
    color: var(--green-900, #1a2e1a);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
}
.auth-form input:focus,
.auth-form select:focus {
    border-color: var(--gold, #C5993E);
    box-shadow: 0 0 0 3px rgba(197,153,62,.12);
    outline: none;
}
.auth-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.auth-form .text-muted {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--gray-400);
}
.auth-form .text-muted a {
    color: var(--gold, #C5993E);
    font-weight: 600;
}
.auth-form .btn-block {
    margin-top: 6px;
}

.auth-footer {
    text-align: center;
    padding: 16px 30px;
    background: var(--gray-50);
    font-size: 14px;
    color: var(--gray-500);
    border-top: 1px solid var(--gray-200);
}

.auth-footer a {
    color: var(--green-700);
    font-weight: 600;
}

/* ── Page Hero (smaller) ──────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
    padding: 50px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/placeholders/golf-course-dawn.jpg') center / cover no-repeat;
    opacity: .3;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 8px;
}

.page-hero p {
    color: var(--green-200);
    font-size: 17px;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
    background: var(--green-900);
    color: var(--green-300);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo .logo-name { font-size: 20px; color: var(--white); font-family: 'Inter', var(--font-heading), sans-serif; font-weight: 800; letter-spacing: -.03em; }

.footer p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul a {
    color: var(--green-300);
    font-size: 14px;
    transition: all .2s;
}

.footer ul a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-300);
    transition: all .2s;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--green-900);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-4    { grid-template-columns: repeat(2, 1fr); }
    .grid-3    { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    
    .hero h1 { font-size: 42px; }
    .hero { min-height: auto; }
    .hero-content { padding: 80px 0 60px; }
    .hero-stats { gap: 24px; }
    .hero-golf-ball { display: none; }
    .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 16px; }
    
    .nav { 
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }
    
    .nav.active { display: flex; }
    .nav-dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 20px; }
    .nav-dropdown:hover .nav-dropdown-menu { display: none; }
    .nav-dropdown.active .nav-dropdown-menu { display: block; }
    
    .mobile-toggle { display: flex; }
    
    .hero { min-height: auto; }
    .hero-content { padding: 60px 0 50px; }
    .hero h1 { font-size: 32px; letter-spacing: 0; }
    .hero p { font-size: 16px; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .hero-stat-number { font-size: 28px; }
    .hero-search { flex-direction: column; }
    .hero-search .btn { border-radius: var(--btn-radius); }
    .hero-badge { font-size: 11px; }
    
    .detail-hero h1 { font-size: 28px; }
    .detail-meta { flex-direction: column; gap: 8px; }
    
    .form-row { grid-template-columns: 1fr; }
    .course-card-stats { grid-template-columns: repeat(2, 1fr); }
    .hole-distances { grid-template-columns: repeat(3, 1fr); }
    
    .topbar { display: none; }
    .header-inner { height: 60px; }
    .header-actions .btn { display: none; }
    
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 28px; }
    
    .trust-items { gap: 20px; }
    .trust-item { font-size: 13px; }
}

/* ── Utility ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-green  { color: var(--green-800); }
.text-orange { color: var(--gold); }
.text-muted  { color: var(--gray-500); }
.text-sm     { font-size: 14px; }
.text-xs     { font-size: 12px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.p-2  { padding: 16px; }
.p-3  { padding: 24px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center  { display: flex; justify-content: center; align-items: center; }
.flex-wrap    { flex-wrap: wrap; }
.hidden { display: none !important; }

/* ── Loading / Animation ──────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn .4s ease-out;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all .7s cubic-bezier(.4,0,.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Counter animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--green-600);
    border-radius: 50%;
    animation: spin .6s linear infinite;
    display: inline-block;
}

/* ── How It Works Steps ───────────────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--green-500), var(--gold));
    opacity: .2;
    border-radius: 3px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    position: relative;
    background: var(--white);
    border-radius: var(--card-radius);
    border: 1px solid var(--gray-200);
    transition: all .35s;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

.step-icon {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 34px;
    position: relative;
    transition: all .35s;
}

.step-card:hover .step-icon {
    transform: scale(1.08) rotate(-3deg);
}

.step-icon.step-green {
    background: var(--green-100);
    color: var(--green-800);
}

.step-icon.step-gold {
    background: var(--orange-100);
    color: var(--gold-dark);
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--green-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(197,153,62,.3);
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.step-card p {
    color: var(--gray-500);
    font-size: 15px;
    line-height: 1.6;
}

/* ── Trust Strip ──────────────────────────────────────────── */
.trust-strip {
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    padding: 32px 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
}

.trust-item i {
    font-size: 20px;
    color: var(--gold);
}

/* ── Regions enhanced ─────────────────────────────────────── */
.regions-section .grid-4 {
    gap: 16px;
}

/* ── Glassmorphism helper ─────────────────────────────────── */
.glass {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.12);
}

/* ── Map placeholder ──────────────────────────────────────── */
.map-placeholder {
    height: 300px;
    background: var(--gray-100);
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 14px;
    border: 2px dashed var(--gray-300);
}

.map-placeholder i {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}

/* ── Explorer Map Section ─────────────────────────────────── */
.explorer-section {
    background: var(--gray-50);
    padding: 80px 0 90px;
}

.explorer-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.06);
    height: 620px;
    background: var(--white);
}

/* --- List Panel --- */
.explorer-list {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--gray-200);
    height: 100%;
    background: var(--white);
}

.explorer-list-header {
    padding: 24px 24px 0;
    flex-shrink: 0;
}

.explorer-list-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 4px;
}

.explorer-list-header p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.explorer-search {
    position: relative;
    margin-bottom: 0;
}

.explorer-search input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--font-body);
    background: var(--gray-50);
    transition: all .2s;
    color: var(--green-900);
}

.explorer-search input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(197,153,62,.12);
}

.explorer-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
    pointer-events: none;
}

.explorer-list-count {
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .8px;
    border-bottom: 1px solid var(--gray-100);
    flex-shrink: 0;
}

.explorer-list-count span {
    color: var(--gold-dark);
}

.explorer-items {
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.explorer-items::-webkit-scrollbar {
    width: 5px;
}

.explorer-items::-webkit-scrollbar-track {
    background: transparent;
}

.explorer-items::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.explorer-items::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

.explorer-item {
    display: flex;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
}

.explorer-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gold);
    opacity: 0;
    transition: opacity .2s;
    border-radius: 0 3px 3px 0;
}

.explorer-item:hover {
    background: var(--gray-50);
}

.explorer-item.active {
    background: linear-gradient(135deg, rgba(197,153,62,.06), rgba(197,153,62,.02));
}

.explorer-item.active::before {
    opacity: 1;
}

.explorer-item-img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.explorer-item-img .placeholder-icon {
    color: var(--gray-300);
    font-size: 24px;
}

.explorer-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.explorer-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.explorer-item.active .explorer-item-name {
    color: var(--gold-dark);
}

.explorer-item-location {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.explorer-item-location i {
    color: var(--gold);
    margin-right: 4px;
    font-size: 10px;
}

.explorer-item-meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.explorer-item-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.badge-courses {
    background: rgba(27,67,50,.08);
    color: var(--green-700);
}

.badge-featured {
    background: linear-gradient(135deg, rgba(197,153,62,.12), rgba(197,153,62,.06));
    color: var(--gold-dark);
}

/* --- Map Panel --- */
.explorer-map {
    position: relative;
    height: 100%;
}

.explorer-map #explorerMap {
    width: 100%;
    height: 100%;
    border-radius: 0 20px 20px 0;
}

/* Leaflet popup styling */
.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.18) !important;
    padding: 0 !important;
}

.leaflet-popup-content {
    margin: 14px 16px !important;
    font-family: var(--font-body) !important;
}

.map-control-btn.active {
    background: var(--gold);
    color: var(--white);
}

/* Mapbox/MapLibre popup */
.map-popup {
    font-family: var(--font-body);
}

.map-popup-inner {
    padding: 2px;
}

.map-popup-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 4px;
}

.map-popup-location {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.map-popup-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-dark);
    text-decoration: none;
}

.map-popup-link:hover {
    color: var(--gold);
}

/* Custom marker */
.map-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    border: 2.5px solid var(--white);
    box-shadow: 0 0 0 3px rgba(197,153,62,.4), 0 2px 8px rgba(0,0,0,.4);
    cursor: pointer;
    transition: all .2s ease;
}

.map-marker:hover,
.map-marker.active {
    background: #ffd700;
    transform: scale(1.6);
    box-shadow: 0 0 0 5px rgba(255,215,0,.45), 0 3px 10px rgba(0,0,0,.5);
    z-index: 10;
}

.map-marker.featured {
    background: #ffd700;
    width: 16px;
    height: 16px;
    box-shadow: 0 0 0 3px rgba(255,215,0,.45), 0 2px 8px rgba(0,0,0,.4);
}

/* ── Club Detail Map ──────────────────────────────────────── */
.club-map-wrap {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border: 1px solid var(--gray-200);
}

.club-map {
    width: 100%;
    height: 360px;
}

.club-map-link {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--white);
    color: var(--green-800);
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    transition: all .2s;
}

.club-map-link:hover {
    background: var(--gold);
    color: var(--white);
}

/* Responsive explorer */
@media (max-width: 1024px) {
    .explorer-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    .explorer-list {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
        height: auto;
        max-height: none;
    }
    .explorer-items {
        max-height: 350px;
    }
    .explorer-map {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .explorer-section {
        padding: 50px 0 60px;
    }
    .explorer-layout {
        border-radius: 16px;
    }
    .explorer-items {
        max-height: 280px;
    }
    .explorer-map {
        height: 380px;
    }
    .explorer-list-header {
        padding: 20px 20px 0;
    }
    .explorer-item {
        padding: 12px 20px;
    }
    .explorer-list-count {
        padding: 10px 20px;
    }
}

/* ─── Map CTA Section ─── */
.map-cta-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.map-cta-card {
    position: relative;
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 40%, #1B4332 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(27,67,50,.25), 0 1px 3px rgba(0,0,0,.06);
}

.map-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(197,153,62,.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(197,153,62,.08) 0%, transparent 60%);
    pointer-events: none;
}

.map-cta-content {
    position: relative;
    z-index: 1;
}

.map-cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(197,153,62,.2), rgba(197,153,62,.08));
    border: 2px solid rgba(197,153,62,.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--gold);
}

.map-cta-content h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -.02em;
}

.map-cta-content p {
    font-size: 16px;
    color: rgba(255,255,255,.7);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.btn-map-explorer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #C5993E 0%, #D4A94E 50%, #C5993E 100%);
    color: #1B4332;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    letter-spacing: .02em;
    box-shadow: 0 8px 24px rgba(197,153,62,.35), 0 2px 6px rgba(0,0,0,.1);
    transition: all .3s ease;
    font-family: var(--font-body);
}

.btn-map-explorer:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(197,153,62,.45), 0 4px 12px rgba(0,0,0,.15);
    background: linear-gradient(135deg, #D4A94E 0%, #E0B95E 50%, #D4A94E 100%);
}

.btn-map-explorer:active {
    transform: translateY(0);
}

.btn-map-explorer i {
    font-size: 18px;
}

.map-cta-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.map-cta-flag {
    position: absolute;
    bottom: 20px;
    right: 60px;
    font-size: 48px;
    color: rgba(197,153,62,.1);
    transform: rotate(-15deg);
}

.map-cta-flag-2 {
    bottom: auto;
    top: 20px;
    right: auto;
    left: 40px;
    font-size: 36px;
    transform: rotate(20deg);
    color: rgba(255,255,255,.05);
}

/* ─── Map Modal ─── */
.map-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.map-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.map-modal {
    width: 94vw;
    max-width: 1400px;
    height: 85vh;
    max-height: 800px;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.1);
    transform: scale(.92) translateY(20px);
    transition: transform .35s cubic-bezier(.16,1,.3,1);
}

.map-modal-overlay.active .map-modal {
    transform: scale(1) translateY(0);
}

.map-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: linear-gradient(135deg, #1B4332, #2D6A4F);
    flex-shrink: 0;
}

.map-modal-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.map-modal-icon {
    width: 44px;
    height: 44px;
    background: rgba(197,153,62,.18);
    border: 1.5px solid rgba(197,153,62,.35);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gold);
}

.map-modal-title h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px;
}

.map-modal-title p {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    margin: 0;
}

.map-modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    color: rgba(255,255,255,.8);
    cursor: pointer;
    font-size: 16px;
    transition: all .2s;
}

.map-modal-close:hover {
    background: rgba(255,255,255,.2);
    color: #fff;
}

.map-modal-body {
    flex: 1;
    overflow: hidden;
}

.map-modal-body .explorer-layout {
    height: 100%;
    border-radius: 0;
    box-shadow: none;
}

.map-modal-body .explorer-map #explorerMap {
    border-radius: 0;
}

/* Modal responsive */
@media (max-width: 1024px) {
    .map-modal-body .explorer-layout {
        grid-template-columns: 1fr;
        height: 100%;
        overflow-y: auto;
    }
    .map-modal-body .explorer-list {
        max-height: 40%;
    }
    .map-modal-body .explorer-map {
        height: 60%;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .map-modal {
        width: 100vw;
        height: 100vh;
        max-height: none;
        border-radius: 0;
    }
    .map-modal-header {
        padding: 16px 20px;
    }
    .map-modal-title h3 {
        font-size: 17px;
    }
    .map-cta-card {
        padding: 40px 24px;
    }
    .map-cta-content h2 {
        font-size: 24px;
    }
    .map-cta-icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }
    .btn-map-explorer {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* ============================================================
   LUXURY CLUB DETAIL PAGE ENHANCEMENTS
   ============================================================ */

/* ── Cinematic Hero ───────────────────────────────────────── */
.detail-hero--luxe {
    padding: 80px 0 50px;
    background: linear-gradient(160deg, var(--green-900) 0%, #0f2e1f 40%, #1a3c2a 100%);
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,46,31,.85) 0%, rgba(27,67,50,.4) 50%, rgba(27,67,50,.6) 100%);
    z-index: 1;
}

.hero-membership-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(197, 153, 62, .15);
    border: 1px solid rgba(197, 153, 62, .3);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.detail-hero--luxe h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.hero-tagline {
    font-size: 17px;
    color: var(--green-200);
    font-style: italic;
    margin-bottom: 20px;
    max-width: 600px;
    font-family: var(--font-heading);
}

.detail-hero-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.hero-cta-group {
    display: flex;
    gap: 12px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border: none;
    font-weight: 600;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,.3);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,.1);
    color: var(--white);
    border-color: rgba(255,255,255,.5);
}

/* ── Stats Bar ────────────────────────────────────────────── */
.club-stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.stats-bar-inner {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.stat-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 32px;
    position: relative;
}

.stat-bar-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--gray-200);
}

.stat-bar-value {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--green-800);
}

.stat-bar-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    margin-top: 2px;
}

/* ── Section Heading Luxe ─────────────────────────────────── */
.detail-section--classic {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-100);
}

.detail-section--classic:last-child {
    border-bottom: none;
}

.section-heading-luxe {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.section-heading-luxe h2 {
    font-size: 26px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    line-height: 1.2;
}

.section-heading-luxe .section-subtitle {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--green-50);
    color: var(--green-600);
    font-size: 20px;
    flex-shrink: 0;
}

.section-heading-icon--gold {
    background: var(--orange-50);
    color: var(--gold);
}

/* ── About Section ────────────────────────────────────────── */
.about-content {
    color: var(--gray-600);
    line-height: 1.8;
}

.about-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.9;
}

.about-text::first-line {
    font-weight: 500;
    color: var(--gray-700);
}

.designer-credit {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--orange-50), #fff);
    border: 1px solid var(--orange-100);
    border-radius: 12px;
    border-left: 4px solid var(--gold);
}

.designer-credit > i {
    color: var(--gold);
    font-size: 20px;
}

.designer-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    font-weight: 600;
}

.designer-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    font-family: var(--font-heading);
}

/* ── Facilities Luxe ──────────────────────────────────────── */
.facilities-group-title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.facilities-group-title i {
    color: var(--green-500);
    font-size: 12px;
}

.facilities-grid--luxe {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
}

.facility-item--luxe {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 14px 16px;
    transition: all .2s;
}

.facility-item--luxe:hover {
    border-color: var(--green-300);
    box-shadow: 0 2px 8px rgba(82,183,136,.1);
}

.facility-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--green-50);
    color: var(--green-600);
    font-size: 14px;
    flex-shrink: 0;
}

.facility-icon-wrap--gold {
    background: var(--orange-50);
    color: var(--gold);
}

.facility-item--service {
    border-color: var(--orange-100);
}

.facility-item--service:hover {
    border-color: var(--gold-light);
    box-shadow: 0 2px 8px rgba(197,153,62,.1);
}

/* ── Course Card Luxe ─────────────────────────────────────── */
.course-card--luxe {
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    transition: all .3s;
}

.course-card--luxe:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--green-200);
}

.course-card--luxe .course-card-header {
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
}

.course-grass-info {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray-500);
    margin: 8px 0 12px;
    padding: 8px 0;
    border-top: 1px solid var(--gray-100);
}

.course-grass-info strong {
    color: var(--gray-600);
    font-weight: 600;
}

/* ── Location Section ─────────────────────────────────────── */
.location-address-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    margin-bottom: 20px;
}

.location-address-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
}

.location-address-item:last-child {
    border-bottom: none;
}

.location-address-item > i {
    color: var(--green-600);
    width: 18px;
    text-align: center;
    margin-top: 3px;
}

.location-address-item strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-400);
    font-weight: 600;
    margin-bottom: 2px;
}

.location-address-item span {
    color: var(--gray-700);
}

/* ── Review Enhancements ──────────────────────────────────── */
.review-summary-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.review-summary-stat {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.review-summary-big {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--green-800);
    line-height: 1;
}

.review-summary-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 6px;
    font-weight: 500;
}

.review-summary-label i {
    margin-right: 4px;
}

.review-summary-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-200);
    flex-shrink: 0;
}

.empty-reviews {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-400);
}

.empty-reviews i {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--gray-300);
}

.empty-reviews p {
    font-size: 15px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-heading);
}

.review-form h3 i {
    color: var(--gold);
    margin-right: 8px;
}

.review-form-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
    margin-top: -8px;
}

/* ── Booking Widget Luxe ──────────────────────────────────── */
.booking-widget--luxe {
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.booking-widget--luxe .booking-widget-header {
    background: linear-gradient(135deg, var(--green-900), #0f2e1f);
    padding: 24px 20px;
    position: relative;
}

.booking-widget-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: var(--gold-light);
    font-size: 18px;
    margin-bottom: 10px;
}

.booking-widget--luxe .booking-widget-header h3 {
    font-size: 20px;
    font-family: var(--font-heading);
}

.booking-widget--luxe .booking-widget-header p {
    font-size: 13px;
    color: var(--green-300);
    margin-top: 4px;
}

.booking-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
}

.booking-divider::before,
.booking-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.booking-widget--luxe .form-hint {
    font-size: 12px;
    color: var(--gray-400);
}

.booking-widget--luxe .form-hint i {
    color: var(--green-500);
    margin-right: 4px;
}

/* ── Sidebar Cards ────────────────────────────────────────── */
.sidebar-card {
    background: var(--white);
    border-radius: var(--card-radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.sidebar-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.sidebar-card-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card-header h4 i {
    color: var(--green-600);
    font-size: 14px;
}

.sidebar-card-body {
    padding: 20px;
}

/* ── Contact Card ─────────────────────────────────────────── */
.sidebar-card--contact .sidebar-card-header {
    background: linear-gradient(135deg, var(--green-50), var(--white));
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.contact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-row:first-child {
    padding-top: 0;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--green-50);
    color: var(--green-600);
    font-size: 14px;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-400);
    font-weight: 600;
}

.contact-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

a.contact-value:hover {
    color: var(--green-700);
}

/* ── Facts Card ───────────────────────────────────────────── */
.sidebar-card--facts .sidebar-card-header h4 i {
    color: var(--gold);
}

.fact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}

.fact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fact-row:first-child {
    padding-top: 0;
}

.fact-label {
    color: var(--gray-500);
    font-weight: 500;
}

.fact-value {
    font-weight: 700;
    color: var(--gray-800);
}

/* ── Hotel Affiliate Widget ───────────────────────────────── */
.hotel-widget {
    background: var(--white);
    border-radius: var(--card-radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hotel-widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #003580, #00224f);
    color: var(--white);
}

.hotel-widget-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,.15);
    font-size: 18px;
    flex-shrink: 0;
}

.hotel-widget-header h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 0;
}

.hotel-widget-header p {
    color: rgba(255,255,255,.7);
    font-size: 12px;
    margin: 2px 0 0;
}

.hotel-widget-body {
    padding: 16px 20px;
}

.hotel-widget-embed {
    margin-bottom: 12px;
    min-height: 60px;
}

.hotel-widget-embed ins {
    display: block;
}

.hotel-widget-fallback {
    margin-bottom: 12px;
}

.hotel-widget-text {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 10px;
    line-height: 1.5;
}

.hotel-widget-text i {
    color: var(--gold);
    margin-right: 4px;
}

.btn-booking {
    background: #003580;
    color: var(--white);
    border: none;
    font-weight: 600;
    font-size: 14px;
}

.btn-booking:hover {
    background: #00224f;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0,53,128,.25);
}

.hotel-widget-note {
    font-size: 11px;
    color: var(--gray-400);
    text-align: center;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid var(--gray-100);
}

.hotel-widget-note i {
    color: var(--success);
    margin-right: 3px;
}

/* ── Hotels Page ──────────────────────────────────────────── */
.hotels-hero {
    background: linear-gradient(160deg, #003580 0%, #00224f 60%, #001a3d 100%);
    padding: 80px 0 60px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hotels-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/placeholders/golf-3.jpg') center/cover no-repeat;
    opacity: .12;
}

.hotels-hero .container {
    position: relative;
    z-index: 1;
}

.hotels-hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #febb02;
    background: rgba(254,187,2,.12);
    border: 1px solid rgba(254,187,2,.25);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.hotels-hero h1 {
    font-size: 44px;
    color: var(--white);
    margin-bottom: 12px;
}

.hotels-hero p {
    font-size: 17px;
    color: rgba(255,255,255,.7);
    max-width: 560px;
    margin: 0 auto 32px;
}

.hotels-search-wrap {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 16px;
    padding: 24px;
}

.hotels-search-wrap ins {
    display: block;
}

.hotels-search-fallback {
    text-align: center;
}

.hotels-search-fallback .btn-booking {
    font-size: 16px;
    padding: 14px 32px;
    border-radius: var(--btn-radius);
}

.hotels-region-card {
    background: var(--white);
    border-radius: var(--card-radius);
    border: 1px solid var(--gray-200);
    padding: 28px 24px;
    text-align: center;
    transition: all .3s;
    box-shadow: var(--shadow);
}

.hotels-region-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: #003580;
    transform: translateY(-2px);
}

.hotels-region-card .region-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #003580;
    font-size: 22px;
    margin-bottom: 14px;
}

.hotels-region-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.hotels-region-card .region-club-count {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 14px;
}

.hotels-region-card .btn {
    font-size: 13px;
}

/* Stay & Play Section */
.stay-play-section {
    background: linear-gradient(135deg, #f8fbff 0%, #edf4ff 100%);
    position: relative;
}

.stay-play-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.stay-play-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.stay-play-card .sp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    font-size: 22px;
    margin-bottom: 14px;
}

.stay-play-card .sp-icon--blue {
    background: #e8f0fe;
    color: #003580;
}

.stay-play-card .sp-icon--green {
    background: var(--green-50);
    color: var(--green-600);
}

.stay-play-card .sp-icon--gold {
    background: var(--orange-50);
    color: var(--gold);
}

.stay-play-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.stay-play-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── Luxury Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
    .stats-bar-inner {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .stat-bar-item {
        padding: 14px 20px;
    }
    .review-summary-card {
        flex-wrap: wrap;
        gap: 16px;
    }
    .review-summary-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .detail-hero--luxe {
        padding: 60px 0 36px;
    }
    .detail-hero--luxe h1 {
        font-size: 30px;
    }
    .hero-tagline {
        font-size: 15px;
    }
    .detail-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .stats-bar-inner {
        justify-content: center;
    }
    .stat-bar-item {
        padding: 12px 16px;
    }
    .stat-bar-value {
        font-size: 18px;
    }
    .stat-bar-label {
        font-size: 10px;
    }
    .section-heading-luxe {
        gap: 12px;
    }
    .section-heading-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .section-heading-luxe h2 {
        font-size: 22px;
    }
    .facilities-grid--luxe {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .location-address-card {
        font-size: 13px;
    }
    .review-summary-card {
        padding: 16px;
    }
    .review-summary-big {
        font-size: 28px;
    }
    .course-grass-info {
        flex-direction: column;
        gap: 4px;
    }
    .hotels-hero h1 {
        font-size: 28px;
    }
    .hotels-hero p {
        font-size: 15px;
    }
    .stay-play-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════
   PHOTO GALLERY — Modern Masonry-Style Grid + Lightbox
   ══════════════════════════════════════════════════════════════ */

/* ── Gallery Grid ─────────────────────────────────────────── */
.golf-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-radius: 16px;
    overflow: hidden;
}

.golf-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: var(--gray-100, #f3f4f6);
}

/* Hero image spans 2 cols + 2 rows for visual emphasis */
.golf-gallery-item.gallery-hero {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.golf-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.25,.46,.45,.94), filter .3s;
    will-change: transform;
}

.golf-gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* Green gradient overlay on hover */
.golf-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(17, 52, 16, .55) 100%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.golf-gallery-item:hover::after {
    opacity: 1;
}

/* Caption overlay */
.golf-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s, transform .3s;
}
.golf-gallery-item:hover .golf-gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* View icon indicator */
.golf-gallery-item::before {
    content: '\f00e'; /* fa-search-plus */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.7);
    color: #fff;
    font-size: 24px;
    z-index: 3;
    opacity: 0;
    transition: opacity .3s, transform .3s;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
    pointer-events: none;
}
.golf-gallery-item:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Responsive gallery */
@media (max-width: 768px) {
    .golf-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        border-radius: 12px;
    }
    .golf-gallery-item.gallery-hero {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16 / 9;
    }
}

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

/* ── Lightbox ─────────────────────────────────────────────── */
.golf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.golf-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.golf-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    transform: scale(.9);
    transition: transform .3s cubic-bezier(.25,.46,.45,.94);
}
.golf-lightbox.active .golf-lightbox-img {
    transform: scale(1);
}

.golf-lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    padding: 8px 24px;
    background: rgba(0,0,0,.5);
    border-radius: 24px;
    white-space: nowrap;
    max-width: 80vw;
    overflow: hidden;
    text-overflow: ellipsis;
}

.golf-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 10001;
}
.golf-lightbox-close:hover {
    background: rgba(255,255,255,.15);
}

.golf-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
    z-index: 10001;
}
.golf-lightbox-nav:hover {
    background: rgba(255,255,255,.2);
    transform: translateY(-50%) scale(1.1);
}
.golf-lightbox-prev { left: 20px; }
.golf-lightbox-next { right: 20px; }

.golf-lightbox-counter {
    position: absolute;
    top: 24px;
    left: 24px;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    font-weight: 600;
}

/* ── Manager Photo Library ────────────────────────────────── */
.manager-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}

.manager-photo-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gray-200, #e5e7eb);
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: transform .2s, box-shadow .2s;
}
.manager-photo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

.manager-photo-img {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--gray-100, #f3f4f6);
}
.manager-photo-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.manager-photo-card:hover .manager-photo-img img {
    transform: scale(1.05);
}

.manager-photo-info {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.manager-photo-info small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    font-size: 12px;
    color: var(--gray-500, #6b7280);
}
.manager-photo-info .btn-danger {
    flex-shrink: 0;
    padding: 3px 7px;
    font-size: 11px;
}

/* ─── Weather Widget ─── */
.weather-widget {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    color: var(--green-900, #1a2e1a);
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.06);
}
.weather-widget-header {
    padding: 14px 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.weather-widget-header h3 {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    color: var(--gray-400, #9ca3af);
    text-transform: uppercase;
    letter-spacing: .8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.weather-widget-header h3 i {
    color: var(--gold, #C5993E);
    font-size: 14px;
}
.weather-location {
    font-size: 12px;
    color: var(--gray-500, #6b7280);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
}
.weather-widget-body {
    padding: 14px 18px 16px;
}
.weather-loading {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: var(--gray-300, #d1d5db);
}
.weather-loading i {
    margin-right: 6px;
}

/* Current Conditions */
.weather-current {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.weather-temp-wrap {
    text-align: center;
    flex-shrink: 0;
}
.weather-icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 2px;
}
.weather-temp {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.5px;
    color: var(--green-900, #1a2e1a);
}
.weather-temp sup {
    font-size: 16px;
    font-weight: 500;
    vertical-align: super;
    color: var(--gray-400, #9ca3af);
}
.weather-desc {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--green-900, #1a2e1a);
}
.weather-details {
    font-size: 13px;
    color: var(--gray-600, #4b5563);
    line-height: 1.7;
    font-weight: 500;
}
.weather-details span {
    display: inline-block;
    margin-right: 8px;
    white-space: nowrap;
}

/* Forecast Row */
.weather-forecast {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100, #f3f4f6);
}
.weather-day {
    text-align: center;
    padding: 12px 6px;
    border-radius: 12px;
    background: var(--gray-50, #f9fafb);
    border: 1px solid var(--gray-100, #f3f4f6);
    transition: all .2s ease;
}
.weather-day:hover {
    background: #fff;
    border-color: var(--gray-200, #e5e7eb);
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transform: translateY(-1px);
}
.weather-day-name {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--gray-600, #4b5563);
    margin-bottom: 6px;
}
.weather-day-icon {
    font-size: 20px;
    margin-bottom: 4px;
    line-height: 1;
}
.weather-day-temp {
    font-size: 16px;
    font-weight: 800;
    color: var(--green-900, #1a2e1a);
}
.weather-day-range {
    font-size: 11px;
    color: var(--gray-500, #6b7280);
    margin-top: 2px;
    font-weight: 500;
}

/* Golf tip line */
.weather-golf-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fffbf0, #fff7e0);
    border-left: 3px solid var(--gold, #C5993E);
    border-radius: 0 10px 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--green-900, #1a2e1a);
    line-height: 1.5;
    font-style: italic;
}
.weather-golf-tip i {
    font-size: 18px;
    flex-shrink: 0;
    color: var(--gold, #C5993E);
    margin-top: 2px;
    font-style: normal;
}

.weather-updated {
    text-align: right;
    font-size: 9px;
    color: var(--gray-300, #d1d5db);
    margin-top: 6px;
}
