*{

margin:0;
padding:0;
box-sizing:border-box;

}

body{

    font-family:'Nunito',sans-serif;
    /* background:#f7f5f1; */
    background-image: url(../images/backgrounds/OTB_0127-sepia.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #333;
    line-height: 1.7;
}

/* img{
    width: 100%;
} */

.container{
    width: min(1320px,94%); 
    margin: 0 auto;
}

nav{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary);
    backdrop-filter: blur(8px);
}

nav .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo{
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--surface);
}

nav ul{
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a{
    color: white;
    text-decoration: none;
}

.banner-foto{
    width: min(1320px,100%); 
    display: block;
    margin: 0 auto;
}

.hero{
    min-height: 500px;
    height: 60vh;
    max-height: 650px;
    margin: 0 auto;
    background:
        /* url("../images/backgrounds/banner.jpg") center center/cover; */
    display flex;
    justify-content: center;
    align-items: center;
}

.hero-overlay{
    background: rgba(0,0,0,.45);
    padding: 20px;
    border-radius: 15px;
    color: var(--surface);
    text-align: center;
}

.hero h1{
    font-size: 4rem;
    margin-bottom: 20px;
}

main{
    background-color: var(--surface);
    padding: 60px 20px 20px;
    border-radius: 8px;
}

footer{
    background: var(--primary);
    color: var(--surface);
    text-align: center;
    padding: 30px;
    margin-top: 60px;
}

/* ==========================================
   Hondenpagina
========================================== */

/* ==========================================
   Honden
========================================== */

.dog {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin: 60px 0;
    padding: 30px;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

/* .dog-photo {
    flex: 0 1 320px;
    width: 320px;
    max-width: 100%;
} */

.dog-photo img {
    display: block;
    width: 100%;
    /* max-width: 320px; */
    height: auto;
    border-radius: 16px;
}

.dog-info {
    flex: 1 1 0;
    min-width: 0;
}
.dog-info{
    flex: 1;
}

.dog-info h2{
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.dog-info p{
    margin-bottom: 15px;
    line-height: 1.8;
}
    /* =========================
        Link pagina.
    ========================= */

.links-page{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 30px;
    margin: 60px 0;
}

.link-card{
    background: var(--surface);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    transition: .3s;
    text-align: center;
}

.link-card img{
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.link-card:hover{
    transform: translateY(-6px);
}

.link-card h2{
    color: var(--primary);
    margin-bottom :15px;
}
.link-card h3{
    margin-bottom: 15px;
    color: #355c4d;
}

.link-card p{
    margin-bottom: 20px;
}

.link-card a{
    display: inline-block;
    background: var(--primary);
    color: var(--surface);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
}

.link-card:hover{
    transform:translateY(-8px);
}    /* einde link-pagina. */


section{
    margin: 80px 0;
}

.intro{
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.intro h2{
    margin-bottom: 30px;
    font-size: 2.4rem;
}

.cards{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 40px;
    margin-top: 40px;
}

.card{
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: .35s;
}

.card:hover{
    transform:translateY(-8px);
}

/* .card img{
    aspect-ratio: 4/3;
    height: auto;
    width: 100%;
    object-fit: cover;
} */

.dog-photo{

    flex:0 0 320px;

}

.dog-photo img{
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: var(--radius);
    display:   block;
}


.card h3{
    padding: 20px;
}

.card p{
    padding: 0 20px 20px;
}

.card a{
    display: inline-block;
    margin: 20px;
    color: #355c4d;
    font-weight: bold;
    text-decoration: none;
}

.button{
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background: #355c4d;
    color: white;
    text-decoration: none;
    border-radius: 30px;
}

.page-hero{
    /* background:url("../images/backgrounds/banner.jpg") center center/cover; */
    width: min(1320px,94%);
    margin: 20px auto;
    background-color: gray;
    padding: 20px 0;
    color: white;
    text-align: center;
}

.page-hero h1{
    font-size: 3rem;
    margin-bottom: 15px;
}

.album-grid{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(320px,1fr));

gap:35px;

padding:70px 0;

}

.album-card{
    display: block;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: .35s;
}

.album-card:hover{
    transform: translateY(-8px);
}

.album-card img{
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.album-info{
    padding:20px;
}

.album-info h2{
    margin-bottom:10px;
    color:var(--primary);
}

.photo-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fill,minmax(260px,1fr));

    gap:20px;

    margin:50px 0;

}

.photo{

    display:block;

    overflow:hidden;

    border-radius:14px;

    box-shadow:var(--shadow);

}

.photo img{

    width:100%;

    aspect-ratio:1;

    object-fit:cover;

    display:block;

    transition:.35s;

}

.photo:hover img{

    transform:scale(1.05);

}

.back-link{

    margin-top:40px;

}

.back-link a{

    text-decoration:none;

    color:var(--primary);

    font-weight:bold;

}

/* ==========================
   Responsive menu
========================== */

.navbar{
    background:#355c4d;
    position:sticky;
    top:0;
    z-index:1000;
}

.navbar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:75px;
}

.logo{
    color:#fff;
    text-decoration:none;
    font-size:2rem;
    font-weight:700;
}

.nav-menu{
    display:flex;
    gap:30px;
    list-style:none;
}

.nav-menu a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.nav-menu a:hover{
    color:#d8e5d0;
}

/* Hamburger */

.hamburger{
    display:none;
    width:42px;
    height:42px;
    background:none;
    border:none;
    cursor:pointer;
    position:relative;
}

.hamburger span{
    position:absolute;
    left:8px;
    width:26px;
    height:3px;
    background:#fff;
    transition:.3s;
}

.hamburger span:nth-child(1){
    top:11px;
}

.hamburger span:nth-child(2){
    top:19px;
}

.hamburger span:nth-child(3){
    top:27px;
}

/* Animatie naar kruis */

.hamburger.active span:nth-child(1){
    transform:rotate(45deg);
    top:19px;
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:rotate(-45deg);
    top:19px;
}

/* Mobiel */

@media (max-width:768px){

    .hamburger{
        display:block;
    }

    .nav-menu{

        position:absolute;

        top:75px;

        left:0;

        right:0;

        background:#355c4d;

        flex-direction:column;

        gap:0;

        overflow:hidden;

        max-height:0;

        transition:max-height .35s ease;

    }

    .nav-menu.active{

        max-height:350px;

    }

    .nav-menu li{

        border-top:1px solid rgba(255,255,255,.15);

    }

    .nav-menu a{

        display:block;

        padding:18px;

    }

    .page-hero, .container{
        width: min(1320px,100%);     

    }
    
    /* ==========================================
        Honden
    ========================================== */
     .dog {
        flex-direction: column;
        width: 100%;
        padding: 20px;
        gap: 25px;
    }

    .dog-photo {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        flex: none;
    }

    .dog-photo img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }

    .dog-info {
        width: 100%;
    }
}

/* ==========================================
   Laatste foto's
========================================== */

.latest{

    padding:80px 0;

}

.latest h2{

    text-align:center;

    font-size:2.5rem;

    margin-bottom:15px;

}

.latest p{

    text-align:center;

    margin-bottom:50px;

    color:#666;

}

.latest-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:25px;

}

