/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #0D0D2B;
    color: #FFF;
}

/* Updated Navbar */
header {
    position: fixed;
    top: 10px; /* Moves navbar slightly down */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent */
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0px 0px 15px rgba(255, 0, 127, 0.6);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

/* Logo */
.logo {
    font-size: 1.8em;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    color: #FF007F;
    text-shadow: 0px 0px 8px rgba(255, 0, 127, 0.8);
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.1);
}

/* Navbar Links */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #FF007F;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease-in-out;
}

/* Glowing Hover Animation */
nav a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: #FF007F;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.8);
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav a:hover::after {
    transform: scaleX(1);
}

/* Floating Animation */
@keyframes floatNav {
    0% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(5px); }
    100% { transform: translateX(-50%) translateY(0px); }
}

header {
    animation: floatNav 3s infinite ease-in-out;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px;
        width: 95%;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Hero Section */
.hero {
    height: 85vh; /* Reduced height */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    text-align: center;
    color: white;
    background: radial-gradient(circle at center, #12002b 0%, #0a001d 100%);
    overflow: hidden;
}

/* Background Effect: Animated Grid */
.hero::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: url('https://www.transparenttextures.com/patterns/asfalt-light.png');
    opacity: 0.15;
    animation: rotateBackground 30s linear infinite;
}

/* Rotate Effect for Background */
@keyframes rotateBackground {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Background: Floating Neon Shapes */
.hero::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.1) 0%, rgba(255, 0, 127, 0) 70%);
    z-index: 0;
    animation: floatingNeon 5s infinite alternate ease-in-out;
}

@keyframes floatingNeon {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(1.1); opacity: 1; }
}

/* Hero Section */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    text-align: left;
    color: white;
    background: radial-gradient(circle at center, #12002b 0%, #0a001d 100%);
    overflow: hidden;
}

/* Hero Section */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
    background: radial-gradient(circle at center, #12002b 0%, #0a001d 100%);
    overflow: hidden;
    padding: 0 10%;
}

/* Hero Content - Centered */
.hero-content {
    max-width: 50%;
    z-index: 2;
}

/* Hero Image - Right Side - Now with Glow & Blending */
.hero-image-container {
    position: absolute;
    right: 5%;
    bottom: 5%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05); /* Glass Morphism */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0px 0px 20px rgba(255, 0, 127, 0.6);
    transition: all 0.3s ease-in-out;
}

/* The Image itself */
.hero-image {
    width: 350px;
    height: auto;
    border-radius: 15px;
    display: block;
    animation: fadeIn 1.5s ease-in-out, floatImage 4s infinite alternate ease-in-out;
}

/* Hover Effect */
.hero-image:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 30px rgba(255, 0, 127, 1);
}

/* Floating Animation */
@keyframes floatImage {
    from { transform: translateY(0px); }
    to { transform: translateY(15px); }
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    width: 90px;
    height: 90px;
    background: rgba(255, 0, 127, 0.2);
    border: 2px solid rgba(255, 0, 127, 0.7);
    box-shadow: 0px 0px 20px rgba(255, 0, 127, 0.5);
    animation: floatShape 6s infinite alternate ease-in-out;
    z-index: 0;
}

/* More Shapes Around the Text */
.shape1 { top: 10%; left: 15%; border-radius: 50%; animation-duration: 10s; }
.shape2 { top: 35%; left: 5%; transform: rotate(45deg); animation-duration: 12s; }
.shape3 { bottom: 15%; left: 12%; width: 70px; height: 70px; animation-duration: 9s; }
.shape4 { top: 25%; right: 8%; width: 60px; height: 60px; animation-duration: 8s; }
.shape5 { bottom: 8%; right: 5%; width: 100px; height: 100px; animation-duration: 11s; }

/* Floating & Rotating Animation */
@keyframes floatShape {
    from { transform: translateY(0px) rotate(0deg); }
    to { transform: translateY(20px) rotate(360deg); }
}

/* Fade-In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* My Work Section */
.my-work {
    text-align: center;
    padding: 80px 10%;
    color: white;
    background: linear-gradient(180deg, #0a001d, #12002b);
    position: relative;
}

/* Section Titles */
.section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0px 0px 20px rgba(255, 0, 127, 0.8);
    animation: fadeInUp 1.5s ease-in-out;
}

.section-subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

/* Work Container */
.work-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* Work Cards */
.work-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    position: relative;
    box-shadow: 0px 0px 15px var(--clr);
    animation: fadeIn 1.5s ease-in-out;
}

/* Card Hover Effect */
.work-card:hover {
    transform: scale(1.05) rotateY(10deg);
    box-shadow: 0px 0px 25px var(--clr);
}

