@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-navy: #102a43;
    --secondary-navy: #243b53;
    --accent-gold: #c5a059;
    --accent-gold-hover: #d4b572;
    --bg-light: #f8f9fa;
    --text-dark: #333333;
    --text-light: #f0f0f0;
    --white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(16, 42, 67, 0.15);
}

/* ---------- GLOBAL ---------- */
body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    color: var(--text-dark);
    background-color: rgb(222, 222, 222);
    background-image: none;
}

.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------- HEADER ---------- */
header {
    background-color: var(--primary-navy);
    height: 90px;
    padding: 0 5vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;

    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
}

.logo {
    display: flex;
    justify-content: flex-start;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    width: 55px;
    /* filter: brightness(0) invert(1); */
}

.logo-fashion {
    margin: 0;
    font-size: 24px;
    color: var(--accent-gold);
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-zone {
    margin: 0;
    font-size: 18px;
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.list {
    margin: 0;
    justify-self: end;
    margin-right: 40px;
}

.list ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.list a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.list a:hover {
    color: var(--accent-gold);
}

.list a:hover::after {
    width: 100%;
}

.basket {
    justify-self: end;
}

.basket img {
    width: 28px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.basket a:hover img {
    transform: scale(1.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(--white);
    width: 80%;
    max-width: 900px;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

h1 {
    font-family: "Playfair Display", serif;
    color: var(--primary-navy);
    margin: 0;
    font-size: 2.5rem;
}

h2 {
    font-family: "Playfair Display", serif;
    color: var(--secondary-navy);
    font-size: 1.8rem;
    margin: 0;
}

h3 {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 400;
    margin: 0;
}

.separator {
    border: none;
    border-top: 1px solid var(--accent-gold);
    margin: 1rem 0;
    width: 100%;
    opacity: 0.5;
}

/* ---------- FOOTER ---------- */
footer {
    background-color: var(--primary-navy);
    width: 100%;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    gap: 30px;
}

.listInFooter ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

.listInFooter a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    opacity: 0.8;
}

.listInFooter a:hover {
    color: var(--accent-gold);
    opacity: 1;
}

.contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    font-size: 14px;
}

.contacts p {
    margin: 0;
}

.contacts p:first-child {
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

/* ---------- ADAPTIVE ---------- */
@media (max-width: 768px) {
    header {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 15px;
    }

    .list {
        margin: 0;
        width: 100%;
    }

    .list ul {
        justify-content: center;
        gap: 20px;
        font-size: 14px;
    }

    .basket,
    .logo-fashion,
    .logo-zone {
        display: none;
    }

    /* On mobile, usually show logo image or similar. 
       In previous code logo text was hidden. Let's keep consistent. */

    .logo {
        order: -1;
    }

    .store-info {
        width: 90%;
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    footer {
        gap: 20px;
    }

    .listInFooter ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}