/* =========================
   RESET + BASE
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html, body{
    width:100%;
    overflow-x:hidden;
}

html{
    scroll-behavior:smooth;
}

/* =========================
   BODY OFFSET (IMPORTANT)
========================= */

body{
    font-family:"Segoe UI", Tahoma, sans-serif;
    background:#070b18;
    color:#f5f7ff;

    padding-top:140px;
}

/* =========================
   BACKGROUND (MATCH MAIN)
========================= */

.background{
    position:fixed;
    inset:0;
    z-index:-1;
    pointer-events:none;
}

.bg{
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at 20% 20%, rgba(0,140,255,.12), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(0,255,255,.08), transparent 45%),
    #070b18;
}

.bg-grid{
    position:absolute;
    inset:0;
    background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size:50px 50px;
}

.bg-glow{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
}

.glow-1{
    width:350px;
    height:350px;
    background:#00aaff;
    top:-120px;
    right:-120px;
    opacity:.18;
}

.glow-2{
    width:300px;
    height:300px;
    background:#00ffee;
    bottom:-120px;
    left:-120px;
    opacity:.12;
}

/* =========================
   HEADER (FIXED TO MATCH MAIN)
========================= */

header{
    position:fixed;
    top:0;
    left:0;
    right:0;

    width:min(1100px,92%);
    margin:20px auto;

    padding:22px;

    border-radius:18px;

    background:rgba(7,11,24,.65);
    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(12px);

    z-index: 1000;

    transition:.3s ease;
}

header.scrolled{
    backdrop-filter:blur(18px);
    background:rgba(7,11,24,.85);
    box-shadow:0 10px 30px rgba(0,0,0,.35);
    padding:12px 22px;
}

header h1{
    text-align:center;
    color:#00c8ff;
    margin-bottom:15px;
    transition:.3s;
}

header.scrolled h1{
    font-size:1.4rem;
}

/* =========================
   NAVBAR (SCROLLABLE)
========================= */

nav{
    display:flex;
    gap:12px;

    overflow-x:auto;
    overflow-y:hidden;

    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}

nav::-webkit-scrollbar{
    display:none;
}

nav a{
    flex:0 0 auto;
    white-space:nowrap;

    padding:10px 14px;

    border-radius:10px;

    text-decoration:none;
    color:#d9e3ff;

    background:rgba(255,255,255,.04);

    transition:.25s;
}

nav a:hover{
    background:rgba(0,200,255,.12);
}

nav a.active{
    background:#00c8ff;
    color:#07111f;
    font-weight:600;
}

/* =========================
   MAIN SECTION (MATCH MAIN STYLE BLOCK)
========================= */

.locations{
    width:min(1100px,92%);
    margin:40px auto;

    padding:45px 25px;

    text-align:center;

    border-radius:22px;

    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(15px);
}

.locations h2{
    color:#00d9ff;
    margin-bottom:10px;
}

.locations-intro{
    color:#cbd7f3;
    line-height:2;
    margin-bottom:30px;
}

/* =========================
   FEATURED LOCATION
========================= */

.featured-location{
    display:flex;
    justify-content:center;
    margin-bottom:40px;
}

/* =========================
   GRID
========================= */

.locations-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));
    gap:20px;
}

/* =========================
   CARDS (MATCH MAIN HOVER STYLE)
========================= */

.location-card{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);

    border-radius:16px;
    overflow:hidden;

    transition:.3s ease;
    text-align:center;
}

.location-card:hover{
    transform:translateY(-6px);
    box-shadow:
        0 0 0 1px rgba(0,200,255,.25),
        0 0 25px rgba(0,200,255,.18),
        0 20px 40px rgba(0,0,0,.35);
}

.location-card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.location-card h3{
    color:#00c8ff;
    margin:12px 0 6px;
}

.location-card p{
    color:#d5ddf5;
    padding:0 12px 16px;
    line-height:1.8;
}

/* =========================
   FOOTER (MATCH MAIN EXACTLY)
========================= */

footer{
    width:100%;
    margin-top:40px;

    padding:40px 20px;

    text-align:center;

    background:rgba(255,255,255,.04);
    border-top:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(15px);
}

footer p{
    margin:10px 0;
    color:#cbd7f3;
}

.ft-name{
    color:#00d9ff;
    font-weight:600;
}

/* =========================
   SOCIAL ICONS
========================= */

.imgs{
    display:flex;
    justify-content:center;
    gap:16px;
    margin:18px 0;
}

.imgs a{
    width:52px;
    height:52px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    transition:.3s;
}

.imgs a img{
    width:24px;
    height:24px;
}

.imgs a:hover{
    transform:translateY(-3px);
    box-shadow:0 0 18px rgba(0,200,255,.25);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:768px){

    header h1{
        font-size: 1.6rem;
    }

    .locations{
        padding:30px 18px;
    }

    .location-card img{
        height:160px;
    }
}

@media (max-width:480px){

    nav a{
        padding:8px 12px;
        font-size:.9rem;
    }

    .location-card img{
        height:140px;
    }

    .imgs a{
        width:48px;
        height:48px;
    }
}