/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Cosmic Dark Theme */
body.cosmic {
    background: radial-gradient(1200px 600px at 20% 10%, rgba(102,126,234,0.08), rgba(0,0,0,0)) ,
                radial-gradient(900px 500px at 80% 80%, rgba(118,75,162,0.08), rgba(0,0,0,0)),
                #0a0f1f;
    color: #e9edff;
    /* Override palette for dark theme */
    --text-dark: #e9edff;
    --text-light: rgba(233, 237, 255, 0.82);
    --bg-light: rgba(255, 255, 255, 0.06);
    --white: #e9edff;
}

.cosmos {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#starfield-site {
    width: 100%;
    height: 100%;
    display: block;
}

.constellations {
    position: absolute;
    inset: 0;
    opacity: 0.35;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 31, 0.75);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 15, 31, 0.9);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.logo img {
    height: 36px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #e6ecff;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #0d1330 0%, #11183b 50%, #091022 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #e6ecff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(600px 300px at 25% 40%, rgba(102, 126, 234, 0.15), transparent 60%),
        radial-gradient(800px 400px at 75% 70%, rgba(118, 75, 162, 0.12), transparent 60%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-planets {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-planets .planet.big {
    position: absolute;
    right: -120px;
    bottom: -140px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #9fd3ff, #5f6fb3 45%, #2b2d55 70%, #15173a 100%);
    box-shadow: inset -30px -40px 120px rgba(0,0,0,0.45), 0 40px 140px rgba(0, 210, 255, 0.15);
    animation: drift 30s ease-in-out infinite;
    opacity: 0.85;
}

.hero-planets .planet.small {
    position: absolute;
    left: -60px;
    top: 18%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #ffe29f, #ffa99f 60%, #7a2e4d 100%);
    box-shadow: 0 20px 80px rgba(255, 170, 160, 0.2);
    animation: float 16s ease-in-out infinite;
    opacity: 0.9;
}

.hero-planets .ring {
    position: absolute;
    right: -40px;
    bottom: -10px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    transform: rotate(-18deg);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.05) inset, 0 0 60px rgba(102, 126, 234, 0.15) inset;
    background: conic-gradient(from 0deg, rgba(255,255,255,0) 0 38%, rgba(255,255,255,0.15) 52%, rgba(255,255,255,0) 68%);
    animation: ringGlow 12s ease-in-out infinite;
    opacity: 0.55;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(120, 140, 255, 0.35);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #9aa7ff, #7d5bf0);
    color: #0b1023;
    box-shadow: 0 8px 22px rgba(120, 140, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #e6ecff;
    border: 2px solid rgba(255,255,255,0.7);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* About Section */
.about {
    background: #0e142d;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(230, 236, 255, 0.7);
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(230, 236, 255, 0.85);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Discography Section */
.discography {
    background: #0b1026;
}

/* Ensure readable black text on album cards in the discography */
.discography .album-card,
.discography .album-details,
.discography .album-details h3,
.discography .album-year,
.discography .album-description,
.discography .stream-link {
    color: #000 !important;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.album-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}

.albums-grid a {
    display: block;
    transition: var(--transition);
}

.albums-grid a:hover .album-card {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.album-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.album-cover {
    height: 300px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ensure full cover fits inside the square without being cropped */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* neutral background so 'contain' doesn't reveal harsh empty space */
    background-color: #f7fafc;
}

.album-play-btn {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.8);
}

.album-card:hover .album-play-btn {
    opacity: 1;
    transform: scale(1);
}

.album-info-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.album-info-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.album-info-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

.album-details {
    padding: 30px;
}

.album-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.album-year {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.album-description {
    /* make the descriptive text darker for better readability */
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.95;
}

.album-links {
    display: flex;
    gap: 15px;
}

.stream-link {
    padding: 8px 20px;
    background: var(--bg-light);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.stream-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Events Section */
.events {
    background: #0e142d;
}

.events-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255,255,255,0.03);
    border-radius: 15px;
    transition: var(--transition);
}

.event-card:hover {
    background: rgba(255,255,255,0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transform: translateX(10px);
}

.event-date {
    min-width: 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    padding: 15px;
    color: white;
    display: flex;
    flex-direction: column;
}

.date-day {
    font-size: 2rem;
    font-weight: bold;
}

.date-month {
    font-size: 0.9rem;
    opacity: 0.9;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.venue {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.event-description {
    color: var(--text-light);
    margin-bottom: 20px;
}

.event-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.event-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Gallery Section */
.gallery {
    background: #0b1026;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    /* center contained images */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Lightbox styles */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}
.lightbox-overlay.active {
    display: flex;
}
.lightbox-overlay img {
    max-width: 92%;
    max-height: 92%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    color: white;
    font-size: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contact Section */
.contact {
    background: #0e142d;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
}

.contact-item svg {
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: #080c1b;
    color: #e6ecff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section p,
.footer-section ul {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        min-width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .date-day {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .albums-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Biography Timeline */
.bio-timeline {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.bio-item {
    display: grid;
    grid-template-columns: 100px 180px 1fr;
    align-items: center;
    gap: 20px;
    background: var(--bg-light);
    border-radius: 16px;
    padding: 20px;
}

.bio-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

    .bio-media {
    width: 180px;
    height: 120px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
}

.bio-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}.bio-content h4 {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.bio-content p {
    color: var(--text-light);
}

@media (max-width: 968px) {
    .bio-item {
        grid-template-columns: 80px 140px 1fr;
    }
    .bio-media {
        width: 140px;
        height: 100px;
    }
}

@media (max-width: 640px) {
    .bio-item {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .bio-year {
        margin-bottom: 8px;
    }
    .bio-media {
        width: 100%;
        height: 160px;
    }
}

