/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--outer-bg);
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* Variables */
:root {
    --max-width: 1160px;
    --primary-color: #333;
    --content-bg: #e4d8c4;
    --outer-bg: #d1c3aa;
    --prefooter-color: #a2a17f;
    --white: #fff;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-3: 3rem;
}

/* Global Styles */
img {
    max-width: 100%;
    height: auto;
}

.text-primary { color: var(--primary-color) !important; }
.text-black { color: #000 !important; }

/* Container */
.header__container,
.banner__container,
.collection__container,
.prefooter__container,
.footer__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header */
.header {
    padding: var(--spacing-lg) 0;
    background-color: var(--white);
}

.header__container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-lg);
}

.header__left {
    justify-self: start;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%;
}

.header__right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    line-height: 1.4;
    width: 33%;
}

.header__right > img {
    margin-right: 1rem;
}

.header__tagline {
    font-weight: 500;
    white-space: nowrap;
}

.header__logo-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    width: 100%;
}

@media all and (max-width: 1150px) {
    .header__right {
        justify-content: flex-start;
        font-size: 0.8rem;
    }
    .header__right > img {
        width: 60px;
    }
}
@media all and (max-width: 990px) {
    .header__right > img {
        width: 50px;
    }
}
@media all and (max-width: 768px) {
    .header__container {
        flex-direction: column;
        align-items: center;
        padding: 0 var(--spacing-md);
    }

    .header__left {
        width: 100%;
    }

    .header__logo-main {
        justify-content: center;
        width: 100%;
    }

    .header__right {
        margin-top: var(--spacing-md);
        width: 100%;
        justify-content: center;
    }
}

/* Banner */
.banner {
    position: relative;
    background-color: var(--outer-bg);
}

.banner__container {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 0;
    background-color: var(--content-bg);
}

.banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner__content {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-lg);
}

.banner__content.align-tl {
    align-items: flex-start;
    padding-top: var(--spacing-lg);
}

.banner__content h1 {
    font-family: 'Instrument Serif', serif;
    font-size: 3rem;
    line-height: 1.2;
    color: #fff;
    text-align: left;
    /*
    font-weight: 600;
    text-shadow: 0px 0px 2px #000;
    */
    font-weight: 500;
}

.banner__content.align-tl.content-adapt h1 {
    font-size: 2.8rem;    
}

.banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media all and (max-width: 1160px) {
    .banner__content.align-tl.content-adapt h1 {
        font-size: 3.9vw;
    }
}
@media all and (max-width: 1024px) {
    .banner__content.align-tl.content-adapt h1 {
        font-size: 3.7vw;
    }
}

@media all and (max-width: 990px) {
    .banner__content h1 {
        font-size: 2.5rem;
    }
}

@media all and (max-width: 820px) {
    .banner__content.align-tl.content-adapt h1 {
        font-size: 3.5vw;
    }
}

@media all and (max-width: 768px) {
    /*.banner__content { justify-content: center; }*/
    .banner__content h1 {
        font-size: 2rem;
        /*text-align: center;*/
    }
}

@media all and (max-width: 690px) {
    .banner__content.align-tl.content-adapt h1 {
        font-size: 3vw;
    }
}
@media all and (max-width: 520px) {
    .banner__content.align-tl.content-adapt h1 {
        font-size: 2rem;
    }
}

/* Collection */
.collection {
    position: relative;
    padding: var(--spacing-lg) 0;
}

.collection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--max-width);
    height: 100%;
    background-color: var(--content-bg);
    z-index: -1;
    max-width: 100%;
}

