/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Responsive Image Class */
.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-banner {
    position: relative;
    width: 100%;
    height: 90vh;
    object-fit: cover;
    display: block; /* Ensure it's treated as a block-level element */
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2;
}

.header-container {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensures no content spills outside */
}

/* Header Styles */
header {
    position: relative;
    width: 100%;
    height: 90vh;
    background: url('images/fantasy_highres.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

header .overlay {
    /* background-color: rgba(0, 0, 0, 0.122); */
    padding: 20px;
    border-radius: 10px;
}

header h1 {
    font-size: 48px;
    font-weight: 600;
    margin: 0;
}

header p {
    font-size: 24px;
    margin-top: 10px;
    font-weight: 300;
}

/* Down Arrow Styles */
.arrow-down {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #fff;
    margin-top: 30px;
    position: absolute;
    bottom: 20px;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
/* Bouncing animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0); /* No vertical movement */
    }
    40% {
        transform: translate(-50%, -10px); /* Move up by 10px */
    }
    60% {
        transform: translate(-50%, -5px); /* Slightly down */
    }
}

/* Navigation Styles */
nav {
    background: #000000;
    color: #fff;
    padding: 10px 0;
}

nav ul {
    padding: 0;
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

nav ul li a:hover {
    color: #f4f4f4;
}

/* Project Styles */
.project {
    background: #fff;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.project a {
    color: #333;
    text-decoration: none;
    display: block;
}

.project img {
    width: 100%;
    height: auto;
}

.project-info {
    padding: 15px;
}

.project h3 {
    margin: 0;
}

.project p {
    margin: 10px 0 0;
}

.project:hover {
    transform: scale(1.01);
}

/* Section Styles */
section {
    margin: 20px 0;
}

section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.project {
    background: #fff;
    padding: 15px;
    margin: 15px 0;
    border-left: 5px solid #0779e4;
}

.project h3 {
    margin: 0;
}

/* Contact Styles */
#contact ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

#contact ul li {
    margin-bottom: 10px;
}

#contact ul li a {
    color: #0779e4;
    text-decoration: none;
}

#contact ul li a:hover {
    color: #333;
}

/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
}
