:root {
    --bd-primary: #1a1a2e;
    --bd-accent: #f0a500;
    --bd-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
}

/* Site header / navigation */
.site-header {
    z-index: 1030;
    transition: box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.site-header.is-scrolled .site-navbar {
    backdrop-filter: blur(10px);
    background: rgba(18, 19, 26, 0.96) !important;
}

.site-navbar {
    background: #12131a !important;
    padding: 0;
    min-height: 72px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-navbar-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
    min-height: 72px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    padding: 0.35rem 1.25rem 0.35rem 0;
    margin-right: 0.5rem;
    transition: opacity 0.2s ease;
}

.site-brand:hover {
    opacity: 0.92;
}

.site-brand-logo {
    height: 42px;
    width: auto;
}

.site-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 165, 0, 0.15);
    color: #f0a500;
    font-size: 1.3rem;
}

.site-brand-text {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.site-brand-primary {
    color: #fff;
}

.site-brand-accent {
    color: #f0a500;
}

.site-nav-collapse {
    flex-grow: 1;
    align-items: center;
    overflow: visible;
}

.site-navbar,
.site-navbar-container {
    overflow: visible;
}

.site-nav-list {
    align-items: center;
    margin: 0;
    gap: 0.15rem;
}

.site-nav-list-desktop {
    flex: 1;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
    min-width: 0;
    overflow: visible;
}

.site-nav-more {
    position: static;
}

.site-nav-list-mobile {
    width: 100%;
    padding: 0.5rem 0 0.75rem;
}

.site-nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 600;
    font-size: 0.84rem;
    padding: 0.5rem 0.58rem !important;
    border-radius: 8px;
    position: relative;
    white-space: nowrap;
    transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}

.site-nav-link.is-active {
    color: #f0a500 !important;
    background: rgba(240, 165, 0, 0.08);
}

.site-nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 999px;
    background: #f0a500;
    transition: width 0.22s ease;
}

.site-nav-more .dropdown-toggle::after {
    margin-left: 0.35rem;
    vertical-align: 0.15em;
}

.site-nav-dropdown {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.45rem;
    margin-top: 0.5rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    min-width: 180px;
    z-index: 1055;
}

.site-nav-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav-dropdown .dropdown-item:hover,
.site-nav-dropdown .dropdown-item:focus {
    background: rgba(240, 165, 0, 0.15);
    color: #fff;
}

.site-nav-dropdown .dropdown-item.active {
    background: rgba(240, 165, 0, 0.2);
    color: #f0a500;
}

.site-search-form {
    display: flex;
    align-items: stretch;
    margin-left: auto;
    min-width: 185px;
    max-width: 240px;
    flex-shrink: 0;
}

.site-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    border-radius: 10px 0 0 10px;
    padding: 0.6rem 0.9rem;
    font-size: 0.875rem;
    outline: none;
    transition: box-shadow 0.2s ease;
}

.site-search-input:focus {
    box-shadow: inset 0 0 0 2px rgba(240, 165, 0, 0.45);
}

.site-search-btn {
    border: none;
    background: #f0a500;
    color: #12131a;
    width: 48px;
    border-radius: 0 10px 10px 0;
    font-size: 1.05rem;
    transition: background 0.22s ease, transform 0.22s ease;
}

.site-search-btn:hover {
    background: #d89400;
}

.site-search-btn:active {
    transform: scale(0.97);
}

.site-nav-toggle {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.45rem 0.55rem;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
}

.site-nav-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(240, 165, 0, 0.35);
}

.site-nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1200px) {
    .site-nav-collapse {
        display: flex !important;
        flex-wrap: nowrap;
        width: auto;
    }

    .site-search-form {
        margin-left: 1rem;
    }
}

@media (max-width: 1199.98px) {
    .site-nav-collapse {
        padding: 0.75rem 0 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 0.35rem;
    }

    .site-nav-list-mobile .site-nav-link {
        padding: 0.65rem 0.5rem !important;
        font-size: 0.95rem;
    }

    .site-search-form {
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

.hero-section {
    min-height: 70vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-section .container {
    z-index: 1;
}

.design-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.design-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

.design-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.design-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.design-card:hover .design-card-image img {
    transform: scale(1.06);
}

.design-card-link {
    text-decoration: none;
    color: inherit;
}

.media-badge,
.featured-badge {
    position: absolute;
    z-index: 2;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
}

.media-badge {
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
}

.featured-badge {
    top: 0.5rem;
    left: 0.5rem;
    background: var(--bd-accent);
    color: #000;
    font-weight: 600;
}

.home-category-card img {
    aspect-ratio: 16/10;
    object-fit: cover;
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-content h2 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.filter-panel .card-body {
    padding: 1.25rem;
}

.site-footer a:hover {
    color: var(--bd-accent) !important;
}

.design-description a.design-email-link {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.design-description a.design-email-link:hover {
    color: #0a58ca;
}

.design-description a.design-company-link {
    color: #1a1a2e;
    text-decoration: none;
}

.design-description a.design-company-link strong {
    font-weight: 800;
}

.design-description a.design-company-link:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.design-description a.design-company-link:hover strong {
    color: inherit;
}

.design-publish-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.875rem;
}

.design-publish-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.design-publish-meta-item i {
    font-size: 0.95rem;
    opacity: 0.75;
}

.social-share-badges {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.75rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 575px) {
    .social-share-badges {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .social-badge {
        flex: 0 0 auto;
    }
}

.social-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 30px;
    min-height: 30px;
    padding: 0 0.85rem 0 2.35rem;
    border-radius: 0 4px 4px 0;
    text-decoration: none;
    color: #fff;
    box-shadow: 2px 3px 7px rgba(0, 0, 0, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.social-badge:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 3px 4px 9px rgba(0, 0, 0, 0.26);
}

.social-badge__icon {
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.18);
    z-index: 1;
}

.social-badge__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.social-badge--facebook { background: linear-gradient(90deg, #1877f2 0%, #0e5fc7 100%); }
.social-badge--facebook .social-badge__icon { background: #1877f2; }

.social-badge--youtube { background: linear-gradient(90deg, #ff0000 0%, #cc0000 100%); }
.social-badge--youtube .social-badge__icon { background: #ff0000; }

.social-badge--whatsapp { background: linear-gradient(90deg, #25d366 0%, #1da851 100%); }
.social-badge--whatsapp .social-badge__icon { background: #25d366; }

.social-badge--twitter { background: linear-gradient(90deg, #141414 0%, #000000 100%); }
.social-badge--twitter .social-badge__icon { background: #000000; }
