/* Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Archivo', sans-serif;
    background-color: #fff;
    color: #000;
    width: 100vw;
}
a{
    text-decoration: none;
}
img {
    width: 100%;
    height: auto;
    display: block;
}
main {
    padding-top: 100px;
}

/* Navbar */
.navbar {
        width: 100%;
        padding: 0 50px;
        background: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;
    position: fixed;
    z-index: 1000;
    }

    /* Logo */
    .logo {
        padding: 30px;
        width: 100%;
        color: #C12F3C;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        cursor: pointer;
    }

    .logo a{
        color: #C12F3C;
    }
    .logo img {
        height: 70px;
        width: auto;
        display: block;
    }

    /* Navigation */
    .main-nav ul {
        display: flex;
        gap: 25px;
        list-style: none;
    }

    .main-nav a {
        text-decoration: none;
        color: #C12F3C;
        font-size: 20px;
        font-weight: 700;
        text-align: center;
    }

.main-nav a:hover {
    color: #D87C84;
}

.dot-layout{
    display: none;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 18px;
    color: #FAFAF8;

}

.sidenav-text{
    text-decoration: none;
    color: #C12F3C;
    font-size: 20px;
    font-weight: 700;
    padding: 20px;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 0px;
    font-size: 40px;
    color: #C12F3C;
    text-decoration: none;
    padding: 5px;
    cursor: pointer;
}

/*----------------------------------------- Carousel Section--------------------------------- */
/* Carousel Container */
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 600px;
}

/* Slides wrapper */
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;

}

/* Each Slide */
.slide {
    min-width: 100%;
}

/* Image inside each slide */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text Over Carousel */
.carousel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);

}

/* Main Title Section */
.main-title {
    text-align: center;
    margin: 60px 20px;
}

.main-title h1 {
    font-size: 2.5rem;
    color: #C12F3C;
}



/* HERO LAYOUT */
.hero-image, .hero-image-2 {
    display: flex;
    width: 100%;

}

/* Default desktop */
.left-content {
    width: 45%;
    margin-left: 160px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 100px;
    color: #C12F3C;
}

.left-content-muse{
    margin-right: 160px;
    color: #C12F3C;
    padding-top: 480px;
    margin-left: -150px;
    width: 100%;
}
.left-content img {
   max-width: 378px;
    height: auto;

}
.left-content h1, .left-content-muse h1{
 font-size: 40px;
 }
.left-content p, .left-content-muse p {
    font-size: 20px;
    line-height: 30px;
}
.right-image {
    width: 50%;
}

/*-----------------------hero image 2-----------------------------------------*/
.left-content-2 {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 235px;
    color: #C12F3C;
    padding-left: 227px;

}
.left-content-2 img {
    max-width: 378px;
    height: auto;
}

.right-image-2 {
    width: 50%;
}

.video-1{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 160px;
    margin-top: 80px;
}

video {
    width: 100%;
    height: auto;
    object-fit: cover; /* Optional: makes sure it covers nicely */
}

.video-2-div{
    width:50%;
    margin-left: 160px;

}

/* Gallery */
.gallery {
    display: flex;
    flex-direction: column;

}

.gallery-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 88px 160px; /* responsive instead of 160px */
    flex-wrap: nowrap; /* lock to 1 row until 440px */
}

.gallery-row img {
    width: calc((100% - 60px) / 3); /* 3 images, 2 gaps of 30px */
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.gallery-row-top{
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-left:  160px;
    padding-right:  160px;
    margin-top: 88px;
    margin-bottom: -40px;
    flex-wrap: nowrap; /* lock to 1 row until 440px */
}
.gallery-row-top img{
    width: calc((100% - 60px) / 3); /* 3 images, 2 gaps of 30px */
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
.gallery-row-1 {
    display: flex;
    gap: 30px;
    padding-left:  160px;
    padding-right:  160px;
   margin-top: 88px;
    margin-bottom: -40px;
}

.gallery-row-1 img.lang {
    width: calc( (100% - 30px) * 2 / 3 ); /* fylder 2/3 af containeren minus gap */
    height: auto;
    object-fit: cover;
}

.gallery-row-1 img.kort {
    width: calc( (100% - 30px) / 3 ); /* fylder 1/3 af containeren minus gap */
    height: auto;
    object-fit: cover;
}



.big-image {
    padding: 0 160px;
    width: 100%;
    max-width: 100%;
    height: auto;
}
.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
   display: flex;

}




/*-------------------------------------home----------------------------------*/
/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8rem;
    padding: 160px;
    max-width: 1200px;
    margin: 0 auto;
}

