/* --- GLOBAL MAJESTIC THEME --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #050505; /* Deep black */
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* THE GLOWING BACKGROUND LAYER */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #050505 100%);
    z-index: -1;
}

/* --- MAJESTIC FLOATING NAVBAR --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1100px;
    height: 65px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    z-index: 2000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 25px;
}

.logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    color: white;
    flex-shrink: 0;
}

.logo span { color: #da3d20; }

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.highlight-link {
    color: #e0c097 !important; /* Gold for Girls link */
}

/* --- MOBILE HAMBURGER --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

/* --- TRIP & FRIENDS GRID LAYOUT --- */
.trip-wrap, .friends-section {
    padding: 140px 20px 60px; /* Space for floating navbar */
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trip-container, .friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* --- MAJESTIC CARDS (Shared Style) --- */
.trip-card, .friend-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.trip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.trip-card:hover, .friend-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* --- GLOWING BUTTON --- */
.load-more-btn {
    margin: 40px auto;
    padding: 15px 40px;
    background: white;
    color: black;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.load-more-btn:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 850px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: 0.5s;
    }

    .nav-links.active { right: 0; }

    .nav-links a { font-size: 20px; }

    /* Show 2 images per row on phone for Trip page */
    .trip-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* UTILS */
.hidden { display: none; }
/* Only happens on Mobile */
@media (max-width: 850px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen to the right */
        width: 80%;
        height: 100vh;
        background: #0a0a0a;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.5s ease-in-out;
        z-index: 1000;
    }

    /* THIS MAKES IT OPEN */
    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1100;
    }

    .hamburger span {
        width: 25px;
        height: 2px;
        background: white;
        transition: 0.3s;
    }

    /* Animation: Turns 3 lines into an X */
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}