* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'CreatoDisplay';
    src: url('Fonts/creato_display/CreatoDisplay-Light.otf') format('opentype');
}

@font-face {
    font-family: 'OptimusPrinceps';
    src: url('Fonts/optimusprinceps/OptimusPrinceps.ttf') format('truetype');
}

@font-face {
    font-family: 'Recoleta';
    src: url('Fonts/recoleta/Recoleta-RegularDEMO.otf') format('opentype');
}

body.home {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: "OptimusPrinceps", sans-serif;
    font-size: 18px;
    color: white;
    background-color: #4A2610;
}

#home-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

#home-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    background-image: url('Pictures/Picture01.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 10, 3, 0.35) 0%,
        rgba(20, 10, 3, 0.5) 60%,
        rgba(74, 38, 16, 0.92) 88%,
        rgba(74, 38, 16, 1) 100%
    );
    z-index: 0;
}

#home-header {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

#home-header::before,
#home-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 1px;
    background: rgba(255, 220, 160, 0.55);
    margin: 0.8rem auto;
}

#home-header h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: #FAF0DC;
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

#home-header h2 {
    font-family: "Recoleta", sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    letter-spacing: 0.3em;
    color: rgba(255, 210, 140, 0.9);
    white-space: nowrap;
}

#home-lower {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    background-color: #4A2610;
    background-image:
        radial-gradient(ellipse at 25% 50%, rgba(210, 140, 60, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 75% 50%, rgba(170, 95, 30, 0.18) 0%, transparent 60%);
}

#home-nav {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    width: 100%;
    max-width: 820px;
}

#home-nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    padding: 0;
    margin: 0;
}

#home-nav .headernav a {
    display: block;
    width: 100%;
    text-align: center;
    font-family: "CreatoDisplay", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: #FAF0DC;
    text-decoration: none;
    padding: 1.1em 1em;
    background-color: rgba(255, 240, 210, 0.08);
    border: 1px solid rgba(255, 220, 160, 0.25);
    border-radius: 6px;
    transition:
        background-color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.25s ease;
}

#home-nav .headernav a:hover {
    background-color: rgba(255, 220, 160, 0.18);
    border-color: rgba(255, 210, 140, 0.55);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    color: #fff;
}

#home-nav .headernav a:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

#home-footer-words {
    width: 100%;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
}

#home-footer-words span {
    font-family: "Recoleta", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.12em;
    color: rgba(255, 210, 140, 0.55);
    cursor: default;
    transition:
        color 0.25s ease,
        transform 0.2s ease;
    display: inline-block;
}

#home-footer-words span:hover {
    color: rgba(255, 230, 170, 0.95);
    transform: translateY(-3px);
}

#home-footer-words .divider {
    color: rgba(255, 200, 120, 0.25);
    pointer-events: none;
}

#home-footer-words .divider:hover {
    color: rgba(255, 200, 120, 0.25);
    transform: none;
}

@media (max-width: 600px) {
    #home-hero {
        height: 60vh;
    }

    #home-header h1 {
        white-space: normal;
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    #home-header h2 {
        white-space: normal;
        font-size: 0.75rem;
        letter-spacing: 0.15em;
    }

    #home-nav ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 380px) {
    #home-nav ul {
        grid-template-columns: 1fr;
    }
}

body {
    cursor: url('Cursors/Eiffel.png'), auto;
}

a, button, .add-to-order-btn, .catalog-card, .tag, .filter-btn, .headernav a {
    cursor: url('Cursors/Croissant.png'), pointer;
}
