/* Explore with Anjali - Main Stylesheet */
/* Pantone Color Palette: Pale Mint, Zesty Yellow, Peach Blossom */

:root {
    --color-white: #FFFFFF;
    --color-pale-mint: #D4E8D1; /* PANTONE 621 C Pale Mint */
    --color-zesty-yellow: #F5D742; /* PANTONE 7404 C Zesty Yellow */
    --color-peach-blossom: #F4C2A1; /* PANTONE 488 C Peach Blossom */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #E5E5E5;
    --font-primary: 'Moon Dance', cursive;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Moon Dance', cursive;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* Ensure all text elements use Moon Dance */
h1, h2, h3, h4, h5, h6, p, a, span, div, input, textarea, button, label {
    font-family: 'Moon Dance', cursive;
    font-weight: 400;
    font-style: normal;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: var(--color-text);
}

.logo h1 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    color: var(--color-text);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-peach-blossom);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-zesty-yellow);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-peach-blossom);
}

.admin-link {
    background: var(--color-peach-blossom);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: var(--color-pale-mint);
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 4rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

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

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: var(--color-peach-blossom);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.card-meta {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.card-excerpt {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--color-zesty-yellow);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(245, 215, 66, 0.4);
    opacity: 0.9;
}

.btn-secondary {
    background: var(--color-peach-blossom);
    color: var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-peach-blossom);
    opacity: 0.85;
}

/* Emotion Card Special */
.emotion-card {
    background: var(--color-peach-blossom);
    border-left: 4px solid var(--color-peach-blossom);
}

/* Travel Card Special */
.travel-card {
    background: var(--color-pale-mint);
    border-left: 4px solid var(--color-zesty-yellow);
}

/* Puzzle Card Special */
.puzzle-card {
    background: var(--color-zesty-yellow);
    border-left: 4px solid var(--color-peach-blossom);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-peach-blossom);
    box-shadow: 0 0 0 3px rgba(244, 194, 161, 0.2);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Detail Pages */
.detail-header {
    text-align: center;
    padding: 3rem 0;
    background: var(--color-pale-mint);
    margin-bottom: 3rem;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.detail-meta {
    color: var(--color-text-light);
    font-size: 1rem;
}

.detail-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    line-height: 1.8;
}

.detail-content h2 {
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.detail-content h3 {
    color: var(--color-text);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.detail-content p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.detail-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--color-peach-blossom);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--color-text);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--color-zesty-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-light);
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Puzzle Submission Form */
.puzzle-form {
    background: var(--color-zesty-yellow);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--color-white);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transition: var(--transition);
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-title {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-light);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--color-text-light);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

