<!-- css/style.css -->
:root {
    --primary: #e84393;       /* Vibrant pink */
    --secondary: #fdcb6e;     /* Warm gold */
    --accent: #00b894;       /* Fresh green */
    --dark: #2d3436;         /* Rich black */
    --light: #f5f6fa;       /* Soft white */
    --text: #636e72;        /* Subtle gray */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --african-pattern: url('https://www.transparenttextures.com/patterns/african-cloth.png');
    --gradient: linear-gradient(135deg, #e84393, #fd79a8, #fdcb6e);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --storytelling-bg: #f9f4e8;
}

/* Base Styles */
body {
    font-family: 'Poppins', 'Nunito', sans-serif;
    background-color: #fff9f9;
    margin: 0;
    padding: 0;
    color: var(--text);
    line-height: 1.7;
    background-image: var(--african-pattern);
    background-blend-mode: overlay;
    background-attachment: fixed;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header - Grand & Cultural */
header {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    border-radius: 0 0 30px 30px;
    margin-bottom: 50px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--african-pattern);
    opacity: 0.2;
    pointer-events: none;
}

header h1 {
    font-family: 'Playfair Display', 'Merriweather', serif;
    font-size: 3.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* New Storytelling Section */
.storytelling-section {
    background-color: var(--storytelling-bg);
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background-image: url('https://www.transparenttextures.com/patterns/paper.png');
    position: relative;
    overflow: hidden;
}

.storytelling-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/wood-pattern.png');
    opacity: 0.05;
    pointer-events: none;
}

.storytelling-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    color: var(--dark);
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
}

.storytelling-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient);
    margin: 15px auto;
    border-radius: 2px;
}

.story-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.story-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-top: 0;
}

.story-card p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Sweet Memories Section */
.memories-section {
    padding: 60px 0;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('https://www.transparenttextures.com/patterns/rice-paper.png');
}

.memory-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
}

.memory-card:hover {
    transform: scale(1.02);
}

.memory-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.memory-content {
    padding: 20px;
}

.memory-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    margin-top: 0;
}

/* Profile Cards - Elegant & Interactive */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.profile-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: none;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.profile-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transition: var(--transition);
}

.profile-card:hover::after {
    height: 8px;
}

/* Footer - Clean & Professional */
footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 30px;
    margin-top: 80px;
    text-align: center;
    clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%);
}

.footer-tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    header {
        padding: 60px 0;
    }
    
    header h1 {
        font-size: 2.8rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .search-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .profiles-grid {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
}

/* Profile Card Styles */
.profile-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: none;
    position: relative;
}

.profile-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.profile-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.profile-content {
    padding: 25px;
}

.profile-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    margin: 0 0 5px;
    font-size: 1.5rem;
}

.location {
    color: var(--primary);
    margin: 0 0 15px;
    font-size: 0.9rem;
}

.bio {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text);
}

.interests {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.interests span {
    background: var(--light);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.traits {
    font-size: 0.9rem;
    color: var(--dark);
    opacity: 0.9;
}

/* Loading State */
.error {
    text-align: center;
    grid-column: 1 / -1;
    color: var(--primary);
    font-size: 1.2rem;
}

/* New Moonlight Stories Section */
.moonlight-stories {
    background: linear-gradient(rgba(45,52,54,0.9), rgba(45,52,54,0.9)), url('https://www.transparenttextures.com/patterns/stardust.png');
    color: white;
    padding: 80px 0;
    margin: 60px 0;
    text-align: center;
}

.moonlight-stories h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: var(--secondary);
}

.story-teller {
    font-style: italic;
    color: var(--secondary);
    margin-top: 20px;
}

.story-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.story-nav button {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.story-nav button:hover {
    background: var(--secondary);
    color: var(--dark);
}

/* New Icons */
.icon-feature {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* New Font Faces */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');