/* General styles */
body {
    font-family: sans-serif;
    margin: 0;
    background-color: #1a1a2e;
    color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background-color: #162447;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    height: 110px; /* Increased logo size */
    margin-top: -33px; /* Negative margin to prevent header growth */
    margin-bottom: -33px; /* Negative margin to prevent header growth */
    margin-right: 10px;
}

main {
    padding-top: 100px; /* Adjust for fixed header height */
}


/* Hero section */
.hero {
    background-image: url('../images/carousel-1.jpg');
    background-size: cover;
    background-position: center 25%;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: #e43f5a;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #b32e46;
}

/* About section */
.about {
    padding: 4rem 0;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #162447;
    padding: 2rem 0;
    text-align: center;
}

.socials a {
    color: #fff;
    margin: 0 0.5rem;
    text-decoration: none;
}

/* Floating Zs animation */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

.z-animation {
    position: absolute;
    bottom: -100px;
    font-size: 2rem;
    color: #fff;
    pointer-events: none;
    animation: float 6s ease-in infinite;
}

/* Carousel styles */
.carousel-container {
    padding: 2rem 0;
}

.carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 1;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .carousel-slide img {
        height: 300px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
    }
}
