/* ============================================================
   THE IDEAL VENUE — Complete Dark Theme Stylesheet
   ============================================================ */

/* 1. CSS Variables / Root
   ------------------------------------------------------------ */
:root {
    --bg-primary: #08121f;
    --bg-secondary: #0f1c2e;
    --bg-card: #0f1c2e;
    --bg-footer: #060e1a;
    --bg-input: #0a1628;
    --bg-nav: rgba(8, 18, 31, 0.96);
    --text-primary: #f4efe6;
    --text-secondary: #c4b998;
    --text-muted: #8a9bb5;
    --gold: #b18237;
    --gold-hover: #c99a4a;
    --gold-light: #d4a94e;
    --border: #1a2a40;
    --border-light: #243447;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* 2. Base / Reset
   ------------------------------------------------------------ */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-hover);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

/* 3. Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.text-gold { color: var(--gold) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.text-cream { color: var(--text-primary) !important; }

.section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin-top: 0.75rem;
}

.section-heading-center::after {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.8;
}

.section-subtitle-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* 4. Layout
   ------------------------------------------------------------ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

/* Grid utilities */
.grid {
    display: grid;
    gap: 1.5rem;
}

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

/* 5. Header & Navigation
   ------------------------------------------------------------ */
/* Top bar */
.top-bar {
    background: var(--bg-footer);
    padding: 0.5rem 0;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--border);
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.25rem;
}

.top-bar a {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--gold);
}

.top-bar .separator {
    color: var(--border);
}

/* Main navigation */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    transition: var(--transition);
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 1rem;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
    flex: 0 0 auto;
}

.nav-logo:hover {
    color: var(--text-primary);
}

.nav-logo .logo-icon {
    color: var(--gold);
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.nav-links li a {
    display: block;
    padding: 0.5rem 0.85rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 400;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links li a:hover {
    color: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin-left: auto;
    flex: 0 0 auto;
}

.nav-actions .btn-sm {
    font-size: 0.78rem;
    padding: 0.45rem 0.72rem;
    white-space: nowrap;
    line-height: 1.2;
}

.nav-secondary-link {
    color: var(--text-secondary);
    font-size: 0.84rem;
    padding: 0.3rem 0.4rem;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-secondary-link:hover {
    color: var(--gold);
}

.nav-add-dropdown {
    position: relative;
    align-items: center;
}

.nav-add-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 10px;
}

.nav-add-trigger {
    display: inline-flex;
    align-items: center;
}

.nav-add-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 170px;
    margin: 0;
    padding: 10px 0 8px;
    list-style: none;
    background: #0d1a2d;
    border: 1px solid rgba(177, 130, 55, 0.3);
    border-radius: 6px;
    z-index: 1100;
}

.nav-add-menu li a {
    display: block;
    padding: 8px 12px;
    color: #f4efe6;
    font-size: 0.84rem;
    text-decoration: none;
    white-space: nowrap;
}

.nav-add-menu li a:hover {
    background: rgba(177, 130, 55, 0.15);
    color: #b18237;
}

.nav-add-dropdown:hover .nav-add-menu,
.nav-add-dropdown:focus-within .nav-add-menu {
    display: block;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* Mobile nav */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1050;
}

.nav-mobile-overlay.active {
    display: block;
}

.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 1060;
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.nav-mobile-menu.active {
    display: block;
    transform: translateX(0);
}

.nav-mobile-menu .mobile-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.nav-mobile-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 2.5rem;
}

.nav-mobile-menu ul li a {
    display: block;
    padding: 0.85rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-mobile-menu ul li a:hover {
    color: var(--gold);
}

/* 6. Hero Section
   ------------------------------------------------------------ */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(8, 18, 31, 0.55) 0%,
        rgba(8, 18, 31, 0.75) 50%,
        rgba(8, 18, 31, 0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 2rem 1.5rem;
}

.hero-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero search form */
.hero-search {
    display: flex;
    gap: 0;
    max-width: 650px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-search select,
.hero-search input[type="text"] {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    flex: 1;
    min-width: 0;
}

.hero-search select {
    border-right: 1px solid var(--border);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238a9bb5' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.hero-search select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.hero-search input[type="text"] {
    border-right: 1px solid var(--border);
}

.hero-search input::placeholder {
    color: var(--text-muted);
}

.hero-search .btn-gold {
    border-radius: 0;
    padding: 1rem 2rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 7. Buttons
   ------------------------------------------------------------ */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gold);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.7rem 1.75rem;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-gold:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(177, 130, 55, 0.3);
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.7rem 1.75rem;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(177, 130, 55, 0.3);
}

.btn-sm {
    padding: 0.45rem 1.1rem;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 0.9rem 2.25rem;
    font-size: 1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-danger {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}

.btn-danger:hover {
    background: #e74c3c;
    border-color: #e74c3c;
}

/* 8. Cards
   ------------------------------------------------------------ */

/* -- Listing Card -- */
.listing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.listing-card-image {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: var(--bg-primary);
}

.listing-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.listing-card:hover .listing-card-image img {
    transform: scale(1.05);
}

.listing-card-image .no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2.5rem;
}

.listing-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.listing-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    line-height: 1.4;
}

.listing-card-title a {
    color: var(--text-primary);
}

.listing-card-title a:hover {
    color: var(--gold);
}

