:root {
    --primary: #003939;
    --accent: #00a8ae;
    --light: #f5ffff;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "Lora", serif;
    background: var(--light);
    color: var(--primary);
}
nav a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.2s;
}
nav a:hover {
    color: var(--primary);
}

a {
    text-decoration: none;
    color: var(--accent);
}
.swiper-slide a {
    color: var(--primary);
}

/* -------------- Navigation -------------- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--accent);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--light);
}
.nav-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}
.brand {
    font-family: "Playfair Display", serif;
    font-size: 1.75rem;
    font-weight: 700;
    align-items: center;
 text-align: center;
    display: flex;
    /*grid-template-columns: auto auto;*/
    color: var(--light);
}
nav ul {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: var(--accent);
}
.burger span {
    width: 24px;
    height: 3px;
    background: var(--light);
    transition: transform 0.3s;
    border-radius: 4.7px;
}
.close-nav {
    position: absolute;
    top: 25px;
    right: 25px;
    display: none;
}

@media (max-width: 600px) {
 .nav-container {
    width: fit-content;
    margin: 0 auto;
    display: block;
}
 #navLinks{
  margin: 10px 0;
 }
 
    /*
    nav ul {
        position: fixed;
        inset: 0;
        height: 100dvh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--accent);
        transform: translateX(100%);
        transition: transform 0.4s;
    }
    nav ul.open {
        transform: translateX(0);
    }
    .burger {
        display: flex;
    }
    .close-nav {
        display: block;
    }
    */
}

/* -------------- Hero -------------- */
.hero {
    position: relative;
    background: url("images/hero.jpg") center/cover no-repeat;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    background-position: 50% 15%;
}
/* dim overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}
.hero * {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    margin: 0 0 0.5rem;
}
.hero p {
    font-size: 1.25rem;
    max-width: 640px;
}

/* -------------- Sections -------------- */
section {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* About */
.about {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.about div {
    flex: 1 1 279px;
    max-width: 350px;
    border-radius: 12px;
    object-fit: cover;
}
.about .text {
    flex: 2 1 300px;
    margin-bottom: 0;
}

/* Product categories */
.category {
    margin-bottom: 2rem;
}
.category h2 {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.swiper {
    padding-bottom: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
}
.swiper-slide {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    /*width: 37vw;*/
    /*margin: 0 7px;*/
}
.swiper-slide img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}
.swiper-button-next,
.swiper-button-prev {
    color: white;
}

.product-card img {
    width: 100%;
    height: 25vh;
    object-fit: cover;
    object-position: 50% 26%;
}
.product-card .info {
    padding: 1rem;
}
.product-card h3 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
}
.product-card span {
    font-weight: 700;
    color: var(--accent);
}

/* Footer */
footer {
    background: var(--accent);
    color: #fff;
    padding: 1rem 1rem;
    text-align: center;
}
footer a {
    color: #fff;
}

.headshot {
    width: 100%;
    height: 30vh;
    border-radius: 80px;
    background-size: cover;
    background-position: 50% 25%;
    background-image: url("/images/helen.jpg");
}
@media (min-width: 600px) {
    /* shorter on phones if you wish */
    .headshot {
        height: 100%;
    }
}
.col-2 {
    display: grid;
    grid-template-columns: 1fr;
    margin: 8px 10px 0 10px;
    gap: 1.5rem;
}
.col-2 img {
    width: calc(100% - 20px);
    object-fit: cover;
    height: 30vh;
    border-radius: 10px;
}
/* ≥ 700 px: force 2 columns */
@media (min-width: 600px) {
    .col-2 {
        grid-template-columns: 1fr 1fr;
    }
    /*
    .col-2 img {
        height: 100%;
        overflow: hidden;
    }
    */
}
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 11rem;
}

.main {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.gallery {
    flex: 1 1 380px;
    min-width: 300px;
}
.details {
    flex: 1 1 320px;
    min-width: 260px;
}
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin: 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.25s;
}

h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.25rem;
    margin: 0 0 0.5rem;
}
.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn:hover {
    opacity: 0.8;
}
.bio {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}
.bio img.head {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 1.5rem 0.5rem;
}
.bio-text {
    flex: 1;
    min-width: 240px;
}
.bio-text h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}
@media (max-width: 600px) {
    .bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .bio img.head {
        margin-bottom: .1rem;
    }
}

.galleria img{
    max-width: 80vw;
    max-height: 43vh;
}
div.galleria {
  background-color: #333;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 10px 10px 10px 10px;
  display: flex;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #888 #f1f1f1; /* Firefox */
  gap: 7px
}
