/* FILE: styles.css */
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(180deg, #0a0015 0%, #1a0033 50%, #0a0015 100%);
    color: #ffffff;
    overflow-x: hidden;
}

/* ===== NAVBAR FULL WIDTH ===== */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#020617;
    border-bottom:1px solid rgba(0,245,255,.15);
    z-index:1000;
}

/* inner auto layout grid */

.nav-inner{
position:relative;
width:100%;
padding:18px 4%;
display:grid;
grid-template-columns:auto 1fr auto auto;
align-items:center;
gap:30px;
}

/* logo */

.logo img{
    height:80px;
    width:auto;
}

/* links */

.nav-links{
    display:flex;
    justify-content:center;
    gap:28px;
    list-style:none;
}

.nav-links a{
    text-decoration:none;
    color:#cbd5e1;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover{
    color:#00f5ff;
}

/* buttons */

.nav-buttons{
    display:flex;
    gap:14px;
}

/* burger */

.burger{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
}

.burger span{
    width:26px;
    height:4px;
    background:#00f5ff;
}

@media(max-width:1100px){

.nav-inner{padding:10px 16px;
    grid-template-columns:auto 1fr auto;
    
}

.logo img{
    height:32px;
}

.nav-buttons{
    display:none;
}

.burger{
    display:flex;
}

.nav-links{
    position:absolute;
    top:100%;
    right:8%;
    width:260px;
    background:#020617;
    flex-direction:column;
    padding:18px;
    border:1px solid rgba(0,245,255,.2);
    border-radius:16px;
    box-shadow:0 20px 60px rgba(0,0,0,.6);
    transform:translateY(-10px);
    opacity:0;
    pointer-events:none;
    transition:.3s;
}

.nav-links.active{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
}

}

@media(max-width:600px){

.nav-inner{padding:10px 16px;
}

.logo img{
    height:32px;
}

}

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, #a855f7, #7c3aed);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #a855f7;
    padding: 15px 30px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* HERO SECTION WITH BACKGROUND IMAGE */

.hero {
    position: relative;
    min-height: 90vh;
    padding: 120px 8% 80px;

    display: flex;
    align-items: center;

    background-image: url("unsplash/caricature1.png");
    background-size: cover;
    background-position: center;
}

/* dark overlay for readability */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8,12,25,0.75);
}
.hero::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(90deg, rgba(10,15,28,0.9) 30%, rgba(10,15,28,0.2));
}

/* content container */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

/* headline */

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

/* highlight color */

.hero h1 .highlight {
    color: #00f5ff;
}

/* paragraph */

.hero p {
    font-size: 20px;
    line-height: 1.7;
    color: #d1d5db;
    margin-bottom: 40px;
    max-width: 900px;
}

/* buttons */

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* buttons style */

.btn-primary {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-secondary {
    padding: 16px 36px;
    font-size: 16px;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,245,255,0.25);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(0,245,255,0.1);
    border-color: #00f5ff;
}

.btn-primary,
.btn-secondary {
    transition: all 0.3s ease;
}
/* MOBILE HERO */

@media (max-width: 992px) {

.hero {
    text-align: center;
    justify-content: center;
    padding: 120px 24px;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 44px;
}

.hero p {
    font-size: 18px;
}

.hero-buttons {
    justify-content: center;
}

}

/* Countdown */

.countdown{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:60px;
    padding:40px 8%;
    background:rgba(168,85,247,0.05);
    border-radius:20px;
    flex-wrap:nowrap;
}

/* item */

.countdown-item{
    text-align:center;
    min-width:90px;
}

/* number */

.countdown-number{
    font-size:48px;
    font-weight:bold;
    color:#a855f7;
    display:block;
}

/* label */

.countdown-label{
    font-size:14px;
    color:#b4b4b4;
    text-transform:uppercase;
}

/* ===== TABLET ===== */

@media (max-width:992px){

.countdown{
    gap:35px;
}

.countdown-number{
    font-size:38px;
}

}

/* ===== MOBILE ===== */

@media (max-width:600px){

.countdown{
    gap:20px;
    padding:30px 8%;
    overflow-x:auto;
    justify-content:flex-start;
}

.countdown-item{
    min-width:70px;
}

.countdown-number{
    font-size:30px;
}

.countdown-label{
    font-size:11px;
}

}