.listing-card-location {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.listing-card-location i {
    color: var(--gold);
    font-size: 0.75rem;
}

.listing-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 0.75rem;
}

.listing-card-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.listing-card-footer a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.listing-card-footer a:hover {
    color: var(--gold-hover);
    gap: 0.5rem;
}

/* -- Featured Card (larger, homepage) -- */
.featured-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.featured-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: var(--bg-primary);
}

.featured-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-card-image img {
    transform: scale(1.05);
}

.featured-card-body {
    padding: 1.5rem;
}

.featured-card-location {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.featured-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.featured-card-title a {
    color: var(--text-primary);
}

.featured-card-title a:hover {
    color: var(--gold);
}

.featured-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* -- Category Card -- */
.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

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

.category-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(177, 130, 55, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
}

.category-card-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.category-card a {
    color: var(--text-primary);
    text-decoration: none;
}

.category-card a:hover {
    color: var(--gold);
}

.category-card-count {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* -- Region Card (homepage) -- */
.region-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
}

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

.region-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.region-card:hover .region-card-bg {
    transform: scale(1.08);
}

.region-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(8, 18, 31, 0.15) 0%,
        rgba(8, 18, 31, 0.85) 100%
    );
}

.region-card-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    width: 100%;
}

.region-card-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.region-card-count {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* -- Blog Card -- */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.blog-card-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.blog-card-title a {
    color: var(--text-primary);
}

.blog-card-title a:hover {
    color: var(--gold);
}

.blog-card-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* 9. Section Headings & Dividers
   ------------------------------------------------------------ */
.section-header {
    margin-bottom: 2.5rem;
}

.section-header-with-link {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.section-header-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.section-header-link:hover {
    color: var(--gold-hover);
    gap: 0.5rem;
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 2rem 0;
}

/* Breadcrumb */
.breadcrumb-nav {
    padding: 1.25rem 0;
    font-size: 0.85rem;
}

.breadcrumb-nav ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-nav li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.breadcrumb-nav li a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.breadcrumb-nav li a:hover {
    color: var(--gold);
}

.breadcrumb-nav li.active {
    color: var(--text-primary);
}

.breadcrumb-sep {
    color: var(--border-light);
    font-size: 0.7rem;
}

/* CTA Section */
.cta-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding: 5rem 0;
}

.cta-section .section-heading::after {
    margin-left: auto;
    margin-right: auto;
}

/* 10. Forms & Inputs
   ------------------------------------------------------------ */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea,
select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    width: 100%;
    outline: none;
}

.form-control:focus,
.form-select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(177, 130, 55, 0.15);
    outline: none;
}

/* Improve native dropdown readability in dark admin theme */
select option {
    background: #0b1624;
    color: #f5f0e6;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Auth form card */
.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 440px;
    margin: 3rem auto;
    box-shadow: var(--shadow-lg);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-card p {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* 11. Listing Detail Page
   ------------------------------------------------------------ */
.listing-detail {
    padding: 0 0 4rem;
}

.listing-main-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--bg-secondary);
    position: relative;
    max-height: 500px;
}

.listing-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing-gallery {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.listing-gallery-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.listing-gallery-thumb:hover,
.listing-gallery-thumb.active {
    border-color: var(--gold);
}

.listing-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.listing-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.listing-location i {
    color: var(--gold);
}

.listing-contact-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.listing-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.listing-contact-item i {
    color: var(--gold);
    font-size: 1rem;
}

.listing-contact-item a {
    color: var(--text-secondary);
}

.listing-contact-item a:hover {
    color: var(--gold);
}

.listing-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.listing-description p {
    margin-bottom: 1rem;
}

.listing-map {
    width: 100%;
    height: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.listing-youtube {
    margin-bottom: 2rem;
}

.listing-youtube .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
}

.listing-youtube .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.related-listings {
    margin-top: 3rem;
}

/* 12. Search
   ------------------------------------------------------------ */
.search-section {
    padding: 2.5rem 0;
}

.search-bar {
    display: flex;
    gap: 0;
    max-width: 700px;
    margin: 0 auto 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    border: none;
    border-radius: 0;
    background: transparent;
}

.search-bar .btn-gold {
    border-radius: 0;
}

.search-results-count {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* 13. Location Pages
   ------------------------------------------------------------ */
.location-hero {
    background: var(--bg-secondary);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.counties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.county-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.county-item:hover {
    border-color: var(--gold);
    transform: translateX(4px);
}

.county-item a {
    color: var(--text-primary);
    font-size: 0.92rem;
    flex: 1;
}

.county-item a:hover {
    color: var(--gold);
}

.county-item .count {
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(177, 130, 55, 0.12);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

/* 14. Blog
   ------------------------------------------------------------ */
.blog-section {
    padding: 3rem 0;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 2rem;
}

.blog-post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-post-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 2;
}

.blog-post-body p {
    margin-bottom: 1.25rem;
}

.blog-post-body h2,
.blog-post-body h3 {
    margin-top: 2rem;
}

.blog-post-body img {
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

/* 15. Account / Admin Pages
   ------------------------------------------------------------ */
.dashboard-section {
    padding: 2.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--gold);
}

.stat-card-value {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.stat-card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Data tables */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.data-table thead {
    background: rgba(177, 130, 55, 0.08);
}

.data-table thead th {
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table tbody td {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: rgba(177, 130, 55, 0.04);
}

.data-table .actions {
    display: flex;
    gap: 0.5rem;
}

.data-table .actions a {
    font-size: 0.82rem;
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: var(--transition);
}

.data-table .actions a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Quick links */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* 16. Pagination
   ------------------------------------------------------------ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    margin-top: 3rem;
    list-style: none;
    padding: 0;
}

.pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.65rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: var(--transition);
    text-decoration: none;
}

.pagination .page-item .page-link:hover {
    color: var(--text-primary);
    border-color: var(--gold);
    background: rgba(177, 130, 55, 0.1);
}

.pagination .page-item.active .page-link {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    font-weight: 600;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* 17. Badges
   ------------------------------------------------------------ */
.badge-featured {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--gold);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
}

.badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(177, 130, 55, 0.15);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 24px;
    height: 24px;
    padding: 0 0.5rem;
    border-radius: 20px;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-status-live {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
}

.badge-status-pending {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
}

.badge-status-hidden {
    background: rgba(192, 57, 43, 0.15);
    color: #c0392b;
}

/* 18. Footer
   ------------------------------------------------------------ */
.site-footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--transition);
}

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

.footer-col .footer-sub-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

/* 19. Utilities
   ------------------------------------------------------------ */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-3 { padding-top: 1.5rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-3 { padding-bottom: 1.5rem !important; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.w-100 { width: 100%; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Alert / flash messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.25);
    color: #27ae60;
}

.alert-error {
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.25);
    color: #e74c3c;
}

.alert-info {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.25);
    color: #3498db;
}

