/* Colorful Playful Portfolio - Shayan & Afraa */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #fef9f3 0%, #f0f9ff 100%);
    background-attachment: fixed;
    color: #2d3436;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Fredoka', sans-serif;
}

/* Navigation */
nav {
    padding: 30px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

nav ul {
    list-style: none;
    display: inline-flex;
    gap: 10px;
}

nav a {
    text-decoration: none;
    color: #2d3436;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

nav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

nav a.active {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa07a 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Hero */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 50%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 20px;
    color: #636e72;
}

/* Section Title */
.section-title {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 50px;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.card {
    background: #ffffff;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.2);
    border-color: #ffb3c1;
}

.card small {
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    color: #ff6b9d;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.card h3 {
    font-size: 24px;
    color: #2d3436;
    margin-bottom: 12px;
    font-weight: 700;
}

.card p {
    color: #636e72;
    font-size: 15px;
    line-height: 1.7;
}

/* Album Card */
.album-card {
    text-decoration: none;
    color: inherit;
    display: block;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.album-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.15);
    border-left-color: #ff6b9d;
}

.album-card h3 {
    background: linear-gradient(135deg, #ff6b9d 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

.photo-item {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.photo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.2);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.6s ease;
}

.photo-item:hover img {
    filter: saturate(1.2) brightness(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    cursor: pointer;
    background: #ffffff;
    border: none;
    color: #2d3436;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #ff6b9d;
    color: #ffffff;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    cursor: pointer;
    background: #ffffff;
    border: none;
    color: #2d3436;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: #ff6b9d;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 15px;
    margin: 50px 0;
}

.pagination button {
    padding: 14px 32px;
    border: 2px solid #ff6b9d;
    background: #ffffff;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    color: #ff6b9d;
}

.pagination button:hover {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa07a 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.pagination button:disabled {
    border-color: #e0e0e0;
    color: #cccccc;
    cursor: not-allowed;
}

.pagination button:disabled:hover {
    background: #ffffff;
    transform: none;
    box-shadow: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px;
    color: #636e72;
    font-size: 14px;
    margin-top: 100px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}