/* ================= ROOT ================= */
:root{
    --primary:#0515A2;
    --bg:#f4f7ff;
    --card:#ffffff;
    --text:#0b1225;
}

body{
    overflow-x:hidden;
}

a.register-btn{
    text-decoration:none;
}

.right-actions{
    margin-left:10px;   /* 👈 pushes button slightly right */
}

.left-action-row{
    margin-top:25px;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.left-action-row a{
    min-width:160px;
    text-align:center;
}
/* ================= GLOBAL ================= */
html, body{
    margin:0;
    padding:0;
    font-family:'Segoe UI', Arial;
    background:var(--bg);
    color:var(--text);
        text-decoration:none;   /* 🔥 FIX */

}


.registered-box{
    margin-top:10px;
}

.registered-badge{
    background:#dcfce7;
    color:#166534;
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:600;
    display:inline-block;
    margin-bottom:10px;
}

.action-row{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}
.btn-dark{
    background:#111827;
    color:#fff;
    padding:10px 14px;
    border-radius:999px;
    text-decoration:none;
    font-size:13px;
}

.btn-light{
    background:#e5e7eb;
    color:#111827;
    padding:10px 14px;
    border-radius:999px;
    text-decoration:none;
    font-size:13px;
}

/* ================= HEADER ================= */
.header {
    padding: 14px 20px;
    background: linear-gradient(90deg, #10013f, #1a0a5e, #2b0d7a);
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:sticky;
    top:0;
    z-index:1000;
}

.header img {
    height:48px;
}

/* ================= NAV ================= */
.nav-menu {
    display:flex;
    align-items:center;
    gap:18px;
}

.nav-link {
    text-decoration:none;
    color:#fff;
    font-size:14px;
    opacity:.9;
}

.nav-link:hover{
    opacity:1;
}

/* ================= BUTTONS ================= */
.btn{
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
    text-decoration:none;
    transition:0.2s;
}

/* primary nav button */
.btn.primary{
    background:#fff;
    color:#10013f;
    font-weight:600;
}

/* secondary nav button */
.btn.secondary{
    background:rgba(255,255,255,0.15);
    color:#fff;
}

/* ================= CTA BUTTONS ================= */

.primary-btn,
.secondary-btn{
    display:flex;                 /* 🔥 important */
    align-items:center;
    justify-content:center;
    height:36px;                 /* 👈 compact size */
    padding:0 14px;              /* 👈 controlled spacing */
    border-radius:999px;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
    cursor:pointer;
    transition:0.2s;
    text-decoration:none;   /* 🔥 FIX */

}

/* PRIMARY */
.primary-btn{
    background:linear-gradient(90deg,#4f46e5,#06b6d4,#a855f7);
    color:#fff;
    box-shadow:0 4px 12px rgba(79,70,229,0.3);
        text-decoration:none;   /* 🔥 FIX */

}

.primary-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 6px 16px rgba(79,70,229,0.4);
        text-decoration:none;   /* 🔥 FIX */

}

/* SECONDARY */
.secondary-btn{
    background:#eef2f7;
    color:#111;
        text-decoration:none;   /* 🔥 FIX */

}

.secondary-btn:hover{
    background:#e2e8f0;
}

/* ================= HAMBURGER ================= */
.hamburger{
    display:none;
    font-size:22px;
    color:#fff;
    cursor:pointer;
}

/* ================= HERO ================= */
.hero{
    max-width:1100px;
    margin:15px auto;
    padding:0;
}
.hero-inner{
    position:relative;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.hero img{
    width:100%;
    height:240px;
    object-fit:cover;
    display:block;
}

.hero-content{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(0,0,0,0.65), transparent);
    color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:20px;
}

.hero h1{
    margin:0;
    font-size:26px;
}

/* ================= SECTION ================= */
.section{
    max-width:1100px;
    margin:25px auto;
    padding:0 15px;

}

/* ================= GRID ================= */
.grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

/* ================= CARD ================= */
.card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    transition:0.2s;
    display:flex;
    flex-direction:column;
}

.card:hover{
    transform:translateY(-3px);
}

.card-img{
    position:relative;
}

.card-img img{
    width:100%;
    height:160px;
    object-fit:cover;
    transition:.3s;
}

.card:hover img{
    transform:scale(1.05);
}

.date-badge{
    position:absolute;
    top:10px;
    left:10px;
    background:#fff;
    padding:5px 8px;
    border-radius:6px;
    font-size:12px;
    font-weight:600;
}

.card-body{
    align-items:flex-start; /* 👈 prevents stretch */
    padding:12px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.title{
    font-weight:600;
    margin-bottom:4px;
}

.meta{
    font-size:13px;
    color:#666;
}

.card-bottom{
    margin-top:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;   /* 👈 adds spacing between left & button */
}
.price{
    font-weight:bold;
    color:#10013f;
}

.price span{
    font-weight:normal;
    font-size:12px;
    color:#777;
}

.registered{
    font-size:12px;
    color:#777;
}

.register-btn{
    display:inline-block;   /* 🔥 key fix */
    width:auto;             /* prevent full width */
    padding:6px 14px;
    font-size:12px;
    border-radius:999px;
    color:#fff;
    background:linear-gradient(90deg,#4f46e5,#06b6d4,#a855f7);
        text-decoration:none;   /* 🔥 FIX */

}

/* ================= CTA ================= */
.cta-section{
    margin-top:40px;
    padding:40px 15px;
    background:linear-gradient(90deg,#fbbf24,#f97316,#ef4444);
}

.cta-box{
    max-width:1100px;
    margin:auto;
    background:#fff;
    border-radius:18px;
    padding:25px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.cta-left h2{
    margin:0 0 10px;
}

.cta-left p{
    color:#555;
}

.cta-buttons{
    display:flex;
    gap:10px;
    margin-top:10px;
        text-decoration:none;   /* 🔥 FIX */

}

.cta-right img{
    width:260px;
    border-radius:12px;
}

/* ================= FOOTER ================= */
.footer{
    background:#f8fafc;
    padding:50px 20px 20px;
    margin-top:40px;
}

.footer-container{
    max-width:1100px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.footer-col h4{
    margin-bottom:10px;
    font-size:14px;
}

.footer-col a{
    display:block;
    font-size:13px;
    color:#666;
    text-decoration:none;
    margin:6px 0;
}

.footer-col a:hover{
    color:var(--primary);
}

.footer-buttons{
    display:flex;
    gap:10px;
    margin-top:10px;
}

.footer-bottom{
    max-width:1100px;
    margin:30px auto 0;
    padding-top:15px;
    border-top:1px solid #e5e7eb;
    display:flex;
    justify-content:space-between;
    font-size:12px;
    color:#666;
}

/* ================= MOBILE ================= */
@media(max-width:768px){

    .hamburger{
        display:block;
    }

    .nav-menu{
        position:absolute;
        top:90px;
        right:0;
        width:100%;
        background:#10013f;
        flex-direction:column;
        padding:15px;
        display:none;
    }

    .nav-menu.active{
        display:flex;
    }

    .grid{
        grid-template-columns:1fr;
    }

    .cta-box{
        flex-direction:column;
        text-align:center;
    }

    .cta-buttons{
        justify-content:center;
    }

    .cta-right img{
        width:100%;
    }

    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-bottom{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }
}

/* ================= EVENT PAGE ================= */

.container{
    max-width:1100px;
    margin:20px auto;
    padding:0 15px;
}

/* ===== BANNER ===== */
.event-banner img{
    width:100%;
    height:320px;
    object-fit:cover;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* ===== HEADER (FLOAT CARD STYLE) ===== */
.event-header{
    display:flex;
    gap:20px;
    margin-top:-60px;
    position:relative;
    z-index:2;
    align-items:stretch; /* 🔥 KEY FIX */
}

/* LEFT CONTENT */
.event-left{
    flex:2;
    background:#fff;
    padding:22px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

/* RIGHT BOX */
.event-right{
    flex:1;
}

.event-left,
.event-right{
    display:flex;
    flex-direction:column;
}


/* TITLE */
.event-title{
    font-size:24px;
    font-weight:700;
}

/* META */
.event-meta{
    margin-top:10px;
    color:#555;
    line-height:1.6;
}


/* ===== BOOKING BOX ===== */

.booking-box{
    background:#fff;
    padding:30px 22px 22px; /* 👈 FIXED ORDER */
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    flex:1; /* 🔥 stretch to full height */
    display:flex;
    flex-direction:column;
    justify-content:space-between; /* ⬆ pushes content nicely */
    

}


/* ===== ACTION BUTTONS ===== */
.action-buttons{
    display:flex;
    gap:12px;
    margin-top:20px;
    align-items:center;
}

.action-buttons{
    display:block;
}


.btn-dark,
.btn-light{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:130px;
}

.price-box{
    margin-bottom:15px;
}

.price-title{
    font-weight:700;
    margin-bottom:8px;
    color:#0515A2;
}

.price-row{
    display:flex;
    justify-content:space-between;
    font-size:14px;
    padding:4px 0;
    border-bottom:1px dashed #eee;
}

/* ===== OVERVIEW ===== */

.overview-box{
    background:#fff;
    padding:22px;
    border-radius:16px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    line-height:1.6;
    color:#444;
}

/* ===== CAROUSEL ===== */
.carousel-box{
    background:linear-gradient(135deg,#fbbf24,#f97316,#ef4444);
    padding:20px;
    border-radius:18px;
    margin-top:30px;
}

.carousel-inner{
    background:#fff;
    border-radius:14px;
    padding:15px;
}

/* HEADER */
.carousel-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

/* SCROLL AREA */
.carousel{
    display:flex;
    gap:15px;
    overflow-x:auto;
    scroll-behavior:smooth;
}

.carousel::-webkit-scrollbar{
    display:none;
}

/* CARD WIDTH */
.carousel-card{
    min-width:260px;
}

/* ===== MOBILE ===== */
@media(max-width:768px){

    .event-header{
        flex-direction:column;
        margin-top:-40px;
    }

    .event-left,
    .event-right{
        width:100%;
    }

    .action-buttons{
        flex-direction:column;
    }

    .carousel-card{
        flex:0 0 80%;
    }
}
.card:hover{
    transform:translateY(-4px);
    transition:0.2s;
}

.contact-grid{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:20px;
}

@media(max-width:768px){
.contact-grid{
    grid-template-columns:1fr;
}
}


.form-btn{
    background:var(--primary);
    color:#fff;
    padding:12px;
    border:none;
    width:100%;
    border-radius:10px;
    font-weight:600;
    cursor:pointer;
}



/* ===== CONTACT PAGE ===== */

.page-title{
    text-align:center;
    font-size:28px;
    font-weight:700;
    margin-bottom:30px;
    color:#fff;
}

.contact-grid{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:20px;
}

.contact-card{
    background:#ffffff;
    border-radius:16px;
    padding:25px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

/* FORM */
.contact-card input,
.contact-card textarea{
    width:100%;
    padding:12px;
    margin-top:8px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:14px;
}

.contact-card textarea{
    resize:none;
    height:120px;
}

/* BUTTON */
.form-btn{
    background:var(--primary);
    color:#fff;
    padding:12px;
    border:none;
    width:100%;
    border-radius:10px;
    font-weight:600;
    cursor:pointer;
}

/* INFO */
.info-item{
    margin-bottom:15px;
}

.info-title{
    font-weight:600;
    margin-bottom:4px;
}

/* SUCCESS */
.success{
    background:#d1fae5;
    color:#065f46;
    padding:10px;
    border-radius:8px;
    margin-bottom:15px;
}

/* MOBILE */
@media(max-width:768px){
.contact-grid{
    grid-template-columns:1fr;
}
}

.contact-page-title{
    display:block;
    width:fit-content;
    margin:0 auto 30px;
    text-align:center;
    font-size:28px;
    font-weight:700;
    color:#0515A2;
    padding:10px 20px;
    border-radius:10px;
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}