/* Custom Fonts Selection Override */
::selection {
    background-color: #e8d2b8;
    color: #2c2d33;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1f2024;
}
::-webkit-scrollbar-thumb {
    background: #e8d2b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #cba886;
}

/* Preloader Animation */
.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(232, 210, 184, 0.3);
    border-radius: 50%;
    border-top-color: #e8d2b8;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Floating Animation for Logo */
.floating {
    animation: floating 4s ease-in-out infinite;
}
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Glassmorphism Buttons & Cards */
.glass-btn {
    background: rgba(232, 210, 184, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 210, 184, 0.2);
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 210, 184, 0.3);
}

/* Social Media Buttons */
.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 640px) {
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Advanced Category Cards Styling */
.category-card img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.category-card:hover img {
    transform: scale(1.1);
}
.img-gradient {
    background: linear-gradient(
        to top, 
        rgba(44, 45, 51, 0.95) 0%, 
        rgba(44, 45, 51, 0.4) 50%, 
        transparent 100%
    );
}

/* Subtle Pattern Background for Categories Section */
.section-pattern {
    background-image: radial-gradient(rgba(232, 210, 184, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}