/*
Theme Name: Hofmann Design Studio Theme
Theme URI: https://hofmanndesignstudio.com
Author: Gabriele Antonelli
Author URI: https://hofmanndesignstudio.com
Description: Tema Personalizzato Hofmann Design Studio
Template: hello-elementor
Version: 1.0
Text Domain: hofmanndesignstudio-theme
*/

/* MEDIA BREAKPOINTS:
max 575px
min 576px
min 992px
min 1200px
min 1440px
*/

/* GLOBAL */
@font-face {
    font-family: 'Arimo';
    src: url('assets/fonts/arimo/Arimo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 14px;
    scrollbar-gutter: stable;
}

body {
    background-color: #171615;
    font-family: 'Arimo', sans-serif;
    letter-spacing: 1px;
    color: #CFCBC5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img.border-radius {
    border-radius: 5px;
}

a {
    color: #CFCBC5;
    text-decoration: none!important;
}

a:hover {
    color: #CFCBC5;
}

.text-sm {
    font-size: .9rem;
    letter-spacing: .2rem;
}

.text-md {
    font-size: 1.2rem;
    letter-spacing: .4rem;
}

.text-l {
    font-size: 1.4rem;
    letter-spacing: .5rem;
    line-height: 2rem;
}

.text-xl {
    font-size: 1.6rem;
    letter-spacing: .6rem;
}

@keyframes glowPulseXs {
    0% {
        filter: drop-shadow(0 0 1px #ffffff);
    }
    100% {
        filter: unset;
    }
}

.light-up-xs {
    filter: unset;
    animation: glowPulseXs .6s ease-in-out;
}

@keyframes glowHoverXs {
    0% {
        filter: unset;
    }
    100% {
        filter: drop-shadow(0 0 1px #ffffff);
    }
}

.light-up-xs:hover {
    filter: drop-shadow(0 0 1px #ffffff);
    animation: glowHoverXs .4s ease-in-out;
}

.light-down {
    opacity: 60%;
}

.site-header {
    padding-block-end:1rem!important;
    padding-block-start:1rem!important;
}

.site-footer {
    padding-block-end:2rem!important;
    padding-block-start:2rem!important;
}

.site-main {
    padding-block-end:1rem!important;
    padding-block-start:1rem!important;
    padding-inline-start:1rem!important;
    padding-inline-end:1rem!important;
    flex: 1;
}

.site-footer, .site-header, .site-main {
    padding-inline-end:2rem!important;
    padding-inline-start:2rem!important;
}

@media(min-width: 576px) {
    .site-footer, .site-header, .site-main {
        max-width: 100%!important;
    }
}

@media(min-width: 768px) {
    .site-footer, .site-header, .site-main {
        max-width: 100%!important;
    }
}

@media(min-width: 992px) {
    .site-footer, .site-header, .site-main {
        max-width: 100%!important;
    }
}

@media(min-width: 1200px) {
    .site-footer, .site-header, .site-main {
        max-width: 1140px!important;
    }
}

@media(min-width: 1440px) {
    .site-footer, .site-header, .site-main {
        max-width: 1320px!important;
    }
}

/* Header */
.header-wrapper {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

@media(min-width: 992px) {
    header .site-navigation {
        position: relative;
    }
}

header .site-navigation-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

header .site-navigation-buttons .icon {
    height: 1.3rem;
    cursor: pointer;
}

header .site-navigation-buttons .icon.menu {
    height: 1.8rem;
}

header .site-navigation-buttons .site-navigation-icon {
    display: flex;
}

header .site-branding-logo {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

header .site-branding-logo .logo {
    height: 6rem;
}

header .site-branding-name {
    font-size: 1rem;
    letter-spacing: .4rem;
    width: min-content;
}

@media(min-width: 992px) {
    header .site-branding-name {
        font-size: 1.6rem;
        letter-spacing: .6rem;
        width: 100%;
    }
}

header .site-navigation-dropdown {
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    left: unset;
    right: 0;
    list-style: none;
    width: 100%;
    top: 100%;
    pointer-events: none;
}

@media(min-width: 992px) {
    header .site-navigation-dropdown {
        width: 17rem;
        top: 110%;
    }
}

header .site-navigation-dropdown.active {
    max-height: 200px;
    opacity: 1;
    pointer-events: auto;
}

header .site-navigation-dropdown .site-navigation-links {
    list-style: none;
    background: rgba(23, 22, 21, 0.9);
    padding: 0 0 1rem 2rem;
}

/* Homepage */
section.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 2rem;
}

section.hero .hero-link {
    width: 100%;
}

@media(min-width: 1200px) {
    section.hero .hero-link {
        width: 90%;
    }
}

/* Footer */
footer.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-direction: column;
}

@media(min-width: 1200px) {
    footer.site-footer {
        flex-direction: row;
    }
}

footer.site-footer .site-footer-branding-logo {
    display: flex;
    gap: 1rem;
    align-items: center;
}

footer.site-footer .site-footer-branding-logo .logo {
    height: 4rem;
}

footer.site-footer .site-footer-branding .site-footer-branding-name {
    margin: 0;
    max-width: 15rem;
}

@media(min-width: 992px) {
    footer.site-footer .site-footer-branding .site-footer-branding-name {
        max-width: 100%;
    }
}

footer.site-footer .site-footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media(min-width: 1200px) {
    footer.site-footer .site-footer-info {
        align-items: end;
    }
}

footer.site-footer .site-footer-info .site-footer-navigation-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
}

@media(min-width: 992px) {
    footer.site-footer .site-footer-info .site-footer-navigation-links {
        flex-direction: row;
    }
}

footer.site-footer .site-footer-info .site-footer-navigation-links span {
    display: none;
}

@media(min-width: 992px) {
    footer.site-footer .site-footer-info .site-footer-navigation-links span {
        display: block;
    }
}

footer.site-footer .site-footer-info .site-footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media(min-width: 992px) {
    footer.site-footer .site-footer-info .site-footer-contacts {
        flex-direction: row;
        gap: 1.5rem;
    }
}

footer.site-footer .site-footer-info .site-footer-contacts .site-footer-contact {
    display: flex;
    gap: 1rem;
}

footer.site-footer .site-footer-info .site-footer-contacts .site-footer-contact .icon {
    height: 1rem;
}

/* Category */
.category-page .category-title {
    text-transform: uppercase;
    margin: 0 0 4rem;
    text-align: center;
}

.category-page .posts-grid {
    display: grid;
    gap: 4rem;
    margin-bottom: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(auto, 30rem));
    justify-content: center;
}

.category-page .post-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.category-page .post-image {
    display: block;
    width: 100%;
    height: 30rem;
    overflow: hidden;
}

.category-page .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}

.category-page .post-title {
    margin: 0 0 0 2rem;
    text-transform: uppercase;
}

/* Category Press */
.category-page.press .posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(auto, 25rem));
}