.collection__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.collection__content {
    display: flex;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.collection__content--left {
    width: 100%; 
}

.collection__content--right {
    width: 100%;
}

.collection__text {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 50%;
}

.collection__content--left .collection__text {
    padding-right: 10%;
}
.collection__content--right .collection__text {
    padding-left: 10%;
}

.collection__title {
    font-family: 'Instrument Serif', serif;
    font-size: 3rem;
    font-weight: 500;
    color: #000;
    margin-bottom: var(--spacing-sm);
}

.collection__description {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: auto;
    font-weight: 500;
}

.collection__img-container {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 50%;
}

.collection__img-container-small {
    position: absolute;
    bottom: 0;
}
.collection__img-container-small > .collection__img-small {
    width: auto;
    height: auto;
}

.collection__img-big {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}
/*
.collection__img-small {
    width: 100%;
    height: auto;
    margin-top: auto;
}
*/
.collection__img-big:hover {
    transform: scale(1.1);
}

.collection__img-container.responsive { display:none; }

@media all and (max-width: 1150px) {
    .collection__img-container-small > .collection__img-small {
        max-height: 200px;
    }
}
@media all and (max-width: 1024px) {
    .collection__img-container-small > .collection__img-small {
        max-height: 160px;
    }
}
@media all and (max-width: 990px) {
    
    .collection__title { font-size: 2.5rem; }
    .collection__description { font-size: 0.9rem; line-height: 1.6; }

    .collection__img-container { display: none; }
    .collection__img-container-small { display: none; }
    .collection__img-container.responsive { display: flex; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; gap: 2rem; }
    
    .collection__content--right .collection__img-container.responsive { flex-direction: row-reverse; }

    .collection__img-container.responsive > div { width: 50%; text-align: center; }
    .collection__img-container .collection__img-small { display:inline-block; }
    .collection__content.collection__content--left { flex-direction: column; }
    .collection__content.collection__content--right { flex-direction: column-reverse; }
    .collection__content--left .collection__text { padding-right: 0; }
    .collection__content--right .collection__text { padding-left: 0; }
    .collection__text { margin-bottom: var(--spacing-md); width: 100%; }
    
}
@media all and (max-width: 560px) {
    .collection__content--right .collection__img-container.responsive,
    .collection__content--left .collection__img-container.responsive { flex-direction: column; }
    .collection__content--right .collection__img-container.responsive > div,
    .collection__content--left .collection__img-container.responsive > div { width: 100%; }
}

.collection__cta {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

/* Button */
.btn {
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease-in-out;
}

.btn--primary {
    background-color: #cabba4;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn--primary:hover {
    background-color: #d8c9b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: #333;
}

@media all and (max-width: 990px) {
    .btn--primary {
        font-size: 1.1rem;
        line-height: 1.8;
    }
}

@media all and (max-width: 768px) {
    .btn--primary {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media all and (max-width: 420px) {
    .btn--primary {
        font-size: 0.8rem;
    }
}

/* Prefooter */
.prefooter {
    background-color: var(--prefooter-color);
    padding: var(--spacing-lg) 0;

    max-width: var(--max-width);
    margin: 0 auto;
}

.prefooter__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.prefooter__main-title {
    font-family: 'Instrument Serif', serif;
    color: #000;
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    text-align: left;
    /*font-weight: 600;*/
    
    font-weight: 500;
}

.prefooter__gallery {
    /*
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    */
    
    gap: var(--spacing-3);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.prefooter__item {
    position: relative;
    width: 100%;
}

.prefooter__image-container {
    position: relative;
    margin-bottom: var(--spacing-md);

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 138%;
}

.prefooter__subtitle {
    position: absolute;
    /*
    top: var(--spacing-md);
    left: var(--spacing-md);
    */
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    color: var(--white);
    font-size: 2.2rem;
    line-height: 1.2;
    z-index: 1;

    font-family: 'Instrument Serif', serif;
    font-weight: 400;
}

.prefooter__img {
    width: 100%;
    height: auto;
}

.prefooter__description {
    color: #000;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 500;
}

@media all and (max-width: 990px) {
    .prefooter__main-title { font-size: 2.5rem; }
    .prefooter__subtitle { font-size: 1.8rem; }
    .prefooter__description { font-size: 0.9rem; line-height: 1.6; }
}

@media all and (max-width: 800px) {
    .prefooter__gallery { flex-direction: column; padding: 0 10rem; gap: var(--spacing-lg); }
    .prefooter__item { width: 100%; }
}
@media all and (max-width: 768px) {
    .prefooter__gallery { padding: 0 7rem; }
}
@media all and (max-width: 660px) {
    .prefooter__gallery { padding: 0 4rem; }
}
@media all and (max-width: 560px) {
    .prefooter__gallery { padding: 0 0rem; gap: var(--spacing-md); }
}

/* Footer */
.footer {
    background-color: var(--white);
    padding: var(--spacing-lg) 0;
}

.footer__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer__columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--spacing-lg);
}

.footer__col--left {
    text-align: left;
    color: var(--primary-color);
    font-size: 1rem;
    line-height: 2;
    max-width: 50%;
}

.footer__col.footer__col--left a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer__col.footer__col--left a:hover {
    text-decoration: underline;
}

.footer__col--right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    min-width: 270px;
}

.footer__social-text {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.footer__social {
    display: flex;
    gap: 3rem;
    margin-bottom: 0.5rem;
}

.footer__social-icon {
    width: 32px;
    height: 32px;
    filter: grayscale(100%);
    transition: filter 0.2s;
}
.footer__social-icon:hover {
    filter: grayscale(0%);
    opacity: 0.9;
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer__legal-link {
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.5px;
    transition: text-decoration 0.2s;
}
.footer__legal-link:hover {
    text-decoration: underline;
}

.footer__legal-separator {
    color: var(--primary-color);
    font-weight: 400;
    font-size: 1.1rem;
    margin: 0 0.5rem;
}

/* Hover Effects */
/*
.hover-effect {
    transition: transform 0.3s ease;
}

.hover-effect:hover {
    transform: scale(1.1);
}

.zoom-effect {
    transition: transform 0.3s ease;
}

.zoom-effect:hover {
    transform: scale(1.1);
}
*/

/* Responsive Design */
@media (max-width: 768px) {
    .header__container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        justify-items: center;
    }

    .footer__columns {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .footer__col--right {
        align-items: flex-start;
        min-width: unset;
    }
}

@media all and (min-width: 900px) and (max-width: 1150px) {
    .footer__col.footer__col--left { font-size: 0.9rem; }
}
@media all and (min-width: 900px) and (max-width: 990px) {
    .footer__col.footer__col--left { font-size: 0.8rem; }
}

@media (max-width: 900px) {
    .footer__columns {
        flex-direction: column;
        /*align-items: flex-start;*/
        align-items: center;
        /*gap: var(--spacing-md);*/
        gap: var(--spacing-lg);
    }
    .footer__col--right {
        /*align-items: flex-start;*/
        align-items: center;
        min-width: unset;
        width: 100%;
        max-width: 100%;
    }
    

    .footer__col--left { text-align: center; width: 100%; max-width: 100%; }
    .footer__col.footer__col--left > strong { font-size: 1.1rem; }
} 
@media (max-width: 660px) {
    .footer__col.footer__col--left { font-size: 0.9rem; }
    .footer__col.footer__col--left > strong { font-size: 1rem; }
} 
@media (max-width: 550px) {
    .footer__col.footer__col--left { font-size: 0.7rem; }
    .footer__col.footer__col--left > strong { font-size: 0.9rem; }
} 