:root {
    --primary-color: #ff8c00; /* Original Rakus Orange */
    --secondary-color: #fff8e1; /* Original Rakus Light Orange */
    --text-color: #1a1a1a; /* Soft Black */
    --bg-color: #ffffff; /* White */
    --accent-color: #e07b00; /* Darker Orange for hover */
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* Utilities */
.smooth-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.smooth-shadow:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.rounded-xl {
    border-radius: 0.75rem;
}
.rounded-2xl {
    border-radius: 1rem;
}
.rounded-3xl {
    border-radius: 1.5rem;
}

@media (max-width: 768px) {
    .rounded-xl {
        border-radius: 1.25rem;
    }
    .rounded-2xl {
        border-radius: 1.75rem;
    }
    .rounded-3xl {
        border-radius: 2.25rem;
    }
}

.text-primary-custom {
    color: var(--primary-color);
}
.bg-primary-custom {
    background-color: var(--primary-color);
}
.bg-secondary-custom {
    background-color: var(--secondary-color);
}

.btn-custom {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-weight: 600;
}

.btn-custom:hover {
    background-color: var(--accent-color);
    color: white;
}

@media (max-width: 768px) {
    .btn-custom {
        padding: 0.75rem 1.5rem;
        border-radius: 0.75rem;
    }
}

.card-custom {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    background: white;
}

/* Navbar */
.navbar-custom {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Mobile Bottom Navigation - STRICTLY MOBILE */
@media (max-width: 768px) {
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        justify-content: space-around;
        padding: 10px 0 calc(10px + var(--safe-area-inset-bottom));
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 1050;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #666;
        text-decoration: none;
        font-size: 0.7rem;
        font-weight: 500;
    }

    .bottom-nav-item i {
        font-size: 1.25rem;
        margin-bottom: 2px;
    }

    .bottom-nav-item.active {
        color: var(--primary-color);
    }

    body {
        padding-bottom: 70px; /* Space for bottom nav */
    }
}

/* Breadcrumbs */
.breadcrumb-container {
    padding: 0.5rem 0;
    background: transparent;
}

@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 0.75rem 1.25rem;
        background: white;
        border-radius: 1rem;
        display: inline-flex;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    }
}

/* Install Shortcut Prompt */
.install-prompt {
    position: fixed;
    bottom: 80px;
    left: 15px;
    right: 15px;
    background: #222;
    color: white;
    padding: 0.9rem;
    border-radius: 1rem;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Articles and Events */
.card-event,
.card-article {
    border-radius: 0.75rem;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .card-event,
    .card-article {
        border-radius: 1.25rem;
    }
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    transition: transform 0.5s ease;
}

.card-event:hover .card-img-wrapper img,
.card-article:hover .card-img-wrapper img {
    transform: scale(1.03);
}