.latest-photo{

    display:block;

    position:relative;

    overflow:hidden;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

    transition:.35s;

}

.latest-photo:hover{

    transform:translateY(-8px);

}

.latest-photo img{

    width:100%;

    aspect-ratio:1;

    object-fit:cover;

    display:block;

    transition:.35s;

}

.latest-photo:hover img{

    transform:scale(1.05);

}

.latest-photo span{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    padding:12px;

    background:rgba(0,0,0,.65);

    color:white;

    text-align:center;

    font-weight:bold;

}

@media (max-width:900px){

    .dog{

        flex-direction:column;

    }

    .dog-photo{

        margin:auto;

    }

    .dog-photo img{

        max-width:280px;

    }

}

/* ==========================================
   Afbeeldingen homepage
========================================== */

.dogs img,
.cards img,
.latest-photo img,
.latest-grid img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Kaarten op de homepage */
.card {
    min-width: 0;
    width: 100%;
}

.card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Laatste foto's */
.latest-photo {
    min-width: 0;
    width: 100%;
}

.latest-photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Mobiel */
@media (max-width: 768px) {

    .cards {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .card {
        width: 100%;
        min-width: 0;
    }

    .card img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .latest-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .latest-photo {
        width: 100%;
        max-width: 100%;
    }

    .latest-photo img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}