:root {
    --dc-red: #C10015;
    --dc-red-hover: #9E0010;
    --dc-gold: #D4AF37;
    --dc-dark: #1E1E24;
    --dc-light: #FCFBFA;
    --dc-border-radius: 12px;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
}

body {
    background-color: #F4F5F6;
    color: var(--dc-dark);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
    color: var(--dc-dark);
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dc-red) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: var(--dc-red);
    transition: all 0.25s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 0.75rem;
    animation: fadeIn 0.2s ease-out;
}

.dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: rgba(193, 0, 21, 0.08);
    color: var(--dc-red);
}

/* Banner Carousel */
.carousel-item {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Buttons */
.btn-dc-primary {
    background-color: var(--dc-red);
    color: white;
    border: none;
    font-weight: 600;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-dc-primary:hover {
    background-color: var(--dc-red-hover);
    color: white;
    box-shadow: 0 4px 12px rgba(193, 0, 21, 0.3);
}

.btn-dc-outline {
    border: 2px solid var(--dc-red);
    color: var(--dc-red);
    background-color: transparent;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-dc-outline:hover {
    background-color: var(--dc-red);
    color: white;
    box-shadow: 0 4px 12px rgba(193, 0, 21, 0.25);
}

/* Cards */
.card-custom {
    background: white;
    border-radius: var(--dc-border-radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-custom:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
