/* Global */
body { 
    margin: 0; 
    font-family: 'Arial', sans-serif; 
    scroll-behavior: smooth; 
}

header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    background: #111; 
    color: #fff; 
    z-index: 1000; 
} 

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 20px; 
}

nav .logo { 
    font-size: 1.5em; 
    font-weight: bold; 
    color: #fff; 
    text-decoration: none; 
}

nav ul { 
    list-style: none; 
    display: flex; 
    margin: 0; 
    padding: 0; 
}

nav ul li { 
    margin-left: 20px; 
}

nav ul li a { 
    color: #fff; 
    text-decoration: none; 
    font-weight: 500; 
}

nav ul li a:hover { 
    color: #f0a500; 
}

.menu-toggle { 
    display: none; 
    cursor: pointer; 
    font-size: 1.5em; 
    color: #fff; 
}

/* Sections */
section { 
    padding: 100px 20px; 
    min-height: 100vh; 
}

.home { 
    background: #222 url('neeru-photo.JPG') center/cover no-repeat; 
    color: #fff; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}

.home h1 { 
    font-size: 3em; 
    margin: 0.5em 0; 
}

.home p { 
    font-size: 1.2em; 
}

.profile-pic {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 3px solid #ddd;
}

/* Common Section Styles */
.about, .media, .contact { 
    background: #f9f9f9; 
    color: #111; 
}

h2 { 
    text-align: center; 
    margin-bottom: 40px; 
}

.about p { 
    max-width: 800px; 
    margin: 0 auto 20px auto; 
    line-height: 1.6; 
}

/* Media Grid & Cards */
.media h3 {
    margin-top: 30px;
    margin-bottom: 16px;
    font-weight: 600;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.media-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-decoration: none;
    color: #111;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-card i {
    font-size: 28px;
    color: #cc0000; /* YouTube red */
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Social Icons */
.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 24px;
    justify-content: center;
}

.social-icons a {
    font-size: 32px;
    color: #888;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s;
}

.social-icons i {
    line-height: 1;
}

.social-icons a:hover {
    color: #c62828;
    transform: scale(1.1);
}

/* Contact Form */
.contact form { 
    max-width: 600px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
}

.contact input, .contact textarea { 
    margin-bottom: 15px; 
    padding: 10px; 
    font-size: 1em; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
}

.contact button { 
    padding: 10px; 
    font-size: 1em; 
    border: none; 
    background: #111; 
    color: #fff; 
    border-radius: 5px; 
    cursor: pointer; 
}

.contact button:hover { 
    background: #f0a500; 
    color: #111; 
}

#formStatus { 
    text-align: center; 
    margin-top: 15px; 
    font-weight: bold; 
}

/* Footer */
footer { 
    text-align: center; 
    padding: 20px; 
    background: #111; 
    color: #fff; 
}

/* Responsive Queries */
@media (max-width: 768px) {
    .menu-toggle { 
        display: block; 
    }

    nav ul { 
        flex-direction: column; 
        background: #111; 
        position: absolute; 
        top: 50px; 
        right: 0; 
        display: none; 
        width: 100%; /* Ensure mobile menu spans width */
        text-align: center;
    }

    nav ul.active { 
        display: flex; 
    }

    nav ul li { 
        margin: 15px 0; 
        margin-left: 0; /* Reset margin-left for mobile */
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }	
}