/* Work Card Images */
.work-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Tilt Effect */
.work-card:hover img {
    transform: scale(1.1);
}

/* Work Card Titles */
.work-card h3 {
    margin: 15px 0 10px;
    font-size: 1.5em;
    color: var(--clr);
}

/* Work Card Descriptions */
.work-card p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

/* Fade-In Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .work-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .section-title {
        font-size: 2em;
    }

    .section-subtitle {
        font-size: 1em;
    }

    .work-card img {
        height: 140px;
    }
}
/* 🚀 View More Button */
.view-more-container {
    text-align: center;
    margin-top: 30px;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, #ff0077, #ff4d94);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 0px 15px rgba(255, 0, 127, 0.8);
}

.view-more-btn:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 25px rgba(255, 0, 127, 1);
}
/* ABOUT SECTION */
.about-me {
    text-align: center; /* Centers the entire section */
    padding: 100px 15%; /* Adds more space on the left & right */
    color: white;
    background: linear-gradient(180deg, #0a001d, #12002b);
    position: relative;
}

/* ABOUT TITLE */
.about-me .section-title {
    font-size: 2.8em;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0px 0px 20px rgba(255, 0, 127, 0.8);
    margin-bottom: 20px;
}

/* ABOUT PARAGRAPH */
.about-me p {
    max-width: 80%; /* Restricts text width */
    text-align: justify; /* Aligns text for better reading */
    margin: 0 auto; /* Centers the text block */
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    padding-left: 10px; /* Adds a slight left padding */
}

/* OPTIONAL: Floating Shapes for Visual Appeal */
.about-me::after {
    content: "";
    position: absolute;
    right: 10%;
    top: 10%;
    width: 100px;
    height: 100px;
    background: rgba(255, 0, 127, 0.2);
    border: 2px solid rgba(255, 0, 127, 0.7);
    box-shadow: 0px 0px 20px rgba(255, 0, 127, 0.5);
    animation: floatShape 6s infinite alternate ease-in-out;
    z-index: 0;
}

/* Floating Shape Animation */
@keyframes floatShape {
    from { transform: translateY(0px) rotate(0deg); }
    to { transform: translateY(20px) rotate(360deg); }
}


/* 🌌 Fix for Contact Section Starry Background */
.contact {
    text-align: center;
    padding: 100px 12%;
    background: linear-gradient(135deg, #12002b, #0a001d);
    color: white;
    border-radius: 15px;
    box-shadow: 0px 0px 50px rgba(255, 0, 127, 0.5);
    position: relative;
    overflow: hidden;
}

/* 🌟 Starry Background */
.starry-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* 🌠 Stars */
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle 3s infinite alternate ease-in-out;
}

/* ✨ Twinkle Animation */
@keyframes twinkle {
    from { opacity: 0.2; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.2); }
}


/* 🚀 Contact Me Section */
.contact {
    text-align: center;
    padding: 100px 12%;
    background: linear-gradient(135deg, #12002b, #0a001d);
    color: white;
    border-radius: 15px;
    box-shadow: 0px 0px 50px rgba(255, 0, 127, 0.5);
    position: relative;
    overflow: hidden;
}

/* 🔥 Floating Glowing Background */
.contact::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.15), rgba(0, 0, 0, 0));
    top: -40%;
    left: -20%;
    animation: moveGlow 8s infinite alternate ease-in-out;
}

@keyframes moveGlow {
    from { transform: translateY(0px); }
    to { transform: translateY(30px); }
}

/* ✨ Contact Form - Slightly Smaller */
.contact-form {
    max-width: 500px; /* Reduced width */
    margin: auto;
    padding: 20px; /* Reduced padding */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 0px 20px rgba(255, 0, 127, 0.5);
}

/* 📭 Input Fields - Adjusted for Compact Look */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px; /* Slightly reduced padding */
    background: transparent;
    border: none;
    border-bottom: 2px solid #ff0077;
    outline: none;
    font-size: 1em; /* Reduced font size */
    color: white;
    margin-bottom: 12px;
    transition: all 0.3s ease-in-out;
}

/* 💡 Floating Label Effect */
.contact-form input:focus, .contact-form textarea:focus {
    border-bottom: 2px solid white;
}

/* 🌟 Starry Background */
.starry-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* 🌠 Stars */
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle 3s infinite alternate ease-in-out;
}

/* ✨ Twinkle Animation */
@keyframes twinkle {
    from { opacity: 0.2; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.2); }
}

/* 💡 Floating Glow */
.contact::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.15), rgba(0, 0, 0, 0));
    top: -40%;
    left: -20%;
    animation: moveGlow 8s infinite alternate ease-in-out;
}

