body {
    font-family: 'Manrope', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #faf7f3;
    color: #333;
    line-height: 1.6;
}

header {
    background-image: url('../images/wood6.webp');
    background-size: auto;
    background-position: top left;
    background-repeat: repeat;
    color: white;
    padding: 1rem;
    position: relative;
    overflow: visible;
}

.logo {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.logo img {
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
}

nav a:hover {
    color: #ca9d69;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

main {
    padding: 1.5rem 2rem 0.75rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 60vh;
}

section {
    background-color: #fff;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

#hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

#hero .elena-photo {
    margin: 0;
    flex-shrink: 0;
}

.elena-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1rem auto 1.5rem;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-text {
    flex: 1;
}

.intro-hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {

    #hero,
    .intro-hero {
        flex-direction: column;
        text-align: center;
    }

    #hero .elena-photo,
    .intro-hero .elena-photo {
        margin: 1rem auto 1.5rem;
    }
}

@media (max-width: 480px) {
    .elena-photo {
        width: clamp(160px, 45vw, 220px);
        height: clamp(160px, 45vw, 220px);
    }
}

h1,
h2,
h3 {
    color: #341b0d;
    font-family: 'Oswald', sans-serif;
}

ul {
    list-style: disc;
    padding-left: 1.5rem;
}

ul.nested-dash,
ul.nested-dash li {
    list-style: none;
    padding-left: 0;
}

ul.nested-dash li::before {
    content: "- ";
    margin-right: 0.25rem;
}

li {
    margin-bottom: 0.5rem;
}

footer {
    background-image: url('../images/wood6.webp');
    background-size: auto;
    background-position: top left;
    background-repeat: repeat;
    color: white;
    padding: 0.4rem 1rem 0.7rem;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0.25rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
}

.footer-links a img {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 0.4rem;
}

.footer-links a:hover {
    color: #ca9d69;
}

.footer-company {
    text-align: center;
    opacity: 0.85;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .footer-links {
        grid-template-columns: repeat(2, auto);
        gap: 0.1rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        gap: 0.2rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a1108;
        padding: 1rem 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    nav ul.show {
        display: flex;
    }

    nav li {
        margin: 0.5rem 0;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s;
    max-width: 250px;
}

.tile:hover {
    transform: translateY(-5px);
}

.tile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.tile span {
    text-align: center;
    font-weight: bold;
}

@media (min-width: 1200px) {
    .tile {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .tile img {
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .tile span {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .tile {
        padding: 0.5rem;
    }

    .tile img {
        width: 60px;
        height: 60px;
    }

    .tile span {
        font-size: 0.9rem;
    }
}

.product-tile {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: transform 0.2s;
}

.product-tile:hover {
    transform: translateY(-2px);
}

.product-tile .product-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.product-tile .content {
    flex: 1;
}

.product-tile h3 {
    color: #341b0d;
    margin-top: 0;
}

.product-tile ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    list-style: disc;
}

.product-tile li {
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    .product-tile {
        flex-direction: column;
        align-items: center;
        padding: 1rem 5%;
    }

    .product-tile .content {
        text-align: left;
    }

    .product-tile h3 {
        text-align: center;
    }

    .product-tile .product-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

.offer-section {
    text-align: center;
    margin: 0.2rem 0 0.2rem;
    padding: 0.15rem;
    font-size: 0.85rem;
}

.offer-section a {
    color: #744425;
    text-decoration: underline;
    font-weight: 400;
    opacity: 0.7;
}

.offer-section a:hover {
    color: #ca9d69;
    opacity: 1;
}

/* Decorative background elements - random opaque images behind content, menu, footer, tiles */
.decorative-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.decorative-element {
    position: absolute;
    opacity: 0.12;
    filter: contrast(0.85) brightness(1.05);
    user-select: none;
}

@keyframes float {

    0% {
        transform: translate(0, 0) rotate(var(--rot, 0deg));
    }

    100% {
        transform: translate(var(--dx, 25px), var(--dy, -30px)) rotate(var(--rot, 0deg));
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: var(--base-opacity, 0.12);
    }

    50% {
        opacity: calc(var(--base-opacity, 0.12) * 1.8);
    }
}

header {
    position: relative;
    z-index: 20;
}

.product-tile,
section,
main {
    position: relative;
    z-index: 1;
}

.product-tile .content img {
    width: 160px !important;
    height: auto !important;
}
