/* CSS modules are now enqueued separately in functions.php for better cache control */

@font-face {
    font-family: 'Suisse Intl';
    src: url('../fonts/SuisseIntl-Regular-WebM.woff2');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Suisse Intl';
    src: url('../fonts/SuisseIntl-Light-WebM.woff2');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Suisse Intl';
    src: url('../fonts/SuisseIntl-Medium-WebM.woff2');
    font-weight: 500;
    font-display: swap;
}

/* ================================
        Timbrul Arhitecturii
        Main Stylesheet
================================ */

/* Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

/* WordPress specific classes (for future use) */
.wp-block {
    max-width: 100%;
}

.alignwide {
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn var(--transition-base) ease-out;
}

/* Focus visible enhancement */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Selection styling */
::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: var(--color-gray-light);
    -webkit-box-shadow: 0 0 1px var(--color-gray-light);;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
