:root {
    --primary-color: #e91e63;
    /* Pink */
    --secondary-color: #c2185b;
    /* Darker Pink */
    --bg-color: #fff0f5;
    /* Lavender Blush */
    --text-color: #4a4a4a;
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
}

.title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1.5s ease-out;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 300;
    animation: fadeInUp 1.5s ease-out 0.5s both;
}

/* Profile Picture in Header */
.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
    margin-bottom: 1.5rem;
    animation: zoomIn 1.5s ease-out;
}

/* Filter Chips */
.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 10px 20px;
    border-radius: 25px;
    background-color: var(--card-bg);
    color: var(--secondary-color);
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filter-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.filter-chip.active {
    background-color: var(--primary-color);
    color: white;
}

/* Gallery Section */
.gallery-container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    z-index: 10;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: var(--card-bg);
    aspect-ratio: 3/4;
    /* Standard portrait ratio mainly */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: var(--secondary-color);
    z-index: 10;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Floating Hearts Background */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.heart {
    position: absolute;
    bottom: -100px;
    /* Start below screen */
    background-color: rgba(233, 30, 99, 0.5);
    display: inline-block;
    height: 30px;
    width: 30px;
    margin: 0 10px;
    /* Use CSS variable for scale, default to 1 */
    transform: rotate(-45deg) scale(var(--heart-scale, 1));
    /* Animate opacity and translation */
    animation: float 15s linear forwards;
}

.heart::before,
.heart::after {
    content: "";
    background-color: inherit;
    border-radius: 50%;
    height: 30px;
    position: absolute;
    width: 30px;
}

.heart::before {
    top: -15px;
    left: 0;
}

.heart::after {
    left: 15px;
    top: 0;
}

@keyframes float {
    0% {
        opacity: 0;
        translate: 0 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        translate: 0 -120vh;
        /* Move up by 120% of viewport height */
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
}