/* basic setup */
html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
}
body {
    background-color: transparent;
    height: 100%;
    overflow: hidden;
}

body > div {
    display: flex;
    justify-content: center;

}

/* makes the video sticky and in the background */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

/* pretty menu bar with the blur effect */
.menu-bar {
    align-self: center;
	border-radius: 25px;
	height: fit-content;
	display: inline-flex;
	background-color: rgba(0, 0, 0, .4);
	-webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);  
	align-items: center;
	padding: 0 10px;
	margin: 50px 0 0 0;
    margin-top: 10px;
	position: relative;
	z-index: 2;
	li {
		list-style: none;
		color: white;
		font-family: sans-serif;
		font-weight: bold;
		padding: 12px 16px;
		margin: 0 8px;
		position: relative;
		cursor: pointer;
		white-space: nowrap;
		&::before {
			content: " ";
			position: absolute;
			top: 0;
			left:0;
			height:100%;
			width: 100%;
			z-index:-1;
			transition: .2s;
			border-radius: 25px;
		}
			&:hover {
				&::before {
					background: linear-gradient(to bottom, #e8edec, #d2d1d3);
						box-shadow: 0px 3px 20px 0px black;
						transform: scale(1.2);
				}
				color: black;
		}
	}
}

/* big logo in the middle */
.logo {
    position: absolute;
    justify-content: center;;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    max-width: 80vw;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

/* logo fade stuff */
.logo.fade-out {
    animation: fade-out 0.5s forwards;
}

.logo.fade-in {
    animation: fade-in 0.5s forwards;
}

@keyframes fade-out {
    from { opacity: 0.5; }
    to { opacity: 0; pointer-events: none; }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 0.5; pointer-events: none; }
}

/* holds all the page content */
.content-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

/* styles for each page */
.page {
    padding-top: 100px;
    padding-bottom: 50px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    color: white;
    font-family: sans-serif;
    overflow-y: auto;
    box-sizing: border-box;
}

/* shows the current page */
.page.active {
    display: flex;
}

/* swipe animations */
@keyframes swipe-out-left {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-100%); opacity: 0; }
}

@keyframes swipe-in-right {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes swipe-out-right {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes swipe-in-left {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.swipe-out-left {
    animation: swipe-out-left 0.5s forwards;
}

.swipe-in-right {
    animation: swipe-in-right 0.5s forwards;
}

.swipe-out-right {
    animation: swipe-out-right 0.5s forwards;
}

.swipe-in-left {
    animation: swipe-in-left 0.5s forwards;
}

/* about page styles */
#about .page-content {
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 40px;
    padding-top: 20px;
    border-radius: 15px;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

#about .meet-owner-content {
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 30px;
}

.owner-photo {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#about h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

#about p {
    font-size: 1.2em;
    line-height: 1.6;
}



/* gallery styles */
#gallery h1 {
    font-size: 3em;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Default to 4 columns */
    gap: 20px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Responsive gallery columns */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* contact page styles */
#contact.page {
    justify-content: center;
}

#contact .page-content {
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

#contact h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

#contact .contact-info {
    margin-bottom: 30px;
}

#contact .contact-info p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

#contact .contact-button {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

#contact .contact-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

#contact .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

#contact .social-icon-link img {
    width: 80px;
    height: 80px;
    transition: transform 0.2s ease-in-out;
    filter: brightness(0) invert(1);
}

#contact .social-icon-link:hover img {
    transform: scale(1.1);
}

a {
		color: inherit;
		text-decoration: none;
	}

/* styles for mobile */
@media (max-width: 768px) {
    .menu-bar {
        margin-top: 20px;
        padding: 10px;
        flex-wrap: wrap;
        justify-content: center;
        width: 90%;
    }

    .menu-bar li {
        padding: 10px 8px;
        margin: 0 4px;
        font-size: 0.9em;
    }

    .page {
        padding-top: 80px; /* Reduced top padding */
        padding-bottom: 30px;
    }

    #about.page,
    #gallery.page,
    #contact.page {
        padding-top: 140px; /* More padding to clear the wrapped menu */
    }

    #about .page-content,
    #about .meet-owner-content,
    #contact .page-content {
        padding: 20px;
        max-width: 85%;
    }

    #about h1,
    #gallery h1,
    #contact h1 {
        font-size: 2em; /* Smaller headings */
    }

    #about p,
    #contact .contact-info p {
        font-size: 1em; /* Smaller paragraph text */
    }

    .gallery-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        width: 95%;
        gap: 15px;
    }

    #contact .contact-button {
        padding: 12px 24px;
    }
}
