/* Custom Styles */

/* General Styles */
body {
    font-family: 'Arial', sans-serif;
}

/* Logo Style */
.navbar-brand .logo {
    height: 50px; /* Adjust size as needed */
}

/* Transparent Background for Navbar */
.navbar {
    background-color: transparent; /* Transparent background */
    box-shadow: none; /* Remove any box shadow */
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 1000; /* Make sure it's always on top */
    transition: background-color 0.6s ease-in-out; /* Smooth transition when scrolling */
}

.navbar.hidden {
    top: -100px; /* Move the navbar off-screen */
}

.navbar.visible {
    top: 0; /* Move it back to its original position */
}

/* Change background on scroll (optional) */
.navbar.scrolled {
    background-color: rgba(119, 119, 119, 0.5); /* Optional: Add background when scrolled */
}

/* Navbar link styling */
.nav-link {
    color: white; /* Default text color to white */
    position: relative;
    padding: 10px 15px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease; /* Smooth transition for text color change */
}

/* Remove any default underline */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: transparent; /* Initially no underline */
    transition: width 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; /* Add transitions */
}

/* Hover state: Glow effect for underline and text color change */
.nav-link:hover {
    color: #7328ff; /* Change text color on hover */
}

.nav-link:hover::after {
    width: 100%; /* Full width underline */
    background-color: white; /* White underline */
    box-shadow: 0 0 40px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 255, 255, 0.8); /* Stronger glow effect */
}

/* Active state should behave similarly */
.nav-link.active::after {
    width: 100%;
    background-color: white;
    box-shadow: 0 0 40px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 255, 255, 0.8); /* Stronger glow effect */
}

/* Optional: Change text color on hover */
.nav-link:hover {
    color: #a371ff; /* Keep the text white */
}

#starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allow clicks to go through */
    overflow: hidden;
    z-index: 1; /* Ensure it's above other content */
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, #ff6eb7, #7328ff, #fff4b4, #d8b4ff); /* Vibrant gradient */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Added for positioning stars */
    overflow: hidden; /* To ensure stars don't overflow outside */
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 1.5s infinite;
}

/* Star Styles */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}



.hero-section .container {
    max-width: 700px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Transparent Button with White Frame (Hero Section) */
.hero-section .btn-primary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: white;
    color: #7328ff; /* Radiant pink text on hover */
}

/* Button when clicked (override blue outline) */
.hero-section .btn-primary.clicked,
.hero-section .btn-primary:focus,
.hero-section .btn-primary:active {
    border-color: #7328ff !important; /* Ensure the border turns purplish-pink */
    color: #7328ff !important; /* Ensure text also turns purplish-pink */
    outline: none; /* Remove the default focus outline */
    box-shadow: none; /* Remove focus box-shadow (browser default) */
}

.card-img-frame {
    overflow: hidden; /* Hide overflow */
    position: relative; /* Position context for absolute children */
}

.card-img-top {
    transition: transform 0.3s ease; /* Smooth transition for zoom effect */
}

.card-img-top:hover {
    transform: scale(1.2); /* Zoom in by 20% */
}

.linkedin-logo img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.linkedin-logo:hover img {
    transform: scale(1.1); /* Slightly enlarge the logo */
    filter: drop-shadow(0 0 1px #7328ff) /* Adjust blur radius for a stronger glow */
            drop-shadow(0 0 5px #d8b4ff); /* Adjust for a larger outer glow */
}
/* Other Buttons with Transparent Background and Radiant Gradient Frame */
.portfolio-section .btn-primary,
.contact-section .btn-primary {
    background-color: transparent;
    border: 2px solid;
    border-image-slice: 1;
    border-width: 2px;
    border-image-source: linear-gradient(135deg, #ff6eb7, #7328ff, #fff4b4, #d8b4ff); /* Radiant gradient border */
    color: #7328ff; /* Default to radiant pink */
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.portfolio-section .btn-primary:hover,
.contact-section .btn-primary:hover {
    background-color: #d8b4ff; /* Radiant pink background on hover */
    color: white;
}


/* About Section */
.about-section .about-img {
    width: 50%; /* Ensure the image takes up the full width of its container */
    max-width: 100%; /* Prevent the image from exceeding the container's width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 15px; /* Optional: Add rounded corners for a softer look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow for depth */
}


/* Portfolio Section */
.portfolio-section {
    min-height: 70vh; /* The section will be at least 70% of the viewport height */
    padding: 50px 50px;
}

.portfolio-section .card {
    height: 100%; /* Make all cards the same height */
}

.portfolio-section .card img {
    height: 450px;
    object-fit: cover;
}


/* Contact Section */

.contact-section {
    padding: 100px 50px;
}

.contact-section .form-control {
    border-radius: 0;
}

.contact-card {
    background: linear-gradient(135deg, #ffadd6, #b48bff, #fff9d4, #ead7ff);
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 100px;
    color: white;
    position: relative;
    z-index: 1;
}

.contact-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
    filter: blur(15px);
    margin: -20px;
}

.contact-input {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
    font-size: 16px;
}

.contact-input:focus {
    border-color: #ff6eb7;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 127, 0.25);
}

.contact-btn {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    border-radius: 50px;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.contact-btn:hover {
    background-color: white;
    color: #ff6eb7;
    border-color: #ff6eb7;
}


/* Footer */
footer {
    background-color: #343a40;
    color: #fff;
}

footer p {
    margin: 0 50px;
}
