/* --- GLOBAL RESET & MAJESTIC THEME --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0a0a0a; /* Solid dark base */
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

/* THE MAJESTIC BACKGROUND (Global for all pages) */
.majestic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #667eea, #764ba2, #da3d20, #3d45aa);
    background-size: 400% 400%;
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
    animation: majesticGradient 15s ease infinite;
}

@keyframes majesticGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- THE NAVIGATION BAR (Fixed Overflow) --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%; /* Wider for more link space */
    max-width: 1200px;
    height: 65px;
    background: rgba(255, 255, 255, 0.05);
    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; /* Prevents logo from squishing */
}

.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; /* Prevents text from breaking into two lines */
}

.nav-links a:hover, .nav-links a.active {
    color: white;
}

.highlight-link {
    color: #e0c097 !important; /* Gold for Girls */
}

/* --- HERO SECTION --- */
.hero {
    padding: 140px 20px 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-btn {
    display: inline-block;
    background: white;
    color: black;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.photo-frame {
    margin-top: 50px;
    width: 100%;
    max-width: 800px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.photo-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- FRIENDS LIST STYLING --- */
.friends-section {
    padding: 120px 20px 60px;
    text-align: center;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.friend-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 20px;
    transition: 0.4s ease;
    text-align: center;
}

.friend-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.friend-name {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- MOBILE RESPONSIVE FIX --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2001;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s ease;
}

@media (max-width: 850px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 80%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
    }

    /* This makes the menu slide in */
    .nav-links.active {
        right: 0;
    }

    /* Hamburger to X Animation */
    .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-links a { font-size: 20px; }
}

/* Footer Note Styling */
.footer-note {
    font-size: 0.9rem !important;
    max-width: 700px;
    margin: 10px auto 25px !important;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5) !important;
}
/* --- MAJESTIC FOOTER STYLES --- */
.majestic-footer {
    position: relative;
    padding: 60px 20px 30px;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.9), transparent);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 100px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.credit p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.author-name {
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
    background: linear-gradient(to right, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* SOCIAL ICONS */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
}

/* ICON GLOW COLORS */
.yt:hover { color: #ff0000; border-color: #ff0000; box-shadow: 0 0 20px rgba(255, 0, 0, 0.3); }
.fb:hover { color: #1877f2; border-color: #1877f2; box-shadow: 0 0 20px rgba(24, 119, 242, 0.3); }
.ig:hover { color: #e4405f; border-color: #e4405f; box-shadow: 0 0 20px rgba(228, 64, 95, 0.3); }
.mail:hover { color: #4facfe; border-color: #4facfe; box-shadow: 0 0 20px rgba(79, 172, 254, 0.3); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* MOBILE FIX */
@media (max-width: 600px) {
    .credit p { font-size: 1rem; }
    .social-links { gap: 15px; }
    .social-icon { width: 45px; height: 45px; font-size: 18px; }
}