/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', Arial, sans-serif;
}



/* Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(30, 47, 35, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #a8e6a3;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    
}

.nav-links a {
     position: relative;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #4caf50;
    transform: scale(1.08);
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background-color: #4caf50;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #4caf50;
    font-weight: bold;
}

.nav-links a.active::after {
    width: 100%;
}

/* LOGO *//
.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px; /* adjust if needed */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}





/* Hero Section */
.hero {
    height: 100vh;
    background-image:
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
        url("assets/background/BackgroundWebsite.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
    position: relative;
}


.hero-content {
    max-width: 800px;
}



.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
        
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #a8e6a3;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}



/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    margin: 0 0.5rem;
    font-weight: bold;
}

.primary-btn {
    background-color: #4caf50;
    color: white;
}

.secondary-btn {
    border: 2px solid #4caf50;
    color: #4caf50;
}

.primary-btn:hover {
    background-color: #3d8b40;
}

.secondary-btn:hover {
    background-color: #4caf50;
    color: white;
}



/* Overview */
.overview {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    border-top: 3px solid #4caf50;
}

.overview h2 {
    margin-bottom: 1rem;
    color: #1e2f23;
}

.overview p {
    line-height: 1.7;
}



/* Features */
.features {
    background: linear-gradient(#f4f6f5, #e8f5e9);
    padding: 5rem 2rem;
}

.features h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e2f23;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.feature-card h3 {
    margin-bottom: 0.8rem;
    color: #2e7d32;
}

/* .advocacy {
    padding: 5rem 2rem;
    background: #f4f6f5;
    text-align: center;
}

.advocacy h2 {
    margin-bottom: 1.5rem;
    color: #1e2f23;
}

.advocacy p {
    max-width: 800px;
    margin: auto;
    line-height: 1.7;
} */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    animation: fadeUp 1s ease forwards;
}

.hero-content h2 {
    animation: fadeUp 1.4s ease forwards;
}

.hero-content p {
    animation: fadeUp 1.8s ease forwards;
}

.hero-buttons {
    animation: fadeUp 2.2s ease forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    font-size: 0.8rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.primary-btn {
    background-color: #4caf50;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.parallax-section {
    height: 60vh;
    background-image:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url("assets/background/BackgroundWebsite.png"); /* or a static image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.parallax-content {
    max-width: 700px;
    padding: 2rem;
}

.parallax-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #a8e6a3;
}

.parallax-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.characters-preview {
    padding: 5rem 2rem;
    background-color: #111;
    color: white;
    text-align: center;
}

.characters-preview h2 {
    margin-bottom: 3rem;
    color: #a8e6a3;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: auto;
}

.character-card {
    background: #1c1c1c;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.character-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.character-card h3 {
    margin-bottom: 0.5rem;
    color: #4caf50;
}

.character-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.characters-preview .btn {
    margin-top: 3rem;
    display: inline-block;
}
.about-hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url("assets/background/BackgroundWebsite.png");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-content {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: auto;
}

.about-block {
    margin-bottom: 3rem;
}

.about-block h2 {
    color: #2e7d32;
    margin-bottom: 0.8rem;
}

.about-block p {
    line-height: 1.7;
}





/* FOR THE GAMEPLAY PAGE */
.gameplay-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                url("assets/background/BackgroundWebsite.png"); /* can swap for static image if GIF parallax buggy */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
    position: relative;
}

.gameplay-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeUp 1s ease forwards;
}

.gameplay-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeUp 1.5s ease forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.gameplay-content {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: auto;
}

.gameplay-block {
    margin-bottom: 4rem;
    text-align: center;
}

.gameplay-block h2 {
    color: #4caf50;
    margin-bottom: 1rem;
    font-size: 2rem;
    animation: fadeUp 1s ease forwards;
}

.gameplay-block p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    animation: fadeUp 1.2s ease forwards;
}

.gameplay-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gameplay-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}





/* Reuse existing buttons */
.primary-btn {
    margin-top: 3rem;
    animation: pulse 2s infinite;
}






/* THIS IS FOR THE CHARACTERS PAGE */
.characters-hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                url("assets/background/BackgroundWebsite.png"); /* replace with hero image if you want */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.characters-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeUp 1s ease forwards;
}

.characters-hero p {
    font-size: 1.2rem;
    animation: fadeUp 1.5s ease forwards;
}


/* Characters Grid */
.characters-content {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: auto;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.character-card {
    background: #1c1c1c;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: white;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.character-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.character-card h3 {
    margin-bottom: 0.5rem;
    color: #4caf50;
}

.character-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}



/* FOR THE TRAILER SECTION */

.trailer {
    padding: 5rem 2rem;
    text-align: center;
    background: #111;
    color: white;
}

.trailer h2 {
    margin-bottom: 1rem;
    color: #a8e6a3;
}

.video-container {
    max-width: 800px;
    margin: 2rem auto 0;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 12px;
}

/* THIS IS FOR THE SURVEY SECTION */
.survey {
    padding: 5rem 2rem;
    text-align: center;
    background: #f4f6f5;
}

.survey h2 {
    margin-bottom: 1rem;
    color: #1e2f23;
}

.survey p {
    margin-bottom: 2rem;
}


/* <!-- Footer -->
<footer>
    <p>© 2025 Trashformers Project | FEU Institute of Technology</p>
</footer>

</body>
</html> */


/* <!-- Responsiveness tesst --> */
/* @media (max-width: 768px) {

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .gameplay-hero h1,
    .characters-hero h1,
    .about-hero h1 {
        font-size: 2rem;
    }
} */



/* THIS IS FOR THE NEWS SECTION/* NEWS PAGE */
.news {
    padding: 6rem 2rem;
    max-width: 900px;
    margin: auto;
}

.news-card {
    background: #1c1c1c;
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card h3 {
    color: #4caf50;
    margin-bottom: 0.5rem;
}

.news-card small {
    opacity: 0.7;
    font-size: 0.8rem;
} */

/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Footer styles */
.footer {
  background-color: #000;
  color: #fff;
  padding: 20px 0;
  font-family: Arial, sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  max-height: 40px; /* Adjust as needed */
}

.footer-text {
  font-size: 14px;
  color: #ccc;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: #00b3b3; /* Blue-green color */
  text-decoration: none;
  font-size: 14px;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-logo-img {
    height: 50px;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.footer-logo-img:hover {
    transform: scale(1.08) translateY(-2px);
}
