/* About Page Styles */

body {
    background-image: url('../wallpaper.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Footer - Compact */
.main-footer {
    background: var(--bg-darker);
    padding: 1.5rem 0 1rem;
    position: relative;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(var(--flag-gold-rgb), 0.18);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo p {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--green-bright);
}

.footer-tagline {
    display: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 0.75rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-grass {
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, var(--bg-darker) 0%, transparent 100%);
}

/* Footer responsive - only for mobile */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column !important;
        text-align: center;
    }
}

/* Hide any large tree background in footer - REMOVED, causing conflicts */

.about-hero {
    padding: calc(var(--spacing-xl) * 2) 0 var(--spacing-xl);
    text-align: center;
    padding-top: 140px; /* Account for fixed nav */
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.6)
    );
    border-bottom: 3px solid var(--flag-gold);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(
        135deg,
        var(--flag-gold),
        var(--color-white),
        var(--flag-gold)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--color-white);
    opacity: 0.9;
}

.about-content {
    padding: calc(var(--spacing-xl) * 2) 0;
}

.about-text {
    background: rgba(0, 0, 0, 0.7);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    border: 2px solid var(--flag-gold);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--flag-gold);
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.about-text p {
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

/* Edit Button */
.edit-about-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--flag-gold);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 1rem;
}

.edit-about-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* Admin Panel Styles */
.admin-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.admin-content {
    background: #1a1a1a;
    border: 3px solid var(--flag-gold);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    max-width: 800px;
    width: 90%;
    box-shadow: 0 0 50px rgba(255, 205, 0, 0.5);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--flag-red);
}

.admin-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--flag-gold);
    margin: 0;
}

.admin-info {
    padding: var(--spacing-sm);
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--flag-gold);
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.close-btn {
    background: none;
    border: none;
    color: var(--flag-red);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: var(--color-white);
    transform: rotate(90deg);
}

#adminEditor {
    width: 100%;
    background: #0a0a0a;
    color: var(--color-white);
    border: 2px solid var(--flag-red);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    resize: vertical;
}

#adminEditor:focus {
    outline: none;
    border-color: var(--flag-gold);
}

.admin-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
}

.btn-primary {
    background: var(--flag-gold);
    color: #000;
    border: 2px solid var(--flag-gold);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: transparent;
    color: var(--flag-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--flag-red);
    border: 2px solid var(--flag-red);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--flag-red);
    color: var(--color-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .about-text {
        padding: var(--spacing-md);
    }
    
    .admin-content {
        width: 95%;
        padding: var(--spacing-md);
    }
    
    .edit-about-btn {
        bottom: 80px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
