/* ===============================================
   UNIVERSAL DESIGN SYSTEM CSS
   Smart Eco-Tourism VR - Konsistensi UI/UX
   =============================================== */

/* === HERO SECTIONS === */
.hero-section-standard {
    background: linear-gradient(135deg, #172554 0%, #1e3a8a 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    border-radius: 0 0 60px 60px;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section-conservation {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
}

.hero-section-reports {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%) !important;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-accent {
    color: #fbbf24;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin-bottom: 1.5rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hero-features span i {
    color: rgba(255, 255, 255, 0.3);
}

/* === SEARCH/FILTER CARD === */
.search-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border: none;
}

.search-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.search-input,
.search-select {
    border-radius: 9999px !important;
    border: 2px solid #eff6ff !important;
    padding: 0.75rem 1.25rem !important;
    background: #f8fafc !important;
    font-weight: 600;
}

.search-input:focus,
.search-select:focus {
    border-color: #2563eb !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

/* === CARDS === */
.card-standard {
    border-radius: 1.5rem;
    border: none;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-standard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-standard:hover .card-image img {
    transform: scale(1.1);
}

/* === BUTTONS === */
.btn-premium {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: white !important;
    border: none;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-width: 0 !important;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
    color: white !important;
}

.btn-emerald {
    background: linear-gradient(135deg, #059669, #10b981) !important;
    color: white !important;
    border: none;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.3);
    transition: all 0.3s ease;
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(5, 150, 105, 0.4);
    color: white !important;
}

.btn-sky {
    background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
    color: white !important;
    border: none;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.3);
    transition: all 0.3s ease;
}

.btn-sky:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(2, 132, 199, 0.4);
    color: white !important;
}

/* === UTILITY CLASSES === */
.rounded-4 {
    border-radius: 1.5rem !important;
}

.shadow-soft {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.letter-spacing-1 {
    letter-spacing: 0.05em;
}

.text-gradient-blue {
    background: linear-gradient(135deg, #3b82f6, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Emerald Colors */
.text-emerald-600 {
    color: #059669 !important;
}

.text-emerald-700 {
    color: #047857 !important;
}

.bg-emerald-50 {
    background-color: #ecfdf5 !important;
}

.bg-emerald-100 {
    background-color: #d1fae5 !important;
}

.border-emerald-200 {
    border-color: #a7f3d0 !important;
}

/* Sky Colors */
.text-sky-600 {
    color: #0284c7 !important;
}

.text-sky-700 {
    color: #0369a1 !important;
}

.bg-sky-50 {
    background-color: #f0f9ff !important;
}

.bg-sky-100 {
    background-color: #e0f2fe !important;
}

.border-sky-200 {
    border-color: #bae6fd !important;
}

/* === ANIMATIONS === */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* === RESPONSIVE === */
@media (max-width: 575px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-section-standard {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .search-card {
        padding: 1.5rem;
        margin-top: -40px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
}

/* === FIXES FOR EXISTING ELEMENTS === */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
}

.btn {
    transition: all 0.3s ease;
}

/* Ensure all rounded-pill are consistent */
.rounded-pill {
    border-radius: 9999px !important;
}

/* Ensure all shadows are consistent */
.card.shadow-sm {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

.card.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

/* === BADGE SYSTEM === */
.badge {
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* === FORM ELEMENTS === */
.form-control,
.form-select {
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
}

/* === PAGE-SPECIFIC OVERRIDES === */
/* Virtual Tours - ensure blue theme */
.virtual-tours-page .hero-section {
    background: linear-gradient(135deg, #172554 0%, #1e3a8a 100%) !important;
}

/* Activities - ensure emerald theme */
.activities-page .hero-section-standard {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
}

/* Reports - ensure sky theme */
.reports-page .hero-section-standard {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%) !important;
}

/* === END OF UNIVERSAL CSS === */