/* Welcome Section */

.welcome {
    background: #0b1220;
    text-align: center;
    padding: 100px 80px;
}

.welcome h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.welcome h2 .highlight {
    color: #a855f7;
}

.welcome p {
    color: #b4b4b4;
    max-width: 800px;
    margin: 0 auto 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b4b4b4;
}

.venue-image {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 20px;
    margin: 0 auto;
    margin-bottom: 40px;
}
@media (max-width:768px){

.contact-info{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;
    width:100%;
    margin:0 auto;
}

.contact-item{
    width:100%;
    max-width:320px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    gap:8px;
    font-size:15px;
    padding:16px;
    border:1px solid #a855f7;
    border-radius:12px;
    background:rgba(255,255,255,0.02);
    backdrop-filter:blur(8px);
    color:#b4b4b4;
}

.contact-item span:first-child{
    font-size:20px;
}

}

/* Conference Details */
.conference-details {
    display: flex;
    gap: 40px;
    padding: 100px 80px;
    align-items: center;
}

.details-image {
    width: 400px;
    height: 400px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 20px;
}

.details-content {
    flex: 1;
}

.details-content h3 {
    color: #a855f7;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.details-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.details-content p {
    color: #b4b4b4;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Agenda Section */
.agenda {
    padding: 100px 80px;
    display: flex;
    gap: 60px;
    align-items: center;
}

.agenda-content {
    flex: 1;
}

.agenda-content h3 {
    color: #a855f7;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.agenda-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.agenda-content p {
    color: #b4b4b4;
    margin-bottom: 30px;
    line-height: 1.6;
}

.agenda-image {
    width: 400px;
    height: 400px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 50%;
}

/* Archive Section */
.archive {
    padding: 100px 80px;
    text-align: center;
}

.archive h3 {
    color: #a855f7;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.archive h2 {
    font-size: 42px;
    margin-bottom: 60px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.archive-card {
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: left;
}

.archive-card-image {
    width: 100%;
    height: 200px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

.archive-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.archive-card p {
    color: #b4b4b4;
    font-size: 14px;
    margin-bottom: 15px;
}

.archive-card a {
    color: #a855f7;
    text-decoration: none;
    font-weight: bold;
}

/* Location Section */
.location {
    padding: 100px 80px;
    display: flex;
    gap: 60px;
    align-items: center;
}

.location-image {
    width: 400px;
    height: 400px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 20px;
}

.location-content {
    flex: 1;
}

.location-content h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.location-content h3 {
    color: #a855f7;
    font-size: 18px;
    margin-bottom: 20px;
}

.location-content p {
    color: #b4b4b4;
    margin-bottom: 30px;
    line-height: 1.6;
}

.location-buttons {
    display: flex;
    gap: 20px;
}

html {
scroll-behavior: smooth;
}

/* CYBER MISSION GRID */
/* ===== VILLAGE SECTION ===== */

#villages{
    background:#070d18;
    padding:100px 0;
    position:relative;
    z-index:10;
}

/* inner container aligned with site grid */

.villages{
    padding:0 8%;
    text-align:center;
    position:relative;
}

/* ===== CAROUSEL LANE ===== */

.village-grid{
    display:flex;
    gap:30px;
    overflow-x:auto;
    overflow-y:visible;
    padding:60px 0;
    scroll-behavior:smooth;
    cursor:grab;
}

/* hide scrollbar */

.village-grid::-webkit-scrollbar{
    display:none;
}

/* ===== CARD ===== */

.village-card{
    min-width:320px;
    max-width:320px;
    flex-shrink:0;
    background:#0b1220;
    border:1px solid rgba(0,245,255,0.25);
    border-radius:14px;
    padding:30px;
    text-align:left;
    position:relative;
    transition:0.35s ease;
}

/* cyber glow */

.village-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at top right, rgba(0,245,255,0.15), transparent 60%);
    opacity:0;
    transition:0.35s;
}

.village-card:hover::before{
    opacity:1;
}

/* hover elevation */

.village-card:hover{
    transform:translateY(-6px);
    border-color:#00f5ff;
    box-shadow:0 12px 30px rgba(0,245,255,0.2);
}

/* title */

.village-card h4{
    font-family:'Orbitron', sans-serif;
    margin-bottom:10px;
    font-size:18px;
}