.project {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    cursor: pointer;
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease-in-out;
}

.project:hover .overlay {
    opacity: 0;
}

.overlay span{
    width: 75%;
}

/* ------------------------------------About Section------------------------------ */
.about-section {
    padding: 100px 50px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h1 {
    font-size: 43px;
    color: #C12F3C;
    margin-bottom: 50px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.about-image {
    width: 100%;
}

.image-section{
    width: 50%;
}
.about-text {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 30px;
    text-align: left;
}

.about-text h2 {
    font-size: 25px;
    color: #C12F3C;
    margin-bottom: 10px;
}

.about-text p {
    font-size: 17px;
    line-height: 1.5;
    color: #C12F3C;
}

strong {
    font-weight: 700;
}

/* -------------------------------------------Contact Section--------------------------------- */
.contact-section {
    padding: 150px 50px 30px;
    width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.contact-section h1 {
    font-size: 128px;
    color: #C12F3C;
    margin-bottom: 50px;
}

.contact-info h2 {
    font-size: 40px;
    color: #C12F3C;
    margin-bottom: 50px;
}

.email-link {
    font-size: 24px;
    color: #C12F3C;
    font-weight: bold;
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #C12F3C;
    text-decoration: none;
}



.social-icons a:hover {
    color: #D87C84;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 20px;
}

.site-footer p {
    color: #C12F3C;
    font-size: 14px;
    margin-bottom: 10px;
}
/*------------------------------------------footer----------------------------------------*/
.site-footer {
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 13px;
    padding: 30px 0;
}

/* Footer text */
.footer-text {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text p {
    text-align: center;
    color: #C12F3C;
    font-size: 20px;
    font-weight: 700;
}

/* Footer icons */
.footer-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
.footer-icons a {
    color: #C12F3C;
    text-decoration: none;
}



.footer-icons a:hover {
    color: #D87C84;
}

.icon-box {
    width: 25px;
    height: 25px;
    background: #C12F3C;
}

.icon-small {
    width: 20.46px;
    height: 23.38px;
    background: #C12F3C;
}

/*----------------------------------- Responsive --------------------------------------------*/
@media (max-width: 1200px) {
    .left-content {
        width: 45%;
        margin-left: 160px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-top: 50px;
        color: #C12F3C;
    }
    .left-content img {
        max-width: 219px;
        height: auto;
    }
    .left-content h1, .left-content-muse h1{
        font-size: 20px;
    }
    .left-content p, .left-content-muse p {
        font-size: 12px;
        line-height: 20px;
    }
    .right-image {
        width: 50%;
    }

    .left-content-2 {
        width: 45%;
        display: flex;
        flex-direction: column;
        gap: 30px;
        color: #C12F3C;
        padding-left: 145px;

    }
    .left-content-2 img {
        max-width: 219px;
        height: auto;
    }

    .right-image-2 {
        width: 50%;
    }


    .gallery-row img {
        max-width:219px;
        height: 286px;
    }

    .gallery-row {
        display: flex;
        justify-content: space-between;
        padding: 88px 160px;

    }


}


@media (max-width: 900px) {

    .left-content {
        width: 45%;
        margin-left: 140px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-top: 50px;
        color: #C12F3C;
    }
    .left-content-muse{
        margin-right: 140px;
        color: #C12F3C;
        padding-top: 250px;
        margin-left: -100px;
        width: 100%;
    }
    .left-content img {
        max-width: 171px;
        height: auto;
    }
    .left-content, .left-content-muse h1{
        font-size: 16px;
    }
    .left-content, .left-content-muse p {
        font-size: 10px;
        line-height: 20px;
    }


    .left-content-2 {
        width: 45%;
        display: flex;
        color: #C12F3C;
        flex-direction: column;
        align-items: center;
        padding-left: 116px;


    }
    .left-content-2 img {
        max-width: 170px;
        height: auto;
    }

    .right-image-2 {
        width: 50%;
    }

    .video-1{
        padding: 0 140px;
        margin-top: 40px;
    }
    .gallery-row img {
        max-width:171px;
        height: auto;
    }

    .gallery-row {
        display: flex;
        justify-content: space-between;
        padding: 88px 140px;

    }

    .carousel {
        height: 400px;
    }
    .slide img {
        height: 400px;
    }
    .carousel-text {
        font-size: 1.8rem;
    }

}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px){


    .left-content-2 {
        width: 45%;
        display: flex;
        color: #C12F3C;
        flex-direction: column;
        align-items: center;
        padding-left: 110px;

    }

    .left-content-muse{
        color: #C12F3C;
        padding-top: 200px;
        width: 100%;
    }

    .video-2-div{
        width:50%;
        margin-left: 140px;

    }
    .left-content-2 img {
        max-width: 170px;
        height: auto;
    }

    .right-image-2 {
        width: 50%;
    }

    .gallery-row img {
        max-width:171px;
        height: auto;
    }

    .gallery-row {
        display: flex;
        justify-content: space-between;
        padding: 88px 140px;

    }

    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .image-section {
        width: 100%;
    }
    .about-image, .about-text {
        width: 100%;
        text-align: center;
    }

    .about-text {
        align-items: center;
    }

    .about-text p {
        font-size: 14px;
    }

    .carousel {
        height: 400px;
    }
    .slide img {
        height: 400px;
    }
    .carousel-text {
        font-size: 1.8rem;
    }
}




@media (max-width: 500px) {
    /* Navbar hidden, dot-nav shows (already fine) */
    .navbar {
        display: none;
    }

    .dot-layout {
        display: flex;
        width: 100%;
        height: 100px;
        justify-content: space-between;
        align-items: center;
        padding: 0 40px;
    }

    .logo img {
        height: 80px;
        width: auto;
        object-fit: contain;
    }

    .dot-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        cursor: pointer;
    }

    .dot {
        width: 10px;
        height: 10px;
        background-color: #C12F3C;
        border-radius: 50%;
    }



    .projects-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 5rem;
        padding: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* HERO IMAGE and HERO IMAGE 2 */
    .hero-image, .hero-image-2 {
        flex-direction: column;
        align-items: center;
        padding-top: 0;
    }


    .video-2-div{
        width:300px;
        margin: 0 30px;

    }

    .left-content,
    .left-content-2,.left-content-muse {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        padding-top: 30px;
        margin-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .left-content h1,
    .left-content-2, .left-content-muse h1 {
        font-size: 20px;
        line-height: 1.2;
    }

    .left-content p,
    .left-content-2, .left-content-muse p {
        font-size: 14px;
        line-height: 22px;
    }

    .left-content img,
    .left-content-2 img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .right-image,
    .right-image-2 {
        display: block;
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }
    .right-image-div{
        display: flex;
        justify-content: center;
    }
    .right-image img,
    .right-image-2 img {
        width: 100%;
        max-width: 300px; /* 👈 Match left-content img */
        height: auto;

    }

    .video-1{
        padding: 0 20px;
        margin-top: 40px;
    }


    /* GALLERY ROW */
    .gallery-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 40px 20px;
    }

    .gallery-row img {
        width: 100%;
        max-width: 300px; /* 👈 EXACT same as .left-content img */
        height: auto;
        object-fit: cover;
    }

    .gallery-row-top{
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 40px 20px;
    }
    .gallery-row-top img {
        width: 100%;
        max-width: 300px; /* 👈 EXACT same as .left-content img */
        height: auto;
        object-fit: cover;
    }

    .gallery-row-1 {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        gap: 20px;
    }

    .gallery-row-1 img.lang,
    .gallery-row-1 img.kort {
        width: 100%;
        max-width: 300px;
    }

    /* BIG IMAGE (same principle) */
    .big-image {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .footer-text p {
        font-size: 16px;
    }

    .carousel {
        height: 300px;
    }
    .slide img {
        height: 300px;
    }
    .carousel-text {
        font-size: 1rem;
        padding: 0 10px;
    }

    .contact-section {
        padding: 20px;
        margin: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 400px;
        text-align: left;
    }

    .contact-section h1 {
        font-size: 50px;
        color: #C12F3C;
        margin-bottom: 50px;
    }
}