/* 🚀 Send Button - Slightly Smaller */
.glow-btn {
    padding: 10px 20px; /* Reduced padding */
    font-size: 1.1em; /* Slightly smaller font size */
    background: linear-gradient(90deg, #ff0077, #ff4d94);
    color: white;
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.glow-btn:hover {
    background: linear-gradient(90deg, #ff4d94, #ff0077);
    transform: scale(1.05);
    box-shadow: 0px 0px 15px rgba(255, 0, 127, 0.8);
}


/* 🌌 Footer Section */
.footer {
    position: relative;
    background: linear-gradient(135deg, #12002b, #0a001d);
    color: white;
    text-align: center;
    padding: 80px 12%;
    overflow: hidden;
    border-top: 2px solid rgba(255, 0, 127, 0.5);
    box-shadow: 0px -10px 30px rgba(255, 0, 127, 0.3);
}

/* 🌟 Footer Container */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
    text-align: left;
}

/* 🔥 Footer Titles */
.footer-title {
    font-size: 1.8em;
    font-weight: bold;
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.8);
}

/* 📌 Quick Links */
.footer-center ul {
    list-style: none;
    padding: 0;
}

.footer-center ul li {
    margin-bottom: 10px;
}

.footer-center ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.footer-center ul li a:hover {
    color: #ff0077;
    text-shadow: 0px 0px 10px rgba(255, 0, 127, 0.7);
}

/* 🌀 Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.social-icons a {
    font-size: 2em;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #ff0077;
}

/* 🌍 Footer Bottom */
.footer-bottom {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
/* 🎨 My Work Section */
.my-work {
    padding: 80px 10%;
    background: linear-gradient(135deg, #12002b, #0a001d);
    color: white;
    text-align: center;
}

/* 🔥 Section Title */
.section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.8);
    margin-bottom: 10px;
}

/* 📜 Section Description */
.section-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

/* 📁 Work Categories */
.work-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-content: center;
}

/* 🏷️ Category Boxes */
.work-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(255, 0, 127, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* 🏷️ Category Titles */
.work-item h3 {
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    color: #ff0077;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.7);
}

/* 🖼️ Work Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    justify-content: center;
}

/* 📸 Image Styles - Equal Sizes for All */
.gallery img {
    width: 100%;
    height: 220px;  /* 🔥 Making All Images Same Height */
    object-fit: contain;  /* 🔥 Prevents Image Cropping */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* 🔥 Special Fixes for Tall Items (Posters, Album Covers, Magazines) */
.gallery img.poster,
.gallery img.album,
.gallery img.magazine {
    height: 300px;  /* 🔥 Adjusting for Taller Images */
    object-fit: cover;
}

/* 🔥 Image Hover Effect */
.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px rgba(255, 0, 127, 0.8);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: auto;
}

.timeline-item {
    margin: 30px 0;
    position: relative;
}

.timeline-content {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0px 0px 20px rgba(255, 0, 127, 0.5);
}

.timeline-content.left {
    text-align: left;
}

.timeline-content.right {
    text-align: right;
}

/* ✨ Starry Contact Section */
.contact {
    text-align: center;
    padding: 100px 12%;
    background: linear-gradient(135deg, #12002b, #0a001d);
    position: relative;
}

.glow-btn {
    padding: 12px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, #ff0077, #ff4d94);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

/* 🌌 Hero Section */
.about-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column; /* Center content */
    background: radial-gradient(circle, #12002b 0%, #0a001d 100%);
    overflow: hidden;
    position: relative;
    padding-top: 100px; /* Pushes text down */
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    width: 90px;
    height: 90px;
    background: rgba(255, 0, 127, 0.2);
    border: 2px solid rgba(255, 0, 127, 0.7);
    box-shadow: 0px 0px 20px rgba(255, 0, 127, 0.5);
    animation: floatShape 6s infinite alternate ease-in-out;
}

/* More Shapes on the Right */
.shape4 { top: 15%; right: 10%; width: 70px; height: 70px; }
.shape5 { bottom: 20%; right: 5%; width: 80px; height: 80px; }

/* ✨ About Introduction */
.about-intro {
    font-size: 1.2em;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Glowing Hero Text */
.hero-content h1 {
    font-size: 3em;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0px 0px 20px rgba(255, 0, 127, 0.8);
    margin-bottom: 10px;
}

/* ✨ Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: auto;
}

.timeline-item {
    margin: 30px 0;
    position: relative;
}

.timeline-content {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0px 0px 20px rgba(255, 0, 127, 0.5);
}

/* 🌌 Contact Section */
.contact {
    text-align: center;
    padding: 100px 12%;
    background: linear-gradient(135deg, #12002b, #0a001d);
    position: relative;
}

.glow-btn {
    padding: 12px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, #ff0077, #ff4d94);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}
