*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body{
    font-family: Tajawal, sans-serif;
    line-height: 1.6;
    color: #333;
}

section{
    padding: 80px 0;
}

.container{
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

header{
    background-color: #f9f9f9;
    color: #FFF;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a{
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
}

.logo span{
    color: #3498db;
}

nav ul{
    display: flex;
    list-style: none;
}

nav li{
    margin-left: 20px;
}

nav a {
    margin-left: 10px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.3rem;
}

/* Sodo class */
nav a:hover{
    color: #3498db;
    transition: color 0.3s ease;
}

#hero{
    padding: 80px;
    background: url('mycity2.jpg');
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFF;
}

.hero-content h2{
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p{
    font-size: 1.5rem;
    margin-bottom:10px;
}

.btn{
    text-decoration: none;
    color: #FFF;
    background-color: #3498db;
    padding: 12px 30px;
    display: inline-block;
    border-radius: 6px;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
    margin-top: 30px;
}

.btn:hover{
    background-color: #2980b9;
}

.section-title{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.bellow-section-title{
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.3rem;
}

.event-details{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.detail{
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail:hover{
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.detail-icon{
    color: #4a90e2;
    font-size: 2rem;
    margin-bottom: 15px;
}

.detail p{
    font-size: 1.3rem;
}

.detail h3{
    color: #3498db;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

#register{
    background-color: #f9f9f9;
}

.form-container{
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    padding: 30px;
    margin: 0 auto;
    border-radius: 8px;
    font-size: 1.2rem;
}

.form-group{
    margin-bottom: 20px;
}

.radio-group{
    text-align: right;
    margin-bottom: 10px;
}

.radio-group label{
    display: inline;
    margin-right: 10px;
    font-weight: normal;
}

label{
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    text-align: right;
    margin-top: 20px;
}

input[type = "text"],
textarea{
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea{
    resize: vertical;
}

button[type = "submit"]{
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    font-family: Tajawal, sans-serif;
}

@media (max-width: 768px){

    nav ul{
        flex-direction: column;
        text-align: center;
    }

    nav li{
        margin: 10px 0;
    }

    .hero-content h2{
        font-size: 2rem;
    }

    .hero-content p{
        font-size: 1.2rem;
    }

    .about-text p{
        font-size: 1.3rem;
        margin-right: 0;
        margin-bottom: 30px;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1200;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #3498db;
    border-radius: 5px;
    transition: all 0.4s ease;
}

/* X Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px){

    header .container{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger{
        display: flex;
    }

    nav{
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
    }

    nav ul{
        flex-direction: column;
        padding: 20px 0;
    }

    nav li{
        margin: 15px 0;
        text-align: center;
    }

    nav.active{
        max-height: 300px;
    }
}

footer{
    background-color: #2c3e50;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 20px;
}

.footer-content{
    display: flex;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-logo, .footer-links, .footer-contact{
    flex:1;
    min-width: 250px;
    margin-bottom: 20px;
    text-align: right;
}

.footer-logo h3{
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-logo span{
    color: #9be4ff;
}

.footer-links h4, .footer-contact h4{
    color: #9be4ff;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-links ul{
    list-style: none;
}

.footer-links a{
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover{
    color: #9be4ff;
    transition: color 0.3s ease;
}

.footer-links li{
    margin-bottom: 10px;
}

.footer-contact p{
    margin-bottom: 8px;
}

.footer-contact a{
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    border-radius: 50%;
}

.footer-contact a:hover{
    color: #9be4ff;
}

.footer-contact i{
    margin-left: 10px;
    font-size: 1.2rem;
}

.footer-bottom{
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px){
    .footer-content{
        flex-direction: column;
    }

    .footer-logo, .footer-contact, .footer.links{
        margin-bottom: 30px;
    }
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2c3e50;
    color: #fff;
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    bottom: 50px;
}

/* Disabled button state */
button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

/* =========================
   HAMBURGER MENU STYLISH
========================= */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1100;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #3498db;
    border-radius: 5px;
    transition: all 0.4s ease;
}

/* Animate into X */
.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(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {

    header .container {
        flex-direction: row; /* Keep logo left, hamburger right */
    }

    nav {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }

    nav li {
        margin: 15px 0;
        text-align: center;
    }

    nav a {
        font-size: 1.4rem;
        color: #2c3e50;
    }

    nav.active {
        max-height: 300px;
    }

    .hamburger {
        display: flex;
    }
}