/* AAFUTSAL - Main Stylesheet */
/* Import Futuristic High-Tech Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Exo+2:wght@300;400;500;600;700;800;900&display=swap');

/* Color Palette */
:root {
    --primary-green: #006633;
    --primary-yellow: #FFCC00;
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #F5F5F5;
    --gray-medium: #CCCCCC;
    --gray-dark: #333333;
    --text-color: #1A1A1A;
    --border-color: #E0E0E0;
}

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

body {
    font-family: 'Exo 2', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.3px;
}

/* Futuristic Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', 'Exo 2', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Logo Text */
.logo-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.logo-text p {
    font-family: 'Exo 2', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Section Titles - Futuristic Style */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary-green), #00FF88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: none;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), transparent);
    box-shadow: 0 0 10px var(--primary-yellow);
}

/* Hero Section - Ultra Modern */
.hero-title {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    text-shadow: 0 0 30px rgba(255, 204, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 204, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    to {
        text-shadow: 0 0 40px rgba(255, 204, 0, 0.6), 0 5px 20px rgba(0, 0, 0, 0.4);
    }
}

.hero-subtitle {
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* Buttons - Futuristic Style */
.btn {
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover:before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow), #FFE066) !important;
    box-shadow: 0 5px 20px rgba(255, 204, 0, 0.4) !important;
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(255, 204, 0, 0.6) !important;
}

/* Navigation - Tech Style */
.main-nav a {
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
    transform: translateX(-50%);
    transition: width 0.3s;
}

.main-nav a:hover:after {
    width: 100%;
}

/* News Cards - Futuristic Enhancement */
.news-title a {
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

.news-category {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

/* Tournament Cards */
.tournament-title {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

/* Stats/Numbers - Digital Display Style */
.stat-value,
.stat-number {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.5);
}

/* Footer Enhancement */
.main-footer h3 {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
}

/* Form Inputs - Modern Style */
.form-control {
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
    border: 2px solid var(--border-color) !important;
    transition: all 0.3s !important;
}

.form-control:focus {
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 15px rgba(0, 102, 51, 0.2) !important;
}

/* Tables - Tech Style */
.table th {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

/* Additional Glow Effects */
.cta-section h2 {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 3px !important;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Enhanced Readability */
p {
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background-color: var(--primary-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

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

.header-contact span {
    color: var(--white);
    font-size: 14px;
    margin-right: 20px;
}

.header-actions a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    margin-left: 20px;
    transition: color 0.3s;
}

.header-actions a:hover {
    color: var(--primary-yellow);
}

.header-main {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.logo-img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.logo-text h1 {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.logo-text p {
    color: var(--primary-yellow);
    font-size: 12px;
    margin: 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-yellow);
    border-bottom-color: var(--primary-yellow);
}

/* Hamburger Menu - Hidden on Desktop */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-overlay {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .header-contact span {
        font-size: 12px;
        margin-right: 10px;
    }

    .header-actions a {
        font-size: 12px;
        margin-left: 10px;
    }

    .logo-img {
        width: 50px;
        height: 50px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text p {
        font-size: 10px;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    /* Hide desktop menu, show mobile menu */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--primary-green);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav a {
        display: block;
        padding: 15px 10px;
        border-bottom: none !important;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .mobile-overlay.active {
        display: block;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    background-color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 51, 0.9), rgba(0, 102, 51, 0.6));
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--primary-yellow);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Hero Section */
@media (max-width: 968px) {
    .hero-section {
        height: 450px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--black);
}

.btn-primary:hover {
    background-color: #FFD633;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

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

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--gray-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-green);
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-yellow);
}

.view-all {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.view-all:hover {
    color: var(--primary-yellow);
}

/* News Card Enhancements */
.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 102, 51, 0.2);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-light);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.15);
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-yellow);
    color: var(--black);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 20px;
    margin-bottom: 12px;
    flex: 1;
}

.news-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a:hover {
    color: var(--primary-green);
}

.news-excerpt {
    color: var(--gray-dark);
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    animation: fadeInUp 0.6s ease-out;
}

.news-card:nth-child(1) {
    animation-delay: 0.1s;
}

.news-card:nth-child(2) {
    animation-delay: 0.2s;
}

.news-card:nth-child(3) {
    animation-delay: 0.3s;
}

.news-card:nth-child(4) {
    animation-delay: 0.4s;
}

.news-card:nth-child(5) {
    animation-delay: 0.5s;
}

.news-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Tournament Grid */
.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.tournament-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.tournament-card:hover {
    transform: translateY(-5px);
}

.tournament-image {
    position: relative;
    height: 200px;
}

.tournament-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tournament-status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-upcoming {
    background-color: #4A90E2;
    color: var(--white);
}

.status-ongoing {
    background-color: #FF6B6B;
    color: var(--white);
}

.status-completed {
    background-color: var(--gray-medium);
    color: var(--white);
}

.tournament-content {
    padding: 25px;
}

.tournament-title {
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.tournament-location,
.tournament-date {
    color: var(--gray-dark);
    margin-bottom: 10px;
    font-size: 15px;
}

.tournament-content .btn {
    margin-top: 15px;
    width: 100%;
    text-align: center;
}

/* Events List */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.event-item {
    display: flex;
    gap: 25px;
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.event-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.event-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 15px;
    border-radius: 8px;
    min-width: 80px;
}

.event-day {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 16px;
    text-transform: uppercase;
    color: var(--primary-yellow);
}

.event-details {
    flex: 1;
}

.event-title {
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.event-location {
    color: var(--gray-dark);
    margin-bottom: 10px;
}

.event-description {
    color: #666;
    line-height: 1.6;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green), #004d26);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--primary-yellow);
    font-size: 20px;
    margin-bottom: 30px;
}

/* Footer */
.main-footer {
    background-color: var(--gray-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--gray-medium);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--primary-green);
    color: var(--white);
    font-weight: 600;
}

.table tr:hover {
    background-color: var(--gray-light);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-error {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.alert-info {
    background-color: #D1ECF1;
    color: #0C5460;
    border: 1px solid #BEE5EB;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px !important;
    }

    .hero-subtitle {
        font-size: 16px !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .news-grid,
    .tournament-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }
}