/* 1. Fonts */

@font-face {
    font-family: 'Sinoreta';
    src: url("../fonts/CRONDE.otf");
}

@font-face {
    font-family: 'Lostar';
    src: url("../fonts/Lostar.ttf")format('woff2');
}

/* 2. Global Styles */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fdf6cc;
    overflow-x: hidden;
}

/* 3. Layout Grid Structure */
.grid-container {
    display: grid;
    grid-template-areas: 
        "nav"
        "title"
        "gallery";
    grid-template-rows: auto auto 1fr;
}

/* 4. Navbar & Full-Width 69px Bar */
.navbar {
    grid-area: nav;
    position: relative;
    width: 100vw;
    height: 120px; /* Increased height to accommodate larger boxes */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

.navbar::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 69px; /* Requested height remains same */
    background-color: rgba(242, 215, 80, 0.67);
    z-index: 1;
}

.navbar a {
    font-family: 'Sinoreta', cursive;
    text-decoration: none;
    color: #d97d54;
    font-size: 2.5rem;
    z-index: 2;
    white-space: nowrap;
}

/* Larger Square Boxes (No border/background) */
.nav-frame {
    width: 80px;  /* Bigger boxes */
    height: 70px; /* Bigger boxes */
    z-index: 2;
    background-size: contain; /* Shows full image */
    background-repeat: no-repeat;
    background-position: center;
	background-color: rgba(242, 215, 80, 0.67);
    flex-shrink: 0;
}

/* Individual Images for Nav Boxes */
.frame-1 { background-image: url("../images/muziek 3.jpg"); }
.frame-2 { background-image: url("../images/muziek 1.jpg"); }
.frame-3 { background-image: url("../images/muziek 2.jpg"); }
.frame-4 { background-image: url("../images/muziek 1.jpg"); }
.frame-5 { background-image: url("../images/muziek 3.jpg"); }

/* 5. Main Title - Positioned higher */
.main-title {
    grid-area: title;
    text-align: center;
    margin-top: -15px; 
    margin-bottom: 30px;
}

.main-title h1 {
    font-family: 'Lostar', sans-serif;
    font-size: 9rem;
    color: #D9704A;
    letter-spacing: 1.5rem;
    font-weight: normal;
}

/* 6. Gallery Section - Positioned higher */
.gallery {
    grid-area: gallery;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding: 0 5% 100px 5%;
    margin-top: -50px; 
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

/* 7. Vinyl Records - Layered behind images */
.vinyl-record {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    z-index: 5; 
    margin-bottom: -230px; 
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.portfolio-vinyl { background: radial-gradient(circle, #F2D750 25%, #111 26%); }
.overmij-vinyl { background: radial-gradient(circle, #A64B29 25%, #111 26%); }
.contact-vinyl { background: radial-gradient(circle, #F2D750 25%, #111 26%); }

.card:hover .vinyl-record {
    transform: translateY(-130px) rotate(15deg);
}

/* 8. Card Image Frames - On top of vinyl */
.card-image {
    width: 150%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    z-index: 10; 
    position: relative;
    display: flex;
    padding: 90px;
}

.card-image h2 {
    font-family: 'Lostar', sans-serif;
    font-size: 2.5rem;
    color: #F2D750;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* Placement Helpers */
.text-top { align-items: flex-start; justify-content: center; }
.text-bottom { align-items: flex-end; justify-content: center; }

/* Custom Over Mij Color */
.brown-text { color: #9E462E !important; }

/* Placeholders for your actual images */
.portfolio-img { background-image: url("../images/portfolio.jpg"); }
.overmij-img { background-image: url("../images/about me.jpg"); }
.contact-img { background-image: url("../images/contact.jpg"); }