.category-page.press .post-image {
    height: 25rem;
}

/* Single */
.single .page-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    flex-direction: column;
}

@media(min-width: 992px) {
    .single .page-header {
        flex-direction: row;
    }
}

.single .title {
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

.single .post-gallery-main img {
    width: 100%;
}

.single .post-body {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    flex-direction: column;
}

@media(min-width: 992px) {
    .single .post-body {
        flex-direction: row;
        gap: 4rem;
    }
}

.single .post-column {
    flex: 1;
}

.single .post-title-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.single .site-navigation-back-icon {
    line-height: 0;
}

.single .site-navigation-back-icon .icon {
    height: 1.3rem;
}

.single .post-content-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media(min-width: 992px) {
    .single .post-content-section {
        align-items: start;
    }
}

.single .post-content {
    text-align: center;
}

@media(min-width: 992px) {
    .single .post-content {
        text-align: start;
    }
}

.post-gallery-full {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(auto, 15rem));
    grid-auto-rows: 15rem;
    justify-content: center;
}

@media(min-width: 992px) {
    .post-gallery-full {
        grid-template-columns: repeat(auto-fit, minmax(auto, 12rem));
        grid-auto-rows: 12rem;
        justify-content: end;
    }
}

.post-gallery-full.first-xl > *:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.post-gallery-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

/* About Us */
.about-us {
    display: flex;
    flex-direction: column;
}

.about-us .about-us-title-wrapper {
    margin: 0 0 4rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media(min-width: 992px) {
    .about-us .about-us-title-wrapper {
        flex-direction: row;
    }
}

.about-us .about-us-title {
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

.about-us .about-us-section {
    display: flex;
    gap: 4rem;
    flex-direction: column;
    align-items: center;
}

@media(min-width: 992px) {
    .about-us .about-us-section {
        flex-direction: row;
        align-items: start;
    }
}

.about-us .about-us-section.art-and-design {
    margin-bottom: 4rem;
}


.about-us .about-us-section.interior {
    flex-direction: column-reverse;
}

@media(min-width: 992px) {
    .about-us .about-us-section.interior {
        flex-direction: row;
    }
}

.about-us .about-us-portfolio {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 25rem;
}

.about-us .about-us-image-wrapper {
    height: 25rem;
}

.about-us .about-us-image-wrapper .about-us-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    filter: grayscale(100%);
}

.about-us .about-us-contacts {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-left: 2rem;
}

.about-us .about-us-subtitle {
    text-transform: uppercase;
    margin: 0 0 0 2rem;
}

.about-us .about-us-phone-number-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.about-us .about-us-phone-number-wrapper .phone-number {
    height: 1rem;
}

.about-us .about-us-name {
    text-transform: uppercase;
    text-align: start;
    margin: 0;
}

.about-us .about-us-content {
    flex: 2;
    text-align: center;
}

@media(min-width: 992px) {
    .about-us .about-us-content {
        text-align: start;
    }
}