/* text */

.village-card p{
    color:#b4b4b4;
    line-height:1.7;
}

/* tag */

.village-tag{
    display:inline-block;
    font-size:12px;
    letter-spacing:1px;
    padding:5px 10px;
    margin-bottom:12px;
    border-radius:6px;
    background:rgba(0,245,255,0.1);
    border:1px solid rgba(0,245,255,0.3);
    color:#00f5ff;
}

/* ===== RESPONSIVE ===== */

@media (max-width:768px){

.villages{
    padding:0 8%;
}

.village-grid{
    gap:20px;
    padding:40px 0;
}

.village-card{
    min-width:260px;
    max-width:260px;
    padding:22px;
}

}
.sponsor{
    background: radial-gradient(circle at top, #0a0f1c, #050914);
    padding:120px 8%;
    position:relative;
}

.sponsor-inner{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:80px;
}

.sponsor-text{
    flex:1;
}

.sponsor-text h2{
    font-size:48px;
    margin-bottom:20px;
    color:#00f5ff;
}

.sponsor-text p{
    color:#b4b4b4;
    line-height:1.7;
    margin-bottom:25px;
}

.sponsor-benefits{
    list-style:none;
    margin-bottom:35px;
}

.sponsor-benefits li{
    margin-bottom:10px;
    color:#d1d5db;
}

.sponsor-benefits li::before{
    content:"▹";
    color:#00f5ff;
    margin-right:10px;
}

.sponsor-visual{
    flex:1;
    display:flex;
    gap:25px;
    justify-content:center;
}

.tier-card{
    width:180px;
    height:220px;
    border-radius:16px;
    padding:20px;
    background:linear-gradient(160deg,#111827,#020617);
    border:1px solid rgba(0,245,255,.3);
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    transition:.4s;
}

.tier-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 30px rgba(0,245,255,.2);
}

.tier-card h4{
    color:#00f5ff;
    margin-bottom:8px;
}

.tier-card p{
    font-size:13px;
    color:#9ca3af;
}
/* ===== TABLET ===== */

@media (max-width: 1024px){

    .sponsor-inner{
        flex-direction:column;
        gap:60px;
        text-align:center;
    }

    .sponsor-visual{
        justify-content:center;
        flex-wrap:wrap;
    }

}

/* ===== MOBILE ===== */

@media (max-width: 768px){

    .sponsor{
        padding:90px 24px;
    }

    .sponsor-text h2{
        font-size:34px;
    }

    .sponsor-text p{
        font-size:15px;
    }

    .sponsor-benefits{
        text-align:left;
        max-width:420px;
        margin:auto;
        margin-bottom:30px;
    }

    .sponsor-visual{
        gap:18px;
    }

    .tier-card{
        width:140px;
        height:180px;
        padding:16px;
    }

}

/* ===== SMALL PHONES ===== */

@media (max-width: 480px){

    .tier-card{
        width:100%;
        max-width:260px;
        height:auto;
        padding:20px;
    }

    .sponsor-visual{
        flex-direction:column;
        align-items:center;
    }

}

/* Team Section */
.team {
    padding: 100px 80px;
    text-align: center;
    background: rgba(168, 85, 247, 0.03);
}

.team h3 {
    color: #a855f7;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.team h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.team h2 .highlight {
    color: #a855f7;
}

.team > p {
    color: #b4b4b4;
    max-width: 800px;
    margin: 0 auto 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 15px;
    padding: 0;
    text-align: center;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card-image {
    width: 100%;
    height: 250px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 15px 15px 0 0;
    margin-bottom: 20px;
}

.team-card-content {
    padding: 0 20px 20px;
}

.team-card h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #ffffff;
}

.team-role {
    color: #a855f7;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: bold;
}

.team-card p {
    color: #b4b4b4;
    font-size: 14px;
    line-height: 1.5;
}

/* Gallery Section */
.gallery {
    padding: 100px 80px;
    text-align: center;
}

.gallery h3 {
    color: #a855f7;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.gallery h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.gallery h2 .highlight {
    color: #a855f7;
}

.gallery > p {
    color: #b4b4b4;
    max-width: 800px;
    margin: 0 auto 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 0, 21, 0.9), transparent);
    padding: 20px;
    color: white;
}

