/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* Global Styles */
body {
    margin: 0;
    padding-top: 70px;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    background-color: #DCF8FB;
    /* To center background both horizontally and vertically, while scaling the image */
    background: url('../images/FoM_background.png') no-repeat center center/cover;
}

/* Containers */
main {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    max-width: 1050px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* Navigation Bar */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #2E3259;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar {
    max-width: 1050px; 
    margin: 0 auto; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

.navbar .logo img {
    max-width: 180px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: #ffffff;
    font-size: 11px;
    text-decoration: none;
    text-transform: uppercase;
}

/* Navigation CTA */
.download-btn a {
    color: #2E3259;
}
.download-btn {
    background-color: #4b9ea1;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
}

/* Gradient Hover Effect */
.download-btn:hover {
    background: linear-gradient(180deg, #7ADDE0, #6ac9cd);
    transform: scale(1.05);
    color: #337a7c;
}

/* Hero Section */
#hero-section {
    width: 100%; 
    padding: 100px 20px 0px 20px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.hero-logo img {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 1.6rem;
    line-height: 1.5;
    margin: 0 auto;
}

.hero-video iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin-top: 20px;
}

/* Welcome Section */
#welcome-section {
    background-color: #3E426A;
    color: #FFFFFF;
    max-width: 700px;
    margin: 40px auto;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

#welcome-section img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

#welcome-section p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Game Gallery */
#game-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    flex: 0 1 48%;
    box-sizing: border-box;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* CTA Section */
#cta-steam {
    padding: 40px;
    text-align: center;
}

.steam-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-top: 20px;
}

/* Villager Gallery Section */
#villager-gallery {
    text-align: center;
    padding: 40px 20px;
}

.gallery-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Left Side: Villager Icons in Two Columns */
.villager-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.villager-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, opacity 0.3s ease-in-out;
}

.villager-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Right Side: Villager Profile Display */
.villager-profile {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.villager-profile img {
    width: 100%;
    max-width: 350px;
    border-radius: 5px;
}

/* Contact Page */
#contact-section {
    text-align: center;
    padding: 40px 20px;
}

.contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

/* Left Side: Contact Information */
.contact-info {
    max-width: 400px;
    text-align: left;
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.chicken img {
    max-width: 200px;
    height: auto;
}

/* Right Side: Contact Form */
.contact-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    text-align: left;
    width: 100%;
    max-width: 450px;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 90%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: none;
}

.submit-btn {
    background: black;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 15px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.submit-btn:hover {
    background: #333;
}

/* Footer */
.main-footer {
    background-color: #CFE8F7;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.main-footer .container {
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 14px;
    text-align: center;
    color: #333;
}

/* Social Media Icons on Footer */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}
.social-links img:hover {
    transform: scale(1.1);
}
