@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Outfit', sans-serif;
    background-color: #f4f7f9;
    color: #2c3e50;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    padding: 1rem 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.brand-title {
    color: #ffffff;
    font-size: 1.8rem;
    letter-spacing: 1px;
    line-height: 1.2;
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}
.navbar-toggler-icon {
    filter: invert(1);
}

/* Cards & Gallery */
.gallery-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.gallery-card img {
    height: 320px;
    object-fit: contain;
    background-color: #f4f7f9;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.5s ease;
}

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

.card-body {
    padding: 1.5rem;
    z-index: 1;
    background: #fff;
}

.card-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #1a252f;
}

.gallery-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.gallery-card:hover .gallery-actions {
    opacity: 1;
}

.gallery-actions button {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.9);
    border: none;
    color: #2c3e50;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s, background 0.2s;
}

.gallery-actions button:hover {
    transform: scale(1.1);
    background: #ffffff;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 4px 15px rgba(71, 118, 230, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(71, 118, 230, 0.4);
    background: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%);
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
}

/* Form Elements */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #eef2f5;
    padding: 0.7rem 1rem;
    background: #fcfcfc;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background: #ffffff;
    border-color: #4776E6;
    box-shadow: 0 0 0 4px rgba(71, 118, 230, 0.15);
}

.form-label {
    font-weight: 600;
    color: #34495e;
    margin-bottom: 0.4rem;
}

/* Modals */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-bottom: 1px solid #dee2e6;
    color: #2c3e50 !important;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 700;
    color: #1e3c72;
}

.btn-close-white {
    filter: none;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #eef2f5;
    padding: 1.25rem;
}

/* Badges */
.badge {
    border-radius: 6px;
    font-weight: 600;
    padding: 0.4em 0.7em;
    letter-spacing: 0.5px;
}

.bg-secondary {
    background: #95a5a6 !important;
}

.bg-info {
    background: #3498db !important;
}

/* Search Lists */
.list-group-item {
    border: none;
    border-radius: 10px !important;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    transition: all 0.2s;
    cursor: pointer;
}

.list-group-item:hover {
    background: #eef2f5;
    transform: translateX(5px);
}

.search-img-thumb {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
