/* ═══════════════════════════════════════════════════════════════
   EventSpacesGH — Custom Stylesheet
   Primary: #1B4543  |  Accent: #E8A020  |  Font: Inter
════════════════════════════════════════════════════════════════ */

/* ─── Root Variables ─────────────────────────────────────────── */
:root {
    --primary:       #1B4543;
    --primary-dark:  #133230;
    --primary-light: #255956;
    --accent:        #E8A020;
    --accent-dark:   #c8881a;
    --text-dark:     #1a1a1a;
    --text-muted:    #6c757d;
    --bg-light:      #f8f9fa;
    --radius:        12px;
    --shadow:        0 2px 16px rgba(0,0,0,0.08);
}

/* ─── Base ───────────────────────────────────────────────────── */
* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
}

/* ─── Bootstrap Overrides ────────────────────────────────────── */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}
.btn-accent:hover, .btn-accent:focus {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.text-primary { color: var(--primary) !important; }
.text-accent  { color: var(--accent)  !important; }
.bg-primary   { background-color: var(--primary) !important; }

/* ─── Navbar ─────────────────────────────────────────────────── */
.navbar .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: rgba(255,255,255,0.85) !important;
    transition: color 0.2s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff !important;
}
.navbar .nav-link.active {
    border-bottom: 2px solid var(--accent);
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
}
.brand-accent { color: var(--accent); }
.brand-icon   { font-size: 1.2rem; color: var(--accent); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #2d7a6e 100%);
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay { display: none; }

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
}

.hero-highlight { color: var(--accent); }

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin-inline: auto;
}

/* Hero search form */
.hero-search-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

.hero-search-form .form-control,
.hero-search-form .form-select {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.hero-search-form .input-group-text {
    background-color: #f8f9fa;
    border-radius: 8px 0 0 8px;
    padding-right: 0;
}

.hero-search-form .btn-accent {
    border-radius: 8px;
    padding: 10px;
}

/* ─── Stats Strip ─────────────────────────────────────────────── */
.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ─── Section Headers ────────────────────────────────────────── */
.section-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 6px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* ─── Category Cards ─────────────────────────────────────────── */
.category-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: var(--radius);
    transition: all 0.25s ease;
    cursor: pointer;
}
.category-card:hover {
    border-color: var(--primary);
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.category-card:hover .category-label,
.category-card:hover .category-count {
    color: #fff !important;
}
.category-card:hover .category-icon i {
    color: var(--accent);
}

.category-icon i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: color 0.25s;
}
.category-label {
    color: var(--text-dark);
    transition: color 0.25s;
}
.category-count {
    transition: color 0.25s;
}

/* ─── Venue Cards ─────────────────────────────────────────────── */
.venue-card {
    border-radius: var(--radius) !important;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.venue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
}
.venue-card .card-img-top {
    border-radius: 0 !important;
    transition: transform 0.3s ease;
}
.venue-card:hover .card-img-top {
    transform: scale(1.03);
}

.badge-type {
    background-color: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* ─── How It Works Steps ─────────────────────────────────────── */
.step-card {
    position: relative;
}
.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(27, 69, 67, 0.08);
    line-height: 1;
    margin-bottom: -0.5rem;
}
.step-icon i {
    font-size: 2rem;
    color: var(--primary);
}

/* ─── Vendor CTA Section ─────────────────────────────────────── */
.vendor-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* ─── Testimonials ───────────────────────────────────────────── */
.testimonial-card {
    border-radius: var(--radius) !important;
    transition: transform 0.25s, box-shadow 0.25s;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1) !important;
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ─── Final CTA ──────────────────────────────────────────────── */
.final-cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* ─── Utilities ──────────────────────────────────────────────── */
.z-1 { z-index: 1; }

/* ─── Responsive tweaks ──────────────────────────────────────── */
@media (max-width: 767px) {
    .hero-section { padding: 60px 0 40px; min-height: auto; }
    .hero-search-form .row { --bs-gutter-x: 0.5rem; }
}
