/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Color palette - warm, inviting, and peaceful with enhanced contrast */
:root {
    --primary-blue: #1B4170;
    --light-blue: #4A75B8;
    --warm-cream: #B8A896;
    --soft-gold: #C2A366;
    --warm-white: #FFFFFF;
    --card-white: #FEFEFE;
    --text-dark: #1A2B3A;
    --text-light: #4A5568;
    --accent-coral: #D4936A;
    --shadow: rgba(27, 65, 112, 0.15);
    --shadow-hover: rgba(27, 65, 112, 0.25);
    --border-light: rgba(184, 168, 150, 0.6);
    --border-medium: rgba(184, 168, 150, 0.8);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--card-white) 0%, var(--warm-cream) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    padding: 2rem 0 1rem;
}

.title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    text-shadow: 0  2px 4px var(--shadow);
}

/* Message Section */
.message-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0 2rem;
    gap: 2rem;
}

.christ-image-container {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3/4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.christ-image-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.christ-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.christ-image-container:hover .christ-image {
    transform: scale(1.02);
}

.message-container {
    text-align: center;
    max-width: 600px;
}

.christ-message {
    background: var(--card-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--soft-gold);
    position: relative;
    border: 1px solid var(--border-light);
}

.christ-message::before {
    content: '"';
    font-size: 4rem;
    color: var(--light-blue);
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: Georgia, serif;
}

.christ-message p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.christ-message cite {
    font-size: 0.9rem;
    color: var(--light-blue);
    font-weight: 500;
    font-style: normal;
}

.additional-message {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-medium);
    box-shadow: 0 2px 12px var(--shadow);
}

.additional-message p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Question Section */
.question-section {
    background: var(--card-white);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border-light);
}

.section-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.form-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow);
    background: #F8F6F3;
    border: 1px solid var(--border-medium);
}

/* Form Styles */
.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-medium);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--card-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(91, 130, 196, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--warm-white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(43, 87, 151, 0.3);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 87, 151, 0.4);
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Animation for contact info field */
#contact-info-group {
    transition: all 0.3s ease;
    overflow: hidden;
}

#contact-info-group.show {
    display: block !important;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        margin-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
        margin-bottom: 1.5rem;
    }
}

.form-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
}

.form-note a {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-note a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

/* Responsive Design - Mobile First */
@media (min-width: 480px) {
    .title {
        font-size: 2.2rem;
    }
    
    .christ-image-container {
        max-width: 350px;
    }
    
    .christ-message {
        padding: 2.5rem;
    }
    
    .christ-message p {
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .message-section {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
        padding: 2rem 0 3rem;
    }
    
    .christ-image-container {
        flex: 0 0 45%;
        max-width: 45%;
    }
    
    .message-container {
        text-align: left;
        flex: 1;
        min-width: 0;
    }
    
    .christ-message {
        padding: 3rem;
        margin-bottom: 2rem;
    }
    
    .christ-message p {
        font-size: 1.25rem;
    }
    
    .question-section {
        padding: 3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (min-width: 1024px) {
    .header {
        padding: 3rem 0 2rem;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .message-section {
        gap: 4rem;
        padding: 3rem 0 4rem;
    }
    
    .christ-image-container {
        flex: 0 0 48%;
        max-width: 48%;
    }
    
    .christ-message {
        padding: 3.5rem;
    }
    
    .christ-message p {
        font-size: 1.3rem;
    }
    
    .additional-message {
        padding: 2rem;
    }
    
    .additional-message p {
        font-size: 1.1rem;
    }
}

/* Accessibility and animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
iframe:focus {
    outline: 2px solid var(--light-blue);
    outline-offset: 2px;
}

/* Loading animation for the form */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.google-form:not([src*="viewform"]) {
    background: linear-gradient(90deg, 
        var(--warm-cream) 25%, 
        rgba(255,255,255,0.5) 37%, 
        var(--warm-cream) 63%);
    background-size: 400px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}