/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&family=Great+Vibes&display=swap');

/* Body - Allow Scrolling */
body {
    font-family: 'Cormorant Garamond', serif;
    color: white;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    margin: 0;
    padding: 0;
    background-size: cover;
    transition: background 1s ease-in-out;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Twinkling Stars */
.stars {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: url('stars.gif') repeat;
    animation: twinkle 100s linear infinite;
}

@keyframes twinkle {
    from { transform: translateY(0px); }
    to { transform: translateY(-500px); }
}

/* Starry background animation */
body::before {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background: url('stars.gif') repeat;
    animation: twinkle 10s infinite alternate;
    z-index: -1;
    opacity: 0.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

/* Navbar Styles */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2); /* Transparent background */
    backdrop-filter: blur(8px); /* Adds a blurred effect */
    z-index: 1000;
    padding: 20px 0; /* Increases navbar height */
    font-family: 'Poppins', sans-serif; /* New font */
}

/* Navbar Links */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center!important;
    align-items: center!important;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    display: block;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Navbar Hover Effect */
nav ul li a:hover {
    background: rgba(255, 255, 255, 0.226);
    border-radius: 8px;
}

/* Sections */
/* Center content-section in the middle of the screen */
/* Ensure Content Sections Stack Naturally */
.content-section {
    background: rgba(0, 0, 0, 0.4);
    padding: 50px;
    max-width: 800px;
    width: 90%;
    margin: 50px auto;
    text-align: center;
}

.content-section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Circular Image with White Border */
.profile-container {
    text-align: center;
    margin-top: 20px;
}

.circular-image {
    width: 500; /* Adjust size */
    height: 500px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.circular-image:hover {
    transform: scale(1.1);
}

/* Ensure Fullscreen Image Appears Over Everything */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
    z-index: 9999; /* Ensures it's above everything */
    cursor: pointer;
}

/* Fullscreen Image */
.image-modal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.5) translateY(100px);
    transition: transform 0.5s ease-in-out;
}

/* Active State - Show Image */
.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal.active img {
    transform: scale(1) translateY(0);
}

.container {
    display: flex;
    flex-direction: column; /* Stack cards vertically */
    justify-content: center;
    align-items: center;
}

.content {
    margin-inline: max(0px, ((100% - 260px) / 2));
    font: 90%/1.4 system-ui;
    align-items: center;
}

.card {
    position: sticky;
    top: 0;
    background: white;
    padding: 1.5rem;
    box-shadow: 0 -0.5rem 1rem rgba(0 0 0 / 0.15);
    border-radius: 4px;
}

.card:hover {
    transform: scale(1.05);
}

/* Romantic Headings */
h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 60px;
    text-align: center;
    margin-bottom: 10px;
    color: #6a0dad;
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: #6a0dad;
}

h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 25px;
    color: #6a0dad;
}

/* Footer Styling - Modern and Elegant */
footer {
    background: #320b5d; /* Darker, richer purple for better contrast */
    color: white;
    text-align: center;
    padding: 30px; /* Increase padding for better spacing */
    font-size: 14px;
    margin-top: auto;
    opacity: 1; /* Ensure full opacity */
}

/* Footer Subtext - Make Fully Visible */
.footer-subtext {
    font-size: 16px;
    max-width: 600px;
    margin: 10px auto;
    opacity: 1; /* Ensure full visibility */
}

/* Footer Buttons - Higher Contrast */
.footer-buttons a {
    background: #f8f9fa;
    color: #25043c; /* Darker text for contrast */
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 25px;
    margin: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.footer-buttons a:hover {
    background: #e6e6e6;
}

/* Footer Logo */
.footer-logo img {
    height: 50px; /* Increase logo size */
    filter: brightness(1.2); /* Brighten the logo */
}

/* Floating Hearts - Darker Purple */
@keyframes floatingHearts {
    0% { transform: translateY(0px); opacity: 1; }
    100% { transform: translateY(-500px); opacity: 0; }
}

.heart {
    position: fixed;
    bottom: 0;
    width: 20px;
    height: 20px;
    background: #6a0dad; /* Darker purple heart */
    clip-path: polygon(
        50% 15%, 65% 0%, 80% 5%, 90% 15%, /* Right top curve */
        100% 30%, 95% 50%, 85% 65%, 75% 75%, /* Right curve */
        50% 100%, /* Bottom point */
        25% 75%, 15% 65%, 5% 50%, 0% 30%, /* Left curve */
        10% 15%, 20% 5%, 35% 0%  /* Left top curve */
    );
    opacity: 0.8;
    animation: floatingHearts 5s infinite linear;
}