.gallery-item-overlay h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.gallery-item-overlay p {
    font-size: 14px;
    color: #b4b4b4;
}

/* Large gallery item */
.gallery-item-large {
    grid-column: span 2;
    height: 400px;
}

/* Footer */
footer {
    padding: 60px 80px 40px;
    text-align: center;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    margin-bottom: 20px;
}

.footer-links a {
    color: #b4b4b4;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
}
/* ===== FOOTER LOGO CAROUSEL ===== */

.logo-carousel{
    overflow:hidden;
    width:100%;
    margin-bottom:20px;
}

.logo-track{
    display:flex;
    align-items:center;
    gap:60px;
    width:max-content;
    animation:footerScroll 25s linear infinite;
}

.logo-track img{
    height:60px;
    width:auto;
    opacity:.9;
    flex-shrink:0;
    transition:.3s;
}

.logo-track img:hover{
    opacity:1;
    transform:scale(1.05);
}

@keyframes footerScroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* ===== MOBILE ===== */

@media(max-width:768px){

.logo-track{
    gap:35px;
}

.logo-track img{
    height:80px;
}

}

/* 
   GLOBAL RESPONSIVE LAYER
   */

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}


/* NAVIGATION */
@media (max-width: 1024px) {
    nav {
        flex-direction: column;
        padding: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 20px;
    }

    .nav-actions {
        margin-top: 15px;
    }
}

/* HERO SECTION */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-image {
        width: 100%;
        height: auto;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-buttons button {
        width: 80%;
        max-width: 300px;
    }
}

/* EVENT INFO GRID */
@media (max-width: 992px) {
    .event-info-grid {
        grid-template-columns: 1fr;
    }
}

/* CONFERENCE DETAILS + LOCATION */
@media (max-width: 992px) {
    .conference-details,
    .location,
    .agenda {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .details-image,
    .location-image,
    .agenda-image {
        width: 100%;
    }

    .details-content,
    .location-content,
    .agenda-content {
        width: 100%;
    }
}

/* TEAM GRID */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* GALLERY GRID */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-large {
        grid-column: auto;
    }
}

/* ARCHIVE GRID */
@media (max-width: 992px) {
    .archive-grid {
        grid-template-columns: 1fr;
    }
}

/* COUNTDOWN MOBILE */
@media (max-width: 600px) {
    .countdown {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
    }

    .countdown-item {
        width: 45%;
    }

    .countdown-number {
        font-size: 28px;
    }
}

/* TYPOGRAPHY SCALING */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* FOOTER */
@media (max-width: 768px) {
    footer {
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
.footer-logo {
    text-align: center;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 10px;
}

.logo-row img {
    height: 120px;
    width: auto;
    opacity: 0.9;
    transition: 0.3s;
}

.logo-row img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.powered {
    color: #a855f7;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    list-style: none;
    margin-top: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #aaa;
    font-size: 14px;
}

.footer-links a:hover {
    color: #a855f7;
}

.copyright {
    color: #666;
    font-size: 12px;
    margin-top: 20px;
    text-align: center;
}
/* CENTER EVENT INFORMATION SECTION */

.event-info {
    text-align: center;
}

.event-info p {
    max-width: 800px;
    margin: 0 auto;
}

.event-info-grid {
    text-align: center;
    margin-bottom: 60px;
}

.event-card {
    text-align: center;
}
.event-info h2 {
    margin-bottom: 25px;
}
.event-info {
    text-align: center;
    padding: 80px 8%;
}

.event-info p {
    margin-bottom: 20px;
}
.event-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    padding: 30px;
}
/* BURGER MENU */

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    margin-left: auto;
    align-self: center;
}

.burger div {
    width: 25px;
    height: 3px;
    background: #00f5ff;
    transition: 0.3s ease;
}

/* MOBILE NAVIGATION */

@media (max-width: 992px) {

    .nav-links.active {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .burger {
        display: flex;
    }

    nav {
        position: relative;
    }
}
/* FIXED NAVBAR */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}


/*spacing across the site */

p {
    line-height: 1.6;
    margin-bottom: 10px;
}
@media (max-width:768px){

.hero,
.event-info,
.welcome,
.conference-details,
.agenda,
.archive,
.location,
#villages .villages,
.sponsor,
.gallery,
footer{
    padding-left:32px;
    padding-right:32px;
}

}
