/*
 * Sewuwisata - Consolidated Stylesheet
 * Version: 3.0
 * Description: All custom styles for the Sewuwisata website.
 */

/* 1. Custom Variables & Global Styles */
:root {
    --pringsewu-green: #0D6832;
    --pringsewu-gold: #D4AF37;
    --bs-success-rgb: 13, 104, 50; /* Overriding for Bootstrap consistency */
}

body {
    font-family: 'Poppins', sans-serif;
}

/* 2. Components & Sections */
.hero {
    height: 90vh; /* Menggunakan nilai 90vh agar lebih tinggi */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('gambar/1belanjaPringsewu.jpg') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
}

.section-title hr {
    width: 80px;
    height: 4px;
    background-color: var(--pringsewu-gold);
    opacity: 1;
}

/* 3. Button & Navigation Styles */
.btn-success {
    background-color: var(--pringsewu-green);
    border-color: var(--pringsewu-green);
}

.btn-success:hover {
    background-color: #084d25;
    border-color: #084d25;
}

.btn-warning {
    background-color: var(--pringsewu-gold);
    border-color: var(--pringsewu-gold);
    color: #333;
}

.btn-warning:hover {
    background-color: #e9cb69;
    border-color: #e9cb69;
}

.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link:focus {
    color: var(--pringsewu-gold) !important; /* Disatukan menggunakan variabel gold agar konsisten */
}

/* 4. Weather Widget Styling */
.weather-widget {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(5px);
    margin-left: auto;
    margin-right: auto;
}

.weather-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.weather-details {
    text-align: left;
}

.weather-location {
    font-weight: bold;
}

.weather-temp {
    font-size: 1.2rem;
}

.weather-desc {
    font-size: 0.9rem;
}

/* 5. Footer Social Icons */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--pringsewu-gold); /* Disatukan menggunakan variabel gold agar konsisten */
    transform: translateY(-3px);
}

/* 6. Helper Classes */
.bg-custom-green {
    background-color: var(--pringsewu-green) !important;
}

.text-success {
    color: var(--pringsewu-green) !important;
}

.border-dashed {
    border-style: dashed !important;
}