@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ---------- COLORS ---------- */
:root {
    --primary-lavender: #D7BDE2;
    /* Soft Lavender */
    --primary-dark-purple: #8E44AD;
    /* Deeper Purple */
    --accent-yellow: #F4D03F;
    /* Vibrant Yellow */
    --accent-gold: #c5a059;
    --bg-white: #FFFFFF;
    --text-dark: #2C1A1D;

    --shadow-soft: 0 10px 30px rgba(142, 68, 173, 0.1);
    --shadow-hover: 0 20px 40px rgba(142, 68, 173, 0.25);
}

/* ---------- GLOBAL ---------- */
body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    color: var(--text-dark);
    background-color: rgb(235, 235, 235);
    overflow-x: hidden;
}

.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------- HEADER ---------- */
header {
    background-color: var(--bg-white);
    height: 100px;
    /* Taller header for better presence */
    padding: 0 5vw;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    /* Softer shadow */
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: auto 1fr auto;
    /* Auto width for logo/basket, flex space for nav */
    grid-template-areas: "logo nav basket";
    /* Swapped areas */
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Very subtle separator */
}

.logo {
    grid-area: logo;
    display: flex;
    justify-content: flex-start;
    /* Left align */
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.logo img {
    width: 70px;
    /* Slightly smaller icon */
}

.logo-fashion {
    margin: 0;
    font-size: 20px;
    color: var(--primary-dark-purple);
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    text-transform: uppercase;
    /* Modern touch */
}

.logo-zone {
    margin: 0;
    font-size: 11px;
    color: #888;
    /* Neutral grey instead of yellow for cleaner look */
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.4;
    text-shadow: none;
}

.list {
    grid-area: nav;
    margin: 0;
    justify-self: center;
    /* Center align */
}

.list ul {
    list-style: none;
    display: flex;
    gap: 50px;
    /* Wider spacing */
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.list a {
    color: #555;
    /* Neutral dark grey initial state */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    /* Center expand */
    background-color: var(--primary-dark-purple);
    transition: width 0.3s ease;
}

.list a:hover {
    color: var(--primary-dark-purple);
}

.list a:hover::after {
    width: 80%;
}

.basket {
    grid-area: basket;
    justify-self: end;
    position: relative;
}

.basket::before {
    /* Optional separator or badge could go here */
}

.basket img {
    width: 26px;
    transition: transform 0.3s ease;
    filter: none;
    /* Reset filter */
    opacity: 0.7;
}

.basket a:hover img {
    transform: scale(1.1) rotate(5deg);
    opacity: 1;
}

/* ---------- MAIN ---------- */
main {
    flex-grow: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 0;
}

.store-info {
    background-color: var(--bg-white);
    width: 80%;
    max-width: 900px;
    padding: 4rem;
    border-radius: 12px;
    border: 1px solid rgba(215, 189, 226, 0.4);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    animation: fadeIn 0.8s ease-in-out;
}

.store-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    right: 50px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-lavender), var(--accent-yellow), var(--primary-lavender));
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-family: "Playfair Display", serif;
    color: var(--primary-dark-purple);
    margin: 0;
    font-size: 2.5rem;
    text-align: center;
}

h2 {
    font-family: "Playfair Display", serif;
    color: var(--primary-dark-purple);
    font-size: 1.8rem;
    margin: 0;
    margin-top: 1rem;
}

h3 {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 400;
    margin: 0;
    text-align: justify;
}

.separator {
    border: none;
    border-top: 1px solid var(--primary-lavender);
    margin: 1.5rem auto;
    width: 70%;
    opacity: 0.6;
}

/* ---------- FOOTER ---------- */
footer {
    background-color: var(--primary-lavender);
    width: 100%;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-dark-purple);
    gap: 30px;
    margin-top: 2rem;
    border-top: 5px solid var(--accent-yellow);
}

.listInFooter ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 40px;
}

.listInFooter a {
    color: var(--primary-dark-purple);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    font-weight: 600;
}

.listInFooter a:hover {
    color: var(--bg-white);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.contacts p:first-child {
    font-weight: 700;
    color: var(--bg-white);
    background: var(--primary-dark-purple);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 5px;
    font-size: 16px;
}

/* ---------- ADAPTIVE ---------- */
@media (max-width: 768px) {
    header {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 15px;
        background-color: var(--bg-white);
    }

    .list {
        margin: 0;
        width: 100%;
        margin-right: 0;
    }

    .list ul {
        justify-content: center;
        gap: 20px;
        font-size: 14px;
    }

    .basket {
        display: none;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .store-info {
        width: 90%;
        padding: 2rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .listInFooter ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}