html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    background-color: #FFFFFF;
    color: #333;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: #272635;
    width: 100%;
    position: fixed;
    height: 80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    transition: all 0.3s ease-in-out;
}

header:hover {
    background: #373645;
    padding-top: 20px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 1px;
}

nav {
    max-width: 900px;
}

nav ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 15px;
}

nav li {
    list-style: none;
}

nav a {
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    transition: 0.3s ease-in-out;
    white-space: nowrap;
    padding: 10px 12px;
    max-width: 100%;
    border-radius: 5px;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

nav a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #355aa8;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
    border-radius: 5px;
    z-index: -1;
}

nav a:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

nav a:hover {
    color: white;
}

.heroimg1, .heroimg2, .heroimg3 {
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.heroimg1 { background-image: url("./images/heroimage1.jpeg"); }
.heroimg2 { background-image: url("./images/heroimage2.JPG"); }
.heroimg3 { background-image: url("./images/heroimage3.JPEG"); }

.heroimg1::before, .heroimg2::before, .heroimg3::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
}

main {
    max-width: 1100px;
    margin: auto;
    padding: 120px 20px 50px;
}

h2 {
    font-size: 32px;
    text-align: center;
    font-weight: bold;
    color: #272635;
    margin-bottom: 30px;
}

.desc {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    text-align: justify;
    margin-bottom: 40px;
}

.gallery {
    position: relative;
    text-align: center;
    margin: 40px 0;
}

.gallery img {
    max-width: 600px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.05);
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 16px;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

button:hover {
    background: rgba(0, 0, 0, 0.8);
}

#prev, #prev2 { left: 10px; }
#next, #next2 { right: 10px; }

footer {
    background: #272635;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 18px;
    margin-top: auto;
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer span {
    transition: font-size 0.3s;
}

footer:hover span {
    font-size: 22px;
    height: max-content;
}

.copyright {
    display: inline-block;
    transition: transform 0.5s ease-in-out;
}

footer:hover .copyright {
    transform: rotate(360deg);
}
