/* ============================================
   GROUPS & EVENTS PAGE
   ============================================ */

:root {
    --cnvs-themecolor: #c45e00;
    --cnvs-themecolor-rgb: 196, 94, 0;
}

/* ============================================
   HERO — Full viewport, behind navbar
   ============================================ */

.groups-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -76px;
    padding-top: 76px;
    overflow: hidden;
}

.groups-hero-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.groups-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.groups-slide.active { opacity: 1; }

.groups-slide-1 {
    background-image: url('https://images.pexels.com/photos/2774556/pexels-photo-2774556.jpeg?auto=compress&cs=tinysrgb&w=1920&q=80');
}
.groups-slide-2 {
    background-image: url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=1920&q=80');
}
.groups-slide-3 {
    background-image: url('https://images.pexels.com/photos/1456613/pexels-photo-1456613.jpeg?auto=compress&cs=tinysrgb&w=1920&q=80');
}

.groups-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.35) 100%);
    z-index: 1;
}

.groups-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
}

.groups-hero-pill {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: white;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 6px 18px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.2);
}

.groups-hero-title {
    font-weight: 800;
    font-size: 3.2rem;
    color: white;
    margin: 0 0 16px;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.groups-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.groups-hero-cta {
    display: inline-block;
    background: linear-gradient(45deg, var(--cnvs-themecolor), #8b4000);
    color: white;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(196, 94, 0, 0.35);
}
.groups-hero-cta:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(196, 94, 0, 0.45);
}

/* ============================================
   SECTION HEADERS (reuse from booking-home)
   ============================================ */

/* Container — 80% on desktop, full on mobile */
.groups-container {
    max-width: 80%;
}

.section-pill {
    display: inline-block;
    background: rgba(var(--cnvs-themecolor-rgb), 0.1);
    color: var(--cnvs-themecolor);
    font-weight: 600;
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-title {
    font-weight: 800;
    color: #1f2937;
    margin: 0;
}

/* ============================================
   EVENT TYPE CARDS — Image + overlay
   ============================================ */

.event-type-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.event-type-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}

.event-type-img {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.event-type-img-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.event-type-icon-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 44px; height: 44px;
    background: var(--cnvs-themecolor);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.event-type-icon-badge i {
    color: white;
    font-size: 1.2rem;
}

.event-type-body {
    padding: 18px;
    flex: 1;
}

.event-type-title {
    font-weight: 700;
    font-size: 1rem;
    color: #1f2937;
    margin: 0 0 6px;
}

.event-type-desc {
    font-size: 0.84rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */

.why-item i {
    font-size: 2rem;
    color: var(--cnvs-themecolor);
    display: block;
    margin-bottom: 10px;
}
.why-item h6 {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}
.why-item p {
    font-size: 0.84rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   INQUIRY FORM
   ============================================ */

.group-inquiry-form-wrapper {
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.group-inquiry-form-wrapper .form-label {
    font-size: 0.84rem;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 4px;
}
.group-inquiry-form-wrapper .form-control,
.group-inquiry-form-wrapper .form-select {
    font-size: 0.9rem;
    border-radius: 8px;
    border: 1.5px solid #e5e7eb;
    padding: 10px 14px;
}
.group-inquiry-form-wrapper .form-control:focus,
.group-inquiry-form-wrapper .form-select:focus {
    border-color: var(--cnvs-themecolor);
    box-shadow: 0 0 0 3px rgba(196, 94, 0, 0.08);
}

.groups-cta-btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--cnvs-themecolor), #8b4000);
    color: white;
    border: none;
    padding: 12px 36px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 14px rgba(196, 94, 0, 0.25);
}
.groups-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(196, 94, 0, 0.35);
}
.groups-cta-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 768px) {
    /* Full-width container on tablets and phones */
    .groups-container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
    .groups-hero {
        min-height: 80vh;
    }
    .groups-hero-title {
        font-size: 2rem;
    }
    .groups-hero-subtitle {
        font-size: 0.92rem;
    }
    .groups-hero-cta {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
    .event-type-img {
        height: 160px;
    }
    .event-type-body {
        padding: 14px;
    }
    .event-type-title {
        font-size: 0.92rem;
    }
    .event-type-desc {
        font-size: 0.78rem;
    }
    .group-inquiry-form-wrapper {
        padding: 20px 16px;
    }
}

@media (max-width: 576px) {
    .groups-hero {
        min-height: 70vh;
    }
    .groups-hero-title {
        font-size: 1.7rem;
    }
    .groups-hero-subtitle {
        font-size: 0.85rem;
    }
    .event-type-img {
        height: 140px;
    }
}
