body {
    background-color:black;
    color:white;
    margin: 0;
}

a {
    color: unset;
    text-decoration: unset;
}

h1, h2, h3 {
    font-family: Georgia, Arial, Helvetica, sans-serif;
}

h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    border-bottom: thin solid white;
}

/* CONTAINER */
.container {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 425px) {  
    .container {
        max-width: 600px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 768px) {  
    .container {
        max-width: 800px;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1024px) {  
    .container {
        max-width: 1024px;
    }
}

/* HEADER */
header {
    background-color: black;
}

header nav .site-title {
    font-weight: unset;
    font-size: 2rem;
    display: flex;
    align-items: center;
    text-align: center;
    width: 7.5rem;
    line-height: 0.8;
    padding: 1rem;
}

header nav .site-logo {
    width: 3rem;
    rotate: 333deg;
    transform: translate(19px, 10px);
}

header > nav > ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1.5rem;
    text-align: center;
}

header > nav > ul a {
    text-transform: uppercase;
    white-space: nowrap;
    font-weight: 700; 
    font-size: 0.9rem; 
}

header > nav > ul a:hover {
    text-decoration: underline;
}

header .hamburger-menu {
    display: grid;
    grid-template-columns: auto fit-content(50px);
}

header .hamburger-menu button {
    background: none;
    color: inherit;
	border: none;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

#hamburger div {
    width: 21px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    border-radius: 3px;
    transition: 0.4s;
}

#hamburger.cross div:nth-child(1) {
    transform: translate(0, 7px) rotate(-45deg);
}
#hamburger.cross div:nth-child(2) {
    opacity: 0;
}
#hamburger.cross div:nth-child(3) {
    transform: translate(0, -7px) rotate(45deg);
}

.phone-hidden {
    display: none;
}


@media (min-width: 768px) {
    header {
        position: fixed;
        top: 0;
        width: 100%;
    }

    main .container {
        padding-top: 8rem;
    }
}

@media (min-width: 768px) {
    header {
        background-color: rgba(0, 0, 0, 0.7);
    }

    header > nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    header > nav > .site-title {
        width: 9rem;
        margin-bottom: 0.5rem;
        line-height: 1.5rem;
    }

    header > nav > ul,
    header > nav > ul.phone-hidden {
        display: flex;
        justify-content: space-between;
        margin-top: revert;
    }  

    header .hamburger-menu button {
        display: none;
    }

    main .container {
        padding-top: 6rem;
    }
}

/* MAIN */

main {
    background-image: url("./images/background/a.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 1px;
    padding-bottom: 1px;
    min-height: 400px;
    transition: all 1.5s;
}

main.gallery {
    background-image: url("./images/background/galerij.jpg");
}

main.contact {
    background-image: url("./images/background/contact.jpg");
}

main section {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

main section.home-intro h1 {
    line-height: 1.25;
    margin-bottom: 1rem;
}

main section.home-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 65ch;
    margin-top: 0;
    margin-bottom: 1rem;
}

main section.home-intro p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) { 
    main section {
        width: 50%;
    }
}

/* -- LEGAL */
main section.legal-main {
    width: auto;
}

.legal-main h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.legal-main ul {
    padding-left: 1.25rem;
}

.legal-main li {
    margin-bottom: 0.5rem;
}

/* -- PRIJSLIJST */
main section .price-table {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 0.25rem;
}

/* -- GALERIJ */
main section.gallery-main {
    width: auto;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-card {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-card img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    display: block;
}

.gallery-card-content {
    padding: 1rem;
}

.gallery-card-content h2 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
}

.gallery-card-content p {
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* BRAND ROTATOR */
.brand-rotator {
    overflow: hidden;
    padding-top: 1rem;
}

.brand-rotator__track {
    display: flex;
    width: max-content;
    animation: brand-scroll 50s linear infinite;
}

.brand-rotator__group {
    display: flex;
    flex: 0 0 auto;
}

.brand-rotator__slot {
    width: 19rem;
    height: 2rem;
    display: flex;
    justify-content: center;
}

.brand-rotator__slot img {
    height: inherit;
}

@keyframes brand-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* FOOTER */
footer p, footer li {
    font-size: 0.8rem;
}

footer h3 {
    font-size: 1rem;
}

footer ul {
    padding-left: 0;
    list-style: none;
}

footer .container {
    display: grid;
}

@media (min-width: 768px) { 
    footer .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* CONTACT FORM */
.contact-form {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
}

.form-help-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.form-group input,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: border-color 0.2s, background-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-primary {
    background-color: white;
    color: black;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    align-self: start;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-primary:active {
    transform: scale(0.98);
}