/* Error pages */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    opacity: 0.3;
    margin-bottom: 0.5rem;
}

.error-message {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.error-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* 20. Responsive Breakpoints
   ------------------------------------------------------------ */

/* Tablet */
@media (max-width: 991.98px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }

    .hero-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 3.5rem 0;
    }

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

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

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

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-secondary-link {
        display: none;
    }

    .listing-contact-bar {
        flex-direction: column;
        gap: 0.75rem;
    }

    .section-header-with-link {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 1280px) {
    .nav-logo {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .nav-links li a {
        padding: 0.45rem 0.62rem;
        font-size: 0.82rem;
    }

    .nav-actions .btn-sm {
        font-size: 0.74rem;
        padding: 0.4rem 0.58rem;
    }

    .nav-secondary-link {
        font-size: 0.8rem;
        padding: 0.25rem 0.3rem;
    }
}

@media (max-width: 1140px) {
    .nav-secondary-link {
        display: none;
    }
}

/* Compact desktop nav: prevent cramped/overlapping header */
@media (max-width: 1279.98px) {
    .nav-links {
        display: none !important;
    }

    .nav-actions .btn-sm {
        display: none !important;
    }

    .nav-toggle {
        display: block;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }

    .hero {
        min-height: 65vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-search {
        flex-direction: column;
        border-radius: var(--radius);
    }

    .hero-search select,
    .hero-search input[type="text"] {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .hero-search .btn-gold {
        border-radius: 0 0 var(--radius) var(--radius);
    }

    .section {
        padding: 2.5rem 0;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .auth-card {
        margin: 1.5rem;
        padding: 1.75rem;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .data-table {
        display: block;
        overflow-x: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .counties-grid {
        grid-template-columns: 1fr;
    }

    .listing-gallery-thumb {
        width: 80px;
        height: 55px;
    }
}

/* Navigation dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0d1a2d;
    border: 1px solid rgba(177, 130, 55, 0.3);
    border-radius: 6px;
    padding: 8px 0;
    min-width: 200px;
    z-index: 1000;
    list-style: none;
}
.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}
.nav-dropdown-menu li {
    padding: 0;
}
.nav-dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: #f4efe6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.nav-dropdown-menu li a:hover {
    background: rgba(177, 130, 55, 0.15);
    color: #b18237;
}

/* Tier badges */
.tier-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tier-badge-silver { background: #c0c0c0; color: #222; }
.tier-badge-gold { background: #b18237; color: #fff; }
.tier-badge-platinum { background: linear-gradient(135deg, #667 0%, #aab 50%, #667 100%); color: #fff; }

/* Pricing section */
.pricing-section {
    padding: 60px 0;
    background: #0a1628;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.pricing-card {
    background: #0d1a2d;
    border: 1px solid #1a2a40;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}
.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(177, 130, 55, 0.4);
}
.pricing-card.popular {
    border-color: #b18237;
    position: relative;
}
.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #b18237;
    color: #fff;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.pricing-card-name {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #b18237;
    margin-bottom: 10px;
}
.pricing-card-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #f4efe6;
    margin-bottom: 5px;
}
.pricing-card-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #888;
}
.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}
.pricing-card-features li {
    padding: 6px 0;
    color: #ccc;
    font-size: 0.9rem;
    border-bottom: 1px solid #1a2a40;
}
.pricing-card-features li::before {
    content: '\2713  ';
    color: #b18237;
    font-weight: bold;
}
.pricing-card-features li.disabled {
    color: #555;
}
.pricing-card-features li.disabled::before {
    content: '\2014  ';
    color: #555;
}

/* Agency section */
.agency-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #0d1a2d 0%, #162640 100%);
    border: 1px solid rgba(177, 130, 55, 0.3);
    border-radius: 12px;
    text-align: center;
}
.agency-badge {
    display: inline-block;
    background: #b18237;
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.agency-examples {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 600px;
    margin: 20px auto;
}
.agency-example {
    background: rgba(177, 130, 55, 0.1);
    border-radius: 8px;
    padding: 15px;
}
.agency-example .original {
    text-decoration: line-through;
    color: #666;
}
.agency-example .discounted {
    font-size: 1.3rem;
    font-weight: 700;
    color: #b18237;
}

/* Premium CTA on homepage */
.premium-cta {
    background: linear-gradient(135deg, #0d1a2d 0%, #162640 100%);
    border: 1px solid rgba(177, 130, 55, 0.2);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

/* Small mobile */
@media (max-width: 479.98px) {
    .hero-title {
        font-size: 1.65rem;
    }

    .container {
        padding: 0 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-logo {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
}

/* Mobile responsive adjustments for pricing & dropdown */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .agency-examples {
        grid-template-columns: 1fr;
    }
    .nav-dropdown-menu {
        position: static;
        border: none;
        padding-left: 20px;
    }
}

/* ==========================================
   Social Sharing Buttons
   ========================================== */
.social-sharing {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(177,130,55,0.15);
    border-bottom: 1px solid rgba(177,130,55,0.15);
}
.social-sharing-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 5px;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(177,130,55,0.1);
    color: var(--gold);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
}
.social-btn:hover {
    transform: translateY(-2px);
}
.social-btn-facebook:hover { background: #1877F2; color: #fff; }
.social-btn-twitter:hover { background: #000; color: #fff; }
.social-btn-linkedin:hover { background: #0A66C2; color: #fff; }
.social-btn-pinterest:hover { background: #E60023; color: #fff; }
.social-btn-whatsapp:hover { background: #25D366; color: #fff; }
.social-btn-email:hover { background: var(--gold); color: #fff; }

/* ==========================================
   LISTING DETAIL — Two-column layout
   ========================================== */
.listing-top-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .listing-top-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Gallery */
.gallery-main-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--navy-light, #0d1b2c);
}

.gallery-main-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid rgba(202, 164, 90, 0.2);
    border-radius: 50%;
    background: rgba(8, 18, 31, 0.65);
    color: var(--gold, #b18237);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }

.gallery-prev:hover, .gallery-next:hover {
    background: rgba(8, 18, 31, 0.85);
    border-color: rgba(202, 164, 90, 0.5);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.6rem;
    margin-top: 0.8rem;
}

@media (max-width: 768px) {
    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.gallery-thumb {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.7;
    transition: all 0.25s ease;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.gallery-thumb.active {
    border-color: var(--gold, #b18237);
    opacity: 1;
}

.gallery-thumb img {
    display: block;
    width: 100%;
    height: 80px;
    object-fit: cover;
}

/* Summary area */
.listing-kicker {
    color: var(--gold, #b18237);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.listing-summary-divider {
    width: 5rem;
    height: 2px;
    background: linear-gradient(to right, var(--gold, #b18237), transparent);
    margin: 1rem 0 1.5rem;
}

.listing-meta-block {
    border-top: 1px solid rgba(202, 164, 90, 0.12);
    margin-bottom: 1.5rem;
}

.listing-meta-row {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(202, 164, 90, 0.12);
}

.listing-meta-label {
    color: var(--gold, #b18237);
    font-size: 0.9rem;
    font-weight: 600;
}

.listing-meta-value {
    color: var(--text-muted, #aaa);
    font-size: 0.95rem;
    line-height: 1.6;
}

.listing-meta-value a {
    color: inherit;
    text-decoration: none;
}

.listing-meta-value a:hover {
    color: var(--gold, #b18237);
}

.listing-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.listing-actions .btn-gold,
.listing-actions .btn-outline-gold {
    text-align: center;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    display: block;
}

/* Section dividers */
.listing-section {
    margin-top: 2rem;
}

.listing-section .gold-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(202,164,90,0), rgba(202,164,90,0.5) 20%, rgba(202,164,90,0.7) 50%, rgba(202,164,90,0.5) 80%, rgba(202,164,90,0));
    margin-bottom: 2rem;
}

.listing-section-heading {
    font-family: 'Cinzel', serif;
    color: var(--gold, #b18237);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.listing-map-wrap {
    border-radius: 8px;
    overflow: hidden;
}

.listing-map-wrap iframe {
    display: block;
}

/* Social sharing improvements */
.social-sharing {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-sharing-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ==========================================
   ADMIN DASHBOARD
   ========================================== */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

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

.admin-stat-card {
    background: rgba(177, 130, 55, 0.06);
    border: 1px solid rgba(177, 130, 55, 0.15);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.admin-stat-card.accent-warning {
    border-color: rgba(243, 156, 18, 0.3);
    background: rgba(243, 156, 18, 0.06);
}

.admin-stat-icon {
    font-size: 1.5rem;
    color: var(--gold, #b18237);
    margin-bottom: 0.5rem;
}

.admin-stat-value {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light, #f5f5f5);
}

.admin-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted, #999);
    margin-top: 0.25rem;
}

.admin-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .admin-two-col { grid-template-columns: 1fr; }
}

.admin-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(177, 130, 55, 0.12);
    border-radius: 12px;
    padding: 1.5rem;
}

.admin-panel-title {
    font-family: 'Cinzel', serif;
    color: var(--gold, #b18237);
    font-size: 1.1rem;
    margin: 0 0 1.25rem;
}

.admin-revenue-projected {
    text-align: center;
    padding: 1.5rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(177, 130, 55, 0.15);
}

.admin-revenue-amount {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2ecc71;
}

.admin-revenue-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted, #999);
    margin-top: 0.25rem;
}

.admin-tier-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-tier-row {
    display: grid;
    grid-template-columns: 12px 1fr auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.4rem 0;
}

.tier-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.tier-dot.free { background: #666; }
.tier-dot.silver { background: #c0c0c0; }
.tier-dot.gold { background: var(--gold, #b18237); }
.tier-dot.platinum { background: #e5e4e2; }

.admin-tier-name { font-size: 0.9rem; color: var(--text-muted, #999); }
.admin-tier-count { font-weight: 600; font-size: 0.9rem; }
.admin-tier-revenue { font-size: 0.85rem; color: var(--gold, #b18237); }

.admin-upsell-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-upsell-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(177, 130, 55, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(177, 130, 55, 0.1);
}

.admin-upsell-metric {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold, #b18237);
    min-width: 50px;
    text-align: center;
}

.admin-upsell-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; }
.admin-upsell-hint { font-size: 0.8rem; color: var(--text-muted, #999); }

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

.admin-table th, .admin-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(177, 130, 55, 0.1);
    font-size: 0.9rem;
    text-align: left;
}

.admin-table th {
    font-weight: 600;
    color: var(--gold, #b18237);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table tbody tr:hover {
    background: rgba(177, 130, 55, 0.04);
}

.tier-badge-sm {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tier-badge-sm.tier-free { background: rgba(102,102,102,0.2); color: #999; }
.tier-badge-sm.tier-silver { background: rgba(192,192,192,0.15); color: #c0c0c0; }
.tier-badge-sm.tier-gold { background: rgba(177,130,55,0.15); color: var(--gold); }
.tier-badge-sm.tier-platinum { background: rgba(229,228,226,0.15); color: #e5e4e2; }

.admin-quick-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-search-form { margin-bottom: 1.5rem; }
.admin-search-wrap {
    display: flex;
    gap: 0.5rem;
}

.admin-search-input {
    flex: 1;
    padding: 0.65rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(177,130,55,0.2);
    border-radius: 8px;
    color: var(--text-light, #f5f5f5);
    font-size: 0.95rem;
}

.admin-search-input::placeholder { color: var(--text-muted, #999); }
.admin-search-input:focus { border-color: var(--gold, #b18237); outline: none; }

.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 4px;
}

.sales-table td { vertical-align: top; }

/* ==========================================
   ADMIN EDIT / FORMS
   ========================================== */
.admin-layout {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.admin-main {
    flex: 1;
    min-width: 0;
}

.admin-edit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-edit-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-edit-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .admin-edit-grid { grid-template-columns: 1fr; }
}

.admin-edit-left,
.admin-edit-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.form-row-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row-2,
    .form-row-3,
    .form-row-4 { grid-template-columns: 1fr; }
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.admin-gallery-thumb {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border);
}

.admin-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(177, 130, 55, 0.08);
}

.admin-meta-row:last-child { border-bottom: none; }
.admin-meta-label { color: var(--text-muted); }
.admin-meta-value { color: var(--text-primary); font-weight: 500; }

.btn-save-full {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.alert-success-bar {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: var(--radius);
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.25rem;
    color: #2ecc71;
    font-size: 0.92rem;
}

.alert-error-bar {
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: var(--radius);
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.25rem;
    color: #dc3545;
    font-size: 0.92rem;
}

/* ==========================================
   MEMBER PHOTO MANAGEMENT
   ========================================== */
.photo-gallery-manage {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.photo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    transition: var(--transition);
}

.photo-card:hover {
    border-color: var(--gold);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-card .photo-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    border: none;
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.photo-card:hover .photo-remove {
    opacity: 1;
}

.photo-upload-zone {
    border: 2px dashed var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(177, 130, 55, 0.03);
}

.photo-upload-zone:hover {
    border-color: var(--gold);
    background: rgba(177, 130, 55, 0.08);
}

.photo-upload-zone i {
    font-size: 2rem;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.photo-upload-zone span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.photo-upload-zone input[type="file"] {
    display: none;
}

/* ==========================================
   ADMIN SIDEBAR NAV
   ========================================== */
.admin-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.admin-sidebar-inner {
    background: rgba(177, 130, 55, 0.06);
    border: 1px solid rgba(177, 130, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    position: sticky;
    top: 100px;
}

.admin-sidebar-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(177, 130, 55, 0.12);
}

.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.admin-nav-group {
    border-radius: var(--radius);
}

.admin-nav-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius);
    cursor: pointer;
    list-style: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--gold);
    user-select: none;
    transition: var(--transition);
}

.admin-nav-group-toggle::-webkit-details-marker {
    display: none;
}

.admin-nav-group-toggle:hover {
    background: rgba(177, 130, 55, 0.08);
}

.admin-nav-group-toggle.has-active {
    background: rgba(177, 130, 55, 0.1);
}

.admin-nav-group-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.admin-nav-chevron {
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.admin-nav-group[open] > .admin-nav-group-toggle .admin-nav-chevron {
    transform: rotate(180deg);
}

.admin-nav-group-items {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.15rem 0 0.35rem 0.15rem;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.admin-sidebar-link:hover {
    background: rgba(177, 130, 55, 0.08);
    color: var(--text-primary);
}

.admin-sidebar-link.active {
    background: rgba(177, 130, 55, 0.12);
    color: var(--gold);
    font-weight: 600;
}

@media (max-width: 992px) {
    .admin-sidebar { width: 100%; }
    .admin-sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
    .admin-nav-group { flex: 1 1 220px; }
}

/* Contact page — company details */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(280px, 600px);
    gap: 2rem;
    justify-content: center;
    align-items: start;
    max-width: 980px;
    margin: 0 auto;
}

.contact-details {
    padding: 0.25rem 0;
}

.contact-detail-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1.15rem;
    color: var(--text-primary);
}

.contact-detail-row > i {
    color: var(--gold);
    margin-top: 0.2rem;
}

.contact-detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.contact-form-card {
    max-width: none;
    width: 100%;
}

.footer-company-contact {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.footer-company-contact a {
    color: inherit;
}

.footer-company-address {
    margin-top: 0.35rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   ADMIN & ACCOUNT UTILITY CLASSES
   ========================================== */
.page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title-sm {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title-lg {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.text-gold { color: var(--gold) !important; }
.text-muted-sm { color: var(--text-muted); font-size: 0.85rem; }
.text-muted-xs { color: var(--text-muted); font-size: 0.8rem; }
.text-muted-xxs { color: var(--text-muted); font-size: 0.75rem; }
.text-muted-tiny { color: var(--text-muted); font-size: 0.7rem; }
.text-green { color: #2ecc71 !important; }
.text-red { color: #dc3545 !important; }
.text-light { color: var(--text-primary) !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* Card panels */
.card-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(177, 130, 55, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.card-panel-sm {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(177, 130, 55, 0.12);
    border-radius: 10px;
    padding: 1.2rem;
}

.card-panel-center {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(177, 130, 55, 0.12);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
}

/* Stat number displays */
.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-number-lg {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-number-xl {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Layout helpers */
.flex-row { display: flex; gap: 1rem; align-items: center; }
.flex-row-wrap { display: flex; gap: 1rem; flex-wrap: wrap; }
.flex-col { display: flex; flex-direction: column; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-1 { flex: 1; min-width: 0; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 2rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Styled tables */
.styled-table {
    width: 100%;
    border-collapse: collapse;
}

.styled-table th,
.styled-table td {
    padding: 0.65rem 0.75rem;
    text-align: left;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(177, 130, 55, 0.08);
}

.styled-table th {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding-bottom: 0.75rem;
}

.styled-table td {
    color: var(--text-primary);
}

.styled-table tbody tr:hover {
    background: rgba(177, 130, 55, 0.04);
}

.styled-table .td-muted {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Links styled as gold */
.link-gold {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
}

.link-gold:hover {
    color: var(--gold-hover);
    text-decoration: underline;
}

/* Search / filter bar */
.search-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(177, 130, 55, 0.2);
    border-radius: var(--radius);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { border-color: var(--gold); outline: none; }

/* Divider */
.divider {
    border: none;
    border-top: 1px solid rgba(177, 130, 55, 0.1);
    margin: 1rem 0;
}

.divider-subtle {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Status badges */
.badge { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.badge-green { background: rgba(46, 204, 113, 0.12); color: #2ecc71; }
.badge-red { background: rgba(220, 53, 69, 0.12); color: #dc3545; }
.badge-gold { background: rgba(177, 130, 55, 0.15); color: var(--gold); }
.badge-muted { background: rgba(102, 102, 102, 0.2); color: #999; }

/* Chart containers */
.chart-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.chart-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--gold);
    transition: width 0.6s ease;
}

/* Print-specific */
@media print {
    .no-print { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .card-panel, .card-panel-sm, .card-panel-center, .admin-panel {
        border: 1px solid #ddd !important;
        background: #fff !important;
    }
}

/* ==========================================
   ACCOUNT PAGES
   ========================================== */
.account-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.account-layout-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.account-header {
    margin-bottom: 2rem;
}

.account-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.account-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(177, 130, 55, 0.1);
}

/* Upgrade prompt banner */
.upgrade-banner {
    background: linear-gradient(135deg, rgba(177, 130, 55, 0.08), rgba(177, 130, 55, 0.15));
    border: 1px solid rgba(177, 130, 55, 0.25);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.upgrade-banner-icon {
    font-size: 1.5rem;
    color: var(--gold);
}

.upgrade-banner-text {
    flex: 1;
    font-size: 0.92rem;
}

.map-preview {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 250px;
    background: var(--bg-secondary);
}

.map-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* ============================== */
/* NEW FEATURES — v6a             */
/* ============================== */

/* --- 1. Breadcrumbs --- */
.breadcrumb-nav {
    font-size: 0.8rem;
    padding: 0.75rem 0;
    color: var(--text-secondary, #9ca3af);
}

.breadcrumb-nav a {
    color: var(--gold, #b18237);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #c99a4a;
    text-decoration: underline;
}

.breadcrumb-nav .separator {
    margin: 0 0.4rem;
    color: var(--text-secondary, #9ca3af);
}

.breadcrumb-nav .active {
    color: var(--text-secondary, #9ca3af);
}

/* --- 2. Gallery / Lightbox --- */
.gallery-hero {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary, #0d1b2a);
}

.gallery-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumbnails {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding: 0.75rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(177, 130, 55, 0.3) transparent;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(177, 130, 55, 0.3);
    border-radius: 2px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    overflow: hidden;
    object-fit: cover;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--gold, #b18237);
}

.gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    pointer-events: none;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--gold, #b18237);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10000;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* --- 3. Listing Detail Layout --- */
.listing-detail {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 2rem;
    align-items: start;
}

.listing-main {
    min-width: 0;
}

.listing-sidebar {
    position: sticky;
    top: 100px;
}

.listing-header {
    margin-bottom: 2rem;
}

.listing-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold, #b18237);
    margin-bottom: 0.5rem;
}

.listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-secondary, #9ca3af);
    font-size: 0.9rem;
}

.listing-meta i {
    color: var(--gold, #b18237);
}

@media (max-width: 768px) {
    .listing-detail {
        display: block;
    }

    .listing-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

/* --- 4. Contact Card (sidebar) --- */
.contact-card {
    background: var(--bg-secondary, #0d1b2a);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(177, 130, 55, 0.2);
}

.contact-card-title {
    font-family: 'Cinzel', serif;
    color: var(--gold, #b18237);
    font-size: 1.1rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(177, 130, 55, 0.2);
}

.contact-card-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card-item:last-child {
    border-bottom: none;
}

.contact-card-item i {
    color: var(--gold, #b18237);
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
}

.contact-card-item a {
    color: var(--text-primary, #e8e0d4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card-item a:hover {
    color: var(--gold, #b18237);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.contact-actions .btn-gold {
    width: 100%;
    text-align: center;
}

/* --- 5. Reviews --- */
.reviews-section {
    margin: 2rem 0;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-stars {
    color: var(--gold, #b18237);
    font-size: 1.1rem;
}

.review-stars .empty {
    opacity: 0.3;
}

.review-card {
    background: var(--bg-secondary, #0d1b2a);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-author {
    font-weight: 600;
    color: var(--text-primary, #e8e0d4);
}

.review-date {
    color: var(--text-secondary, #9ca3af);
    font-size: 0.85rem;
}

.review-text {
    margin-top: 0.5rem;
    line-height: 1.6;
    color: var(--text-primary, #e8e0d4);
}

/* --- 6. Enquiry Form --- */
.enquiry-form {
    background: var(--bg-secondary, #0d1b2a);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(177, 130, 55, 0.2);
}

.enquiry-form h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold, #b18237);
    margin-bottom: 1rem;
}

.enquiry-form .form-group {
    margin-bottom: 1rem;
}

.enquiry-form label {
    color: var(--text-secondary, #9ca3af);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    display: block;
}

.enquiry-form input,
.enquiry-form textarea,
.enquiry-form select {
    width: 100%;
    background: #0d1b2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary, #e8e0d4);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus,
.enquiry-form select:focus {
    border-color: var(--gold, #b18237);
    outline: none;
}

.enquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .enquiry-form .form-row {
        grid-template-columns: 1fr;
    }
}

.enquiry-success {
    display: none;
    color: #22c55e;
    text-align: center;
    padding: 2rem;
}

.enquiry-success i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.enquiry-error {
    display: none;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* --- 7. Train Stations --- */
.train-stations {
    background: var(--bg-secondary, #0d1b2a);
    border-radius: 12px;
    padding: 1.25rem;
}

.train-station-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.train-station-item:last-child {
    border-bottom: none;
}

.train-station-name {
    color: var(--text-primary, #e8e0d4);
    font-weight: 500;
}

.train-station-distance {
    color: var(--text-secondary, #9ca3af);
    font-size: 0.85rem;
}

.train-icon {
    color: var(--gold, #b18237);
}

/* --- 8. AI Panel --- */
.ai-panel {
    background: var(--bg-secondary, #0d1b2a);
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 3px solid var(--gold, #b18237);
}

.ai-panel-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Cinzel', serif;
    margin-bottom: 0.75rem;
    color: var(--text-primary, #e8e0d4);
}

.ai-badge {
    color: var(--text-secondary, #9ca3af);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

.ai-panel-content {
    line-height: 1.7;
    font-size: 0.92rem;
    color: var(--text-primary, #e8e0d4);
}

/* --- 9. Social Sharing --- */
.social-share {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary, #0d1b2a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary, #e8e0d4);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    font-size: 1rem;
}

.social-share .facebook:hover {
    background: #1877f2;
    color: #fff;
}

.social-share .twitter:hover {
    background: #1da1f2;
    color: #fff;
}

.social-share .whatsapp:hover {
    background: #25d366;
    color: #fff;
}

.social-share .email-share:hover {
    background: var(--gold, #b18237);
    color: #fff;
}

.social-share .copy-link:hover {
    background: var(--gold, #b18237);
    color: #fff;
}

/* --- 10. Claim Box --- */
.claim-box {
    background: var(--bg-secondary, #0d1b2a);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px dashed rgba(177, 130, 55, 0.4);
}

.claim-box h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold, #b18237);
    margin-bottom: 0.5rem;
}

.claim-box p {
    color: var(--text-secondary, #9ca3af);
    font-size: 0.9rem;
    line-height: 1.5;
}

.claim-box .btn-outline-gold {
    margin-top: 0.75rem;
}

/* --- 11. Similar Venues --- */
.similar-section {
    padding: 3rem 0;
    background: #0a1520;
}

.similar-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--gold, #b18237);
    text-align: center;
    margin-bottom: 2rem;
}

/* --- 12. Free Audit CTA --- */
.audit-cta {
    position: relative;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    background: var(--bg-secondary, #0d1b2a);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.audit-cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold, #b18237), #d4a853, var(--gold, #b18237));
    z-index: -1;
}

.audit-cta h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold, #b18237);
    margin-bottom: 0.5rem;
}

.audit-cta p {
    color: var(--text-secondary, #9ca3af);
    margin-bottom: 1rem;
}

/* --- 13. Advanced Search Form --- */
.search-advanced {
    background: var(--bg-secondary, #0d1b2a);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.search-row .form-group {
    flex: 1;
    min-width: 150px;
}

.search-row label {
    color: var(--text-secondary, #9ca3af);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.25rem;
}

.search-row select,
.search-row input {
    width: 100%;
    background: #0d1b2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary, #e8e0d4);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.search-row select:focus,
.search-row input:focus {
    border-color: var(--gold, #b18237);
    outline: none;
}

.search-toggle {
    display: none;
    color: var(--gold, #b18237);
    background: none;
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0.5rem 0;
}

@media (max-width: 768px) {
    .search-toggle {
        display: inline-block;
    }

    .search-filters-collapsible {
        display: none;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

.search-distance-badge {
    display: inline-block;
    background: rgba(177, 130, 55, 0.15);
    color: var(--gold, #b18237);
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

/* --- 14. Autocomplete Dropdown --- */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d1b2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 8px 8px;
    max-height: 350px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.autocomplete-group {
    color: var(--text-secondary, #9ca3af);
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.autocomplete-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: background 0.2s ease;
}

.autocomplete-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.autocomplete-item .name {
    color: var(--text-primary, #e8e0d4);
}

.autocomplete-item .type-badge {
    display: inline-block;
    background: var(--gold, #b18237);
    color: var(--bg-dark, #08121f);
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    text-transform: capitalize;
    font-weight: 600;
}

/* --- 15. Embed Widget Preview --- */
.embed-preview {
    background: var(--bg-secondary, #0d1b2a);
    border-radius: 8px;
    padding: 1rem;
}

.embed-code {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    background: #0a0f16;
    padding: 0.75rem;
    border-radius: 6px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    color: var(--text-primary, #e8e0d4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.embed-copy-btn {
    display: inline-block;
    margin-top: 0.5rem;
    background: var(--gold, #b18237);
    color: var(--bg-dark, #08121f);
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.embed-copy-btn:hover {
    background: #c99a4a;
}

/* --- 16. Seasonal Spotlight --- */
.seasonal-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, rgba(177, 130, 55, 0.05) 0%, var(--bg-dark, #08121f) 100%);
}

.seasonal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.seasonal-hero h1 {
    font-family: 'Cinzel', serif;
    color: var(--gold, #b18237);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.seasonal-hero p {
    color: var(--text-secondary, #9ca3af);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- 17. Admin — Enhanced Sections --- */
.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 1200px) {
    .admin-kpi-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.kpi-card {
    background: var(--bg-secondary, #0d1b2a);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold, #b18237);
    margin-bottom: 0.25rem;
}

.kpi-label {
    color: var(--text-secondary, #9ca3af);
    font-size: 0.85rem;
}

.kpi-change {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.kpi-change.up {
    color: #22c55e;
}

.kpi-change.down {
    color: #ef4444;
}

.admin-data-table {
    background: var(--bg-secondary, #0d1b2a);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.admin-data-table th {
    color: var(--text-secondary, #9ca3af);
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.05em;
}

.admin-data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-primary, #e8e0d4);
    font-size: 0.9rem;
}

.admin-data-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.slot-meter {
    background: #0a0f16;
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
}

.slot-meter-fill {
    background: var(--gold, #b18237);
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.serp-preview {
    max-width: 600px;
    font-family: Arial, sans-serif;
    margin: 0.5rem 0;
}

.serp-preview .serp-title {
    color: #1a0dab;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
}

.serp-preview .serp-title:hover {
    text-decoration: underline;
}

.serp-preview .serp-url {
    color: #006621;
    font-size: 0.85rem;
    margin: 0.15rem 0;
}

.serp-preview .serp-desc {
    color: #545454;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* --- 18. Print Styles --- */
@media print {
    .main-nav, .top-bar, .site-footer, .nav-mobile-menu, .nav-mobile-overlay,
    .social-share, .enquiry-form, .claim-box, .btn-gold, .btn-outline-gold { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .listing-detail { display: block !important; }
    .listing-sidebar { page-break-before: always; }
    .contact-card { border: 1px solid #ccc !important; background: #f9f9f9 !important; }
    a { color: #000 !important; text-decoration: underline; }
    img { max-width: 100% !important; }
}
