/* Custom CSS for Mundo Digital */

:root {
    --primary-color: #0056b3;
    --secondary-color: #0d6efd;
    --accent-color: #ffc107;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --transition-speed: 0.4s;
}

body {
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    color: #333;
}

/* Navbar Customization */
.navbar {
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand span {
    letter-spacing: 2px;
}

.nav-link {
    font-weight: 500;
    margin-right: 1.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('assets/hero.png') no-repeat center center/cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-up-delayed {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.animate-up-more {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Title Styling */
.section-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-color);
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
    margin-top: 15px;
}

/* Category Cards */
.category-card {
    transition: all var(--transition-speed) cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border-radius: 1.5rem !important;
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.card-img-wrapper {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f7ff;
    transition: background-color 0.3s ease;
}

.category-card:hover .card-img-wrapper {
    background-color: #e2efff;
}

/* Image Showcase */
.hover-scale {
    transition: transform 0.5s ease;
    cursor: pointer;
}

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

/* Locations */
.location-card {
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: scale(1.02);
}

/* Form Styling */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.8rem;
    border: 1px solid #eee;
    background-color: #f9f9f9;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    background-color: #fff;
    border-color: var(--primary-color);
}

/* Small adjustments for utility classes */
.bg-soft-warning { background-color: #fff8e1 !important; }
.bg-soft-info { background-color: #e1f5fe !important; }
.bg-soft-success { background-color: #e8f5e9 !important; }
.bg-soft-danger { background-color: #ffebee !important; }

/* Desktop Hover Animations for Link in Footer */
.link-hover:hover {
    color: #fff !important;
    opacity: 1 !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

/* Review Cards Styling */
.review-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.review-avatar {
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Scrollreveal pseudo-animation for new sections */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(0,0,0,0.95);
        margin-top: 0.5rem;
        padding: 1rem;
        border-radius: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}
