/* Color Palette: FCBA04 (gold), A50104 (dark red), 590004 (darker red), 250001 (darkest red), F3F3F3 (light gray) */

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

body {
    font-family: 'Crimson Text', serif;
    background: linear-gradient(135deg, #250001 0%, #590004 25%, #A50104 50%, #590004 75%, #250001 100%);
    color: #F3F3F3;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Animated background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(252, 186, 4, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(165, 1, 4, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(89, 0, 4, 0.1) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-20px) translateY(-20px); }
    50% { transform: translateX(20px) translateY(20px); }
    75% { transform: translateX(-10px) translateY(10px); }
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #250001 0%, #590004 50%, #A50104 100%);
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(37, 0, 1, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #FCBA04;
}

header h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FCBA04;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Updated Navigation - Simple rectangular containers */
nav a {
    color: #F3F3F3;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    background: rgba(37, 0, 1, 0.6);
    border: 2px solid #FCBA04;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    display: block;
}

nav a:hover,
nav a.active {
    background: rgba(252, 186, 4, 0.2);
    color: #FCBA04;
    border-color: #F3F3F3;
}

nav a:active {
    transform: translateY(1px);
}

/* Main Content */
main {
    padding: 2rem;
    padding-bottom: 200px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #FCBA04;
    margin-bottom: 2rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { 
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(252, 186, 4, 0.3);
        transform: scale(1);
    }
    50% { 
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7), 0 0 40px rgba(252, 186, 4, 0.6);
        transform: scale(1.02);
    }
}

.mystical-border {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FCBA04, transparent);
    margin: 0 auto;
    position: relative;
    animation: borderGlow 2s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% { box-shadow: 0 0 10px rgba(252, 186, 4, 0.5); }
    100% { box-shadow: 0 0 20px rgba(252, 186, 4, 0.8); }
}

.mystical-border::before,
.mystical-border::after {
    content: '✦';
    position: absolute;
    top: -8px;
    color: #FCBA04;
    font-size: 1.2rem;
    animation: sparkle 1.5s ease-in-out infinite alternate;
}

.mystical-border::before {
    left: -20px;
}

.mystical-border::after {
    right: -20px;
    animation-delay: 0.75s;
}

@keyframes sparkle {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* Story Section */
.story-section {
    max-width: 1000px;
    margin: 0 auto;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.story-card {
    background: linear-gradient(135deg, rgba(37, 0, 1, 0.8) 0%, rgba(89, 0, 4, 0.6) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #FCBA04;
    box-shadow: 0 8px 25px rgba(252, 186, 4, 0.2);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(252, 186, 4, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(252, 186, 4, 0.4);
}

.story-card:hover::before {
    animation: shimmer 1s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.card-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.story-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #FCBA04;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.story-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    color: #F3F3F3;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.story-card p:last-child {
    margin-bottom: 0;
}

.story-card em {
    color: #FCBA04;
    font-style: italic;
    font-weight: 600;
}

/* Quote Section */
.quote-section {
    text-align: center;
    padding: 3rem 0;
}

.inspirational-quote {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(252, 186, 4, 0.1) 0%, rgba(165, 1, 4, 0.1) 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid #FCBA04;
    position: relative;
    box-shadow: 0 10px 30px rgba(252, 186, 4, 0.3);
}

.inspirational-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 4rem;
    color: #FCBA04;
    font-family: 'Cinzel', serif;
    line-height: 1;
}

.inspirational-quote::after {
    content: '"';
    position: absolute;
    bottom: -20px;
    right: 30px;
    font-size: 4rem;
    color: #FCBA04;
    font-family: 'Cinzel', serif;
    line-height: 1;
}

blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: #F3F3F3;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

cite {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #FCBA04;
    font-style: normal;
    font-weight: 600;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #250001 0%, #590004 100%);
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 1rem 2rem;
    border-top: 3px solid #FCBA04;
    box-shadow: 0 -4px 20px rgba(37, 0, 1, 0.5);
    z-index: 1000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    flex: 1;
    margin-right: 2rem;
}

.contact-form h3 {
    color: #FCBA04;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.contact-form form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.contact-form input,
.contact-form textarea {
    padding: 0.3rem;
    border: 1px solid #FCBA04;
    border-radius: 5px;
    background: rgba(243, 243, 243, 0.1);
    color: #F3F3F3;
    font-size: 0.9rem;
}

.contact-form input {
    width: 150px;
}

.contact-form textarea {
    width: 200px;
    height: 60px;
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(243, 243, 243, 0.7);
}

.contact-form button {
    padding: 0.3rem 1rem;
    background: #FCBA04;
    color: #250001;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #F3F3F3;
    transform: translateY(-2px);
}

.footer-info {
    text-align: right;
    color: #F3F3F3;
}

.footer-info a {
    color: #FCBA04;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    nav a {
        width: 200px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .story-card {
        padding: 1.5rem;
    }
    
    .story-card h3 {
        font-size: 1.5rem;
    }
    
    .story-card p {
        font-size: 1rem;
    }
    
    .inspirational-quote {
        padding: 2rem;
    }
    
    blockquote {
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form {
        margin-right: 0;
    }
    
    .contact-form form {
        justify-content: center;
    }
    
    main {
        padding: 1rem;
        padding-bottom: 180px;
    }
}