@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
    --color-bg:          #f7f4f0;
    --color-surface:     #ffffff;
    --color-border:      #e4ddd5;
    --color-text:        #1a1714;
    --color-muted:       #8a8078;
    --color-accent:      #b85c38;
    --color-accent-dark: #8f3f20;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'DM Sans', sans-serif;

    --radius:    4px;
    --transition: 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
}

body {
    position: relative;
}

ul {
    display: flex;
    gap: 1rem;
}

a {
    text-decoration: none;
}

.common-parts {
    height: 70vh;
}

.banner {
    background-color: #1a1714;
    overflow: hidden;
    white-space: nowrap;
    padding: 0.5rem 0;
}

.banner-track {
    display: inline-flex;
    gap: 4rem;
    animation: marquee 18s linear infinite;
}

.banner-item {
    color: white;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.logo a {
    font-family: "Cinzel", sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: 0.05em;
}

.logo a:hover {
    color: #bf2929;
}

a {
    color: black;
}

nav {
    position: sticky;
    display: flex;
    background-color: #fffbfb;
    flex-wrap: nowrap;
    top: 0;
    justify-content: flex-start;
    gap: 4rem;
    padding: 1rem;
    align-items: center;
    z-index: 1;
}

main {
    min-height: 70vh;
}

.navigation {
    text-transform: uppercase;
    font-weight: 800;
}

.navigation li:hover {
    border-bottom: 3px solid #bf2929;
}

#custom-nav-li {
    color: #bf2929;
}

#custom-nav-li:hover {
    color: #f6d003;
    border-bottom: 3px solid white;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a8078;
    padding: 0.2rem 0.4rem;
    transition: color 0.2s ease;
    position: relative;
}

.lang-btn::after {
    content: '';
    display: block;
    height: 1px;
    background-color: #b85c38;
    transform: scaleX(0);
    transition: transform 0.2s ease;
    margin-top: 1px;
}

.lang-btn:hover {
    color: #1a1714;
}

.lang-btn--active {
    color: #1a1714;
}

.lang-btn--active::after {
    transform: scaleX(1);
}

.customer a {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.customer a, i {
    font-size: 1.5rem;
    font-weight: 400;
}

.customer {
    margin-left: 15rem;
}

.gallery {
    gap: 2rem;
    color: #f6d003;
    text-transform: uppercase;
}

.gallery h3 {
    font-size: 2rem;
    font-style: italic;
}

.gallery h2 {
    font-size: clamp(2.5rem, 8vw, 5rem);
}


.gallery button, .trending button {
    padding: 1.3rem 2.5rem;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.2rem;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
}

.dresses button {
    color: #9f1313;
    font-weight: 800    ;
}

.gallery button:hover {
    background-color: #d8d2d2;
}

.collection {
    margin: 2rem;
}

.collection h2 {
    text-align: left;
    text-transform: uppercase;
}

.categories {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.categories img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    padding: 0.5rem;
    border: 3px solid #bf2929;
    border-radius: 50%;
}

.categories h3 {
    text-transform: uppercase;
    font-weight: 800;
}

.categories a {
    color: #131313;
    transition: all 0.3s ease;
}

.categories li:hover {
    transform: translateY(-8px) scale(1.05);
    transition: all 0.3s ease;
}

.categories a:hover {
    color: #bf2929;
}

.categories img:hover {
    border: none;
}

.trending, .gallery {
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: multiply;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trending {
    gap: 3rem;
}

.trending h2 {
    font-size: clamp(1.6rem, 5vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 10px;
    font-weight: 800;
    color: #e3e0e0;
}


.trending button:hover {
    background: none;
    color: #f6d003;
}

.ad {
    background-color: var(--color-text);
    padding: 2.5rem 4rem;
}

.store-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 0;
    text-align: center;
}

.store-ad li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1rem 3rem;
    border-right: 1px solid rgba(247, 244, 240, 0.15);
    min-width: 200px;
}

.store-ad li:last-child {
    border-right: none;
}

.store-ad .main {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-bg);
}

.store-ad li span {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(247, 244, 240, 0.6);
}

.subscribe {
    background-color: var(--color-surface);
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.subscribe h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-text);
    letter-spacing: 0.01em;
    text-transform: none;
}

.subscribe p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--color-muted);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.subscribe form {
    display: flex;
    gap: 0;
    max-width: 440px;
    width: 100%;
    margin-top: 0.5rem;
    justify-content: center;
}

.subscribe input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--color-border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    background: var(--color-bg);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--color-text);
    outline: none;
    text-align: left;
    transition: border-color var(--transition);
}

.cart-nav-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--color-accent);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.subscribe input:focus {
    border-color: var(--color-accent);
}

.subscribe input::placeholder {
    color: var(--color-muted);
}

.subscribe button {
    padding: 0.85rem 1.6rem;
    background-color: var(--color-text);
    color: var(--color-bg);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    width: auto;
    transition: background-color var(--transition);
}

.subscribe button:hover {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

.social {
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    background-color: var(--color-bg);
    text-align: center;
    margin: 0;
}

.social h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-text);
    letter-spacing: 0.01em;
    text-transform: none;
    border-right: none;
    padding: 0;
}

.social ul,
.social-list {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.social a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
    transition: color var(--transition), transform var(--transition);
}

.social a i {
    font-size: 1.4rem;
}

.social a:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}



footer {
    background-color: var(--color-text);
}

.site-map {
    display: flex;
    justify-content: center;
    gap: 6rem;
    padding: 4rem 3rem;
    flex-wrap: wrap;
    background-color: var(--color-text);
    text-align: left;
}

.map-list {
    display: flex;
    gap: 6rem;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

.map-list > li {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    min-width: 140px;
    margin: 0;
}

.map-list h5 {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(247, 244, 240, 0.5);
    margin-bottom: 0;
    text-align: center;
}

.li-ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.li-ul a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(247, 244, 240, 0.75);
    transition: color var(--transition);
    text-align: left;
}

.li-ul a:hover {
    color: var(--color-accent);
}

footer div:last-child {
    text-align: center;
    padding: 1.2rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(247, 244, 240, 0.35);
    letter-spacing: 0.06em;
    border-top: 1px solid rgba(247, 244, 240, 0.08);
}

@media (max-width: 900px) {

    .store-ad {
        flex-direction: column;
    }

    .store-ad li {
        border-right: none;
        border-bottom: 1px solid rgba(247, 244, 240, 0.1);
        padding: 1rem;
        min-width: unset;
        width: 100%;
    }

    .store-ad li:last-child {
        border-bottom: none;
    }

    .site-map {
        padding: 3rem 1.5rem;
        gap: 2.5rem;
        text-align: center;
    }

    .map-list {
        gap: 2.5rem;
    }

    .map-list h5,
    .li-ul a {
        text-align: center;
    }

    .subscribe form {
        flex-direction: column;
    }

    .subscribe input {
        border-right: 1px solid var(--color-border);
        border-bottom: none;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .subscribe button {
        border-radius: 0 0 var(--radius) var(--radius);
        width: 100%;
    }

    .social ul {
        gap: 1.5rem;
    }

    body {
        max-width: 100%;
    }

    .gallery,
.trending {
    padding: 2rem 1.5rem;
    text-align: center;
}

.gallery button,
.trending button {
    padding: 1rem 1.8rem;
    letter-spacing: 0.1rem;
}

.categories {
    gap: 1.5rem;
    padding: 0 1rem;
}

.categories img {
    width: 150px;
    height: 150px;
}
}
