/* Global Styles */
:root {
    --primary-color: #FF5733;
    --secondary-color: #FFC300;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --dark-bg: #222;
    --accent: #39A2DB;
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.3s ease;
    --border-radius: 6px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

section {
    padding: 5rem 0;
}

img, svg {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23222"/><path d="M0 50 L100 50" stroke="%23FF5733" stroke-width="5"/></svg>') center/cover;
    color: white;
    text-align: center;
    padding: 8rem 0;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

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

.hero .btn {
    margin-top: 2rem;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-icon {
    flex-shrink: 0;
}

/* Program Section */
.program {
    background-color: var(--light-bg);
}

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

.program-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.program-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-item h3 {
    color: var(--primary-color);
}

.program a.btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Submissions Section */
.submissions {
    background-color: white;
    text-align: center;
}

.submission-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 2rem 0 3rem;
}

.submission-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.submission-info ul {
    text-align: left;
}

.submission-info ul li {
    margin-bottom: 0.5rem;
}

/* Games Section */
.games {
    background-color: var(--light-bg);
}

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

.game-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.game-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.game-item h3 {
    color: var(--secondary-color);
}

.news-links {
    text-align: center;
    margin-top: 2rem;
}

.news-links a {
    font-weight: 600;
    margin: 0 8px;
}

/* Contact Section */
.contact {
    background-color: white;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 87, 51, 0.2);
}

.contact-info {
    margin-top: 2rem;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--text-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 4rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo p {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links h3,
.footer-newsletter h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer-links h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ddd;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-newsletter input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: #ddd;
    margin-left: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h2 {
        font-size: 2.2rem;
    }

    .hero h2 {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }
    
    nav.active ul {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .submission-info {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 1s ease-out forwards;
}

.program-item, .game-item {
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');
