body {
    background-image: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), url('./images/logo-white.png');
    background-color: rgb(24, 24, 24);
    background-size: 200px;
}

.hero {
    height: 300px;
    margin-top: -20px;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) calc(100% - 50px), rgba(0,0,0,1) 100%), url('images/background-blurred-wide.png');
    background-size: 100% 300px, 100% 300px;
    background-repeat: no-repeat;
    background-position: top center;
}

.header { font-family: "Mr Dafoe", cursive; font-weight: 400; font-style: normal; }
.main { font-family: "Kaushan Script", cursive; font-weight: 400; font-style: normal; }
.details { font-family: "Josefin Slab", serif; font-weight: 600; font-style: normal; }

nav {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    flex-direction: row;
}

.info {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(235, 204, 255);
    background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(0,0,0,0.3)), url('images/swirl.png');
    padding: 30px;
    width: 90%;
    max-width: 1200px;
    border-radius: 4px;
    border: 3px solid rgb(0, 0, 0);
    transition: all 0.3s ease;
}

.photos-container {
    width: 100%;
}

.section-title {
    font-family: "Kaushan Script", cursive;
    font-size: 28px;
    text-align: center;
    color: rgb(50, 50, 50);
    margin-bottom: 25px;
    font-style: italic;
}

.carousel-section {
    margin-bottom: 40px;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.carousel {
    flex: 1;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    border: 2px solid rgb(150, 100, 200);
    border-radius: 4px;
    overflow: hidden;
    background-color: rgb(245, 245, 245);
    display: flex;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-image {
    max-width: 100%;
    max-height: 85%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-image:hover {
    transform: scale(1.05);
}

.photo-name {
    font-family: "Kaushan Script", cursive;
    font-size: 16px;
    color: rgb(50, 50, 50);
    margin-top: 10px;
    font-style: italic;
}

.carousel-btn {
    background-color: rgb(235, 204, 255);
    border: 2px solid rgb(150, 100, 200);
    border-radius: 4px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgb(50, 50, 50);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: rgb(150, 100, 200);
    color: white;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.grid-section {
    margin-top: 40px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.grid-item {
    aspect-ratio: 1 / 1;
    border: 2px solid rgb(150, 100, 200);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgb(245, 245, 245);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(150, 100, 200, 0.3);
    border-color: rgb(130, 80, 180);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.grid-item:hover img {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.close:hover {
    transform: scale(1.2) rotate(90deg);
    color: rgb(235, 204, 255);
}

.close:active {
    transform: scale(0.95);
}

footer {
    font-weight: bold;
    width: calc(100% - 20px);
    text-align: center;
    margin: 20px auto;
    margin-bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    padding: 10px;
    font-size: 20px;
    background-color: rgb(235, 204, 255);
    border-top: 3px solid black;
    background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0,0,0,0.2)), url('images/foggy-birds.png');
}

footer button {
    background: none;
    border: none;
    margin: 0 5px;
    cursor: pointer;
    transition: transform 0.5s;
    width: 50px;
    height: 50px;
}

footer button img {
    width: 50px;
    height: 50px;
}

footer button {
    animation: subtle-pulse 0.8s ease-in-out infinite;
}

footer button:hover {
    transform: scale(1.1);
    animation: none;
}

footer button:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes subtle-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

header {
    width: calc(100% - 20px);
    text-align: center;
    margin: 20px auto;
    margin-top: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    padding: 10px;
    background-color: rgb(235, 204, 255);
    border-bottom: 3px solid black;
    background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0,0,0,0.2)), url('images/foggy-birds.png');
    position: relative;
}

header h2 {
    font-size: 23px;
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 10px;
}

header a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 180ms ease, color 180ms ease;
    will-change: transform, color;
    padding-top: 10px;
    padding-bottom: 10px;
}

header a:hover {
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: currentColor;
    text-underline-offset: 2px;
    transform: translateY(-2px);
}

header img {
    width: auto;
    height: 60px;
}

header ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    align-items: center;
    justify-content: center;
}

.hamburger-btn img {
    height: 30px;
    width: 30px;
}

header .logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

header .logo-link:hover {
    opacity: 0.8;
}

h1 {
    margin-top: -110px;
    color: white;
    text-align: center;
    font-size: 150px;
    font-weight: 700;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 1024px) {
    h1 {
        font-size: 100px;
        margin-top: -80px;
    }

    header {
        padding: 0px;
        padding-top: 10px;
        padding-bottom: 10px;
        width: 100%;
    }

    header img {
        height: 50px;
    }

    header h2 {
        font-size: 18px;
    }

    header a {
        font-size: 14px;
    }

    header ul {
        gap: 15px;
    }

    footer {
        font-size: 18px;
    }

    .info {
        padding: 25px;
    }

    .carousel-wrapper {
        gap: 15px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .photo-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .carousel-section {
        margin-bottom: 35px;
    }

    .grid-section {
        margin-top: 35px;
    }
}

@media screen and (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .carousel {
        aspect-ratio: 4 / 3;
    }
}

@media screen and (max-width: 600px) {
    .hero {
        height: 200px;
        background-size: 100% 200px, 100% 200px;
    }

    header a {
        font-size: 12px;
    }

    header img {
        height: 25px;
        margin: 0;
        margin-right: -10px;
    }

    header h2 {
        font-size: 12px;
        margin: 0;
    }

    header ul {
        gap: 10px;
    }

    h1 {
        font-size: 70px;
        margin-top: -60px;
    }

    footer {
        font-size: 14px;
    }

    footer .buttons {
        gap: 100px;
    }

    @keyframes subtle-pulse {
        0%, 100% {
            transform: scale(0.8);
        }
        50% {
            transform: scale(0.85);
        }
    }

    footer button:hover {
        transform: scale(0.9);
        animation: none;
    }

    footer .facebook {
        margin-right: -10px;
    }

    .info {
        padding: 20px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .carousel-wrapper {
        gap: 12px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .carousel {
        aspect-ratio: 4 / 3;
    }

    .carousel-section {
        margin-bottom: 30px;
    }

    .grid-section {
        margin-top: 30px;
    }

    .close {
        top: 20px;
        right: 20px;
        font-size: 32px;
    }
}

@media screen and (max-width: 410px) {
    .hero {
        height: 150px;
        background-size: 100% 150px, 100% 150px;
    }

    header {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    header img {
        width: 60px;
        height: auto;
    }

    header div {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    header h2 {
        font-size: 17px;
    }

    .hamburger-btn {
        display: flex;
        order: 2;
    }

    nav {
        position: absolute;
        top: calc(100% - 8px);
        left: 0;
        right: 0;
        width: 100%;
        background-color: rgb(235, 204, 255);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
        border-bottom: 0px solid black;
        background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0,0,0,0.2)), url('images/foggy-birds.png');
        z-index: 1000;
    }

    nav.open {
        max-height: 500px;
        border-bottom: 3px solid black;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    nav li {
        border-bottom: 2px solid rgba(0, 0, 0, 0.35);
        width: 100%;
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 15px 20px !important;
        text-align: left;
        font-size: 15px;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        font-size: 12px;
    }

    footer .buttons {
        gap: 20px;
        display: flex;
        justify-content: center;
    }

    footer button {
        width: 40px;
        height: 40px;
    }

    footer button img {
        width: 40px;
        height: 40px;
    }

    footer div {
        width: 100%;
    }

    footer p {
        margin: 5px 0;
        font-size: 11px;
    }

    h1 {
        font-size: 50px;
        margin-top: -50px;
    }

    .info {
        padding: 15px;
        width: 95%;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .carousel-wrapper {
        gap: 10px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .carousel {
        aspect-ratio: 4 / 3;
    }

    .carousel-section {
        margin-bottom: 25px;
    }

    .grid-section {
        margin-top: 25px;
    }

    .close {
        top: 15px;
        right: 15px;
        font-size: 28px;
    }

    .modal-image {
        max-width: 95%;
        max-height: 95%;
    }
}

@media screen and (min-width: 1025px) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(0,0,0,0) calc(100% - 50px), rgba(0,0,0,1) 100%), url('images/background-blurred-ultrawide.png');
    }
}
