/* Custom Font Declaration */
@font-face {
    font-family: 'BundayClean';
    src: url('https://samaanmikhael.com/wp-content/themes/masterstudy-child/fonts/BUNDAYCLEAN-REGULAR.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Base Styles & Scrollbar Hiding */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

/* Glassmorphism Panel Utilities */
.glass-panel {
    background: var(--tw-colors-glass, rgba(249, 246, 247, 0.03));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--tw-colors-glassBorder, rgba(249, 246, 247, 0.08));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Underline Animation for Nav Links */
.link-hover {
    position: relative;
}
.link-hover::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #BB2649;
    transition: width 0.3s ease-in-out;
}
.link-hover:hover::after {
    width: 100%;
}

/* Floating Animation for 3D Elements */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatReverse {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(15px) rotate(-2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

.float-anim-reverse {
    animation: floatReverse 7s ease-in-out infinite;
}

/* Ensure images embedded retain aspects */
img {
    -webkit-user-drag: none;
}