
/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #000000;
    color: #149109;
}

/* Navbar Styles */
header {
    background: #000000;
    color: #149109;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #149109;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background: #555;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.site-title a {
    color: #149109;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.site-title a:hover {
    background: #555;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section Styles */
.hero {
    position: relative; 
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://i.pinimg.com/originals/6e/04/0b/6e040b9c6e4685ca199672e6999dd05f.gif') no-repeat center center/cover;
    color: #149109;
    text-align: center;
    padding: 0 2rem;
}

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

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

.hero a {
    background: #000000;
    color: #149109;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hero a:hover {
    background: #555;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    max-width: 900px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: left;
}



/* Section Styles */
section {
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 4rem; /* To offset the fixed navbar */
}

footer {
    background: #000000;
    color: #149109;
    text-align: center;
    padding: 1rem 0;
    position: relative; /* Change from fixed to relative on mobile */
    width: 100%;
    bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    nav ul li a {
        font-size: 0.875rem;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #000;
        position: absolute;
        top: 100%;
        left: 0;
    }

    nav ul.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
        color: #149109;
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    section {
        padding: 1rem 0.5rem;
    }

    .hero {
        height: 60vh;
    }
}

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

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

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    nav ul li a {
        padding: 0.25rem 0.5rem;
    }

    footer {
        position: relative;
    }

    header {
        padding: 0.5rem 0;
    }

    .hero {
        height: 50vh;
    }
}
@media (max-width: 768px) {
    .hero-overlay {
        padding: 1rem;
    }
}


/* DROPDOWN - Testing */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #000000;
    border: 1px solid #149109;
    min-width: 160px;
    z-index: 1000;
    top: 100%;
    left: 0;
    text-align: left;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #149109;
    text-decoration: none;
    background-color: #000000;
    border-bottom: 1px solid #149109;
}

.dropdown-menu li a:hover {
    background-color: #222;
}

/* Show on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}


/* Footer stuff */
.social-icons {
    margin-top: 0.5rem;
}

.social-icons a {
    color: #149109;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #55ff55;
}

/* Project Images */
.project-gallery {
    text-align: center;
    padding: 2rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-grid img {
    width: 100%;
    height: auto;
    border: 2px solid #149109;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
}

/* comp css */
.competition-highlights {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-size: 1rem;
}

/* .competition-highlights ul {
    list-style: disc inside;
    padding-left: 1rem;
}

.competition-highlights li {
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #149109;
}

 */

.competition-highlights ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 1.5rem;
  padding: 0;
}

.competition-highlights li {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.competition-highlights li:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

.competition-highlights li strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
