/* ═══════════════════════════════════════════════════════════════════
   FR. GERASAMOS MISSION TRIP - WEBSITE STYLES
   Blue & White Color Theme
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────
   🔒 SECURITY STYLES - Image Protection & Watermarks
   ───────────────────────────────────────────────────────────────────── */

/* Disable image selection and dragging */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Re-enable pointer events for gallery items (needed for lightbox) */
.gallery-item {
    pointer-events: auto;
}

.gallery-item img {
    pointer-events: none;
}

/* Watermark overlay for gallery images */
.gallery-item::before {
    content: '© Fr. Gerasamos Mission';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 128, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 4px;
    z-index: 10;
    pointer-events: none;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}

/* Diagonal watermark overlay */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 100px,
        rgba(255, 255, 255, 0.03) 100px,
        rgba(255, 255, 255, 0.03) 200px
    );
    pointer-events: none;
    z-index: 5;
}

/* Watermark for showcase images */
.showcase-image {
    position: relative;
}

.showcase-image::before {
    content: '© Fr. Gerasamos Mission';
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 128, 0.7);
    color: white;
    padding: 8px 15px;
    font-size: 12px;
    border-radius: 4px;
    z-index: 10;
    pointer-events: none;
}

/* Lightbox watermark */
.lightbox-image {
    pointer-events: none;
}

.lightbox::before {
    content: '© Fr. Gerasamos Mission - Protected Content';
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 128, 0.8);
    color: white;
    padding: 10px 25px;
    font-size: 14px;
    border-radius: 25px;
    z-index: 2001;
    pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────────────
   CSS VARIABLES - Color Palette from Blue & White.txt
   ───────────────────────────────────────────────────────────────────── */
:root {
    /* Primary Blues */
    --royal-blue: #4169E1;
    --navy-blue: #000080;
    --steel-blue: #4682B4;
    --midnight-blue: #191970;
    
    /* Accent Blues */
    --sky-blue: #87CEEB;
    --turquoise: #40E0D0;
    --powder-blue: #B0E0E6;
    --light-blue: #ADD8E6;
    --alice-blue: #F0F8FF;
    
    /* White Palette */
    --pure-white: #FFFFFF;
    --ivory: #FFFFF0;
    --off-white: #FAF9F6;
    --parchment: #FCF5E5;
    --seashell: #FFF5EE;
    
    /* Typography */
    --font-heading: 'Georgia', serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--midnight-blue);
    background-color: var(--pure-white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--royal-blue);
    color: var(--pure-white);
}

.btn-primary:hover {
    background-color: var(--navy-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
}

.btn-secondary:hover {
    background-color: var(--pure-white);
    color: var(--navy-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--royal-blue);
    border: 2px solid var(--royal-blue);
}

.btn-outline:hover {
    background-color: var(--royal-blue);
    color: var(--pure-white);
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--navy-blue);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--pure-white);
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--pure-white);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--turquoise);
    transition: var(--transition);
}

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

.nav-donate-btn {
    background-color: var(--turquoise) !important;
    color: var(--navy-blue) !important;
    padding: 10px 24px !important;
    border-radius: 25px;
}

.nav-donate-btn:hover {
    background-color: var(--royal-blue) !important;
    color: var(--pure-white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--pure-white);
    transition: var(--transition);
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/8144466632715553395.jpg') center/cover no-repeat;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 128, 0.7), rgba(25, 25, 112, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    color: var(--pure-white);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--off-white);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 35px;
    line-height: 1.8;
    color: var(--off-white);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* WELCOME MESSAGE SECTION */
.welcome-section {
    padding: var(--section-padding);
    background-color: var(--alice-blue);
    text-align: center;
}

.welcome-section h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--navy-blue);
    margin-bottom: 25px;
}

.welcome-text {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--midnight-blue);
}

.scripture-quote {
    background-color: var(--pure-white);
    padding: 30px 40px;
    border-left: 4px solid var(--royal-blue);
    max-width: 700px;
    margin: 0 auto 30px;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.scripture-quote p {
    font-family: var(--font-heading);
    font-size: 20px;
    font-style: italic;
    color: var(--midnight-blue);
    margin-bottom: 10px;
}

.scripture-quote cite {
    color: var(--steel-blue);
    font-size: 16px;
}

.welcome-closing {
    font-size: 18px;
    font-weight: 600;
    color: var(--steel-blue);
}

/* FEATURED SHOWCASE SECTION */
.featured-showcase {
    padding: var(--section-padding);
    background-color: var(--pure-white);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.showcase-image img {
    border-radius: 12px;
    border: 3px solid var(--steel-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.showcase-content h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--midnight-blue);
    margin-bottom: 20px;
}

.showcase-content p {
    font-size: 18px;
    color: var(--steel-blue);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* BIOGRAPHY SECTION */
.biography-section {
    padding: var(--section-padding);
    background-color: var(--parchment);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.section-header .dates {
    font-size: 20px;
    color: var(--steel-blue);
}

.section-header p {
    font-size: 18px;
    color: var(--steel-blue);
    max-width: 600px;
    margin: 0 auto;
}

.bio-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.bio-intro p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.bio-highlights {
    background-color: var(--pure-white);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.bio-highlights h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--navy-blue);
    margin-bottom: 20px;
    text-align: center;
}

.bio-highlights ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.bio-highlights li {
    font-size: 16px;
    color: var(--midnight-blue);
    padding: 10px 0;
}

.bio-dream {
    background: linear-gradient(135deg, var(--royal-blue), var(--navy-blue));
    color: var(--pure-white);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.bio-dream p {
    font-size: 18px;
}

.bio-memorial {
    margin-bottom: 30px;
}

.bio-memorial .greek-text {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--navy-blue);
    margin-bottom: 5px;
}

.bio-memorial p {
    font-style: italic;
    color: var(--steel-blue);
}

/* GALLERY SECTION - Enhanced */
.gallery-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--alice-blue) 0%, #E6F3FF 100%);
}

.gallery-section .section-header p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Gallery Category Filters */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.gallery-filters .filter-btn {
    padding: 10px 24px;
    background: white;
    border: 2px solid var(--powder-blue);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--steel-blue);
    cursor: pointer;
    transition: all 0.25s ease-out;
}

.gallery-filters .filter-btn:hover {
    border-color: var(--royal-blue);
    color: var(--royal-blue);
    transform: translateY(-2px);
}

.gallery-filters .filter-btn.active {
    background: linear-gradient(135deg, var(--royal-blue), var(--navy-blue));
    border-color: var(--royal-blue);
    color: white;
}

/* Responsive Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Gallery Item with Figure/Figcaption */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 128, 0.08);
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(65, 105, 225, 0.2);
}

.gallery-item:focus {
    outline: 3px solid var(--royal-blue);
    outline-offset: 3px;
}

/* Featured Items - Larger */
.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

@media (max-width: 768px) {
    .gallery-item.featured {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
}

.gallery-item figure {
    margin: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Caption Overlay */
.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px 15px;
    background: linear-gradient(transparent, rgba(0, 0, 128, 0.85));
    color: white;
    font-size: 13px;
    line-height: 1.5;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.gallery-item:hover figcaption {
    transform: translateY(0);
}

.gallery-item figcaption .caption-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 3px;
}

.gallery-item figcaption .caption-location {
    font-size: 12px;
    opacity: 0.85;
}

/* Zoom Icon Overlay */
.gallery-item::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2.5rem;
    background: rgba(65, 105, 225, 0.9);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.25s ease-out;
    pointer-events: none;
}

.gallery-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Hover Overlay */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(65, 105, 225, 0);
    transition: background 0.25s ease-out;
    pointer-events: none;
    z-index: 5;
}

.gallery-item:hover::after {
    background: rgba(65, 105, 225, 0.15);
}

/* Gallery CTA */
.gallery-cta {
    text-align: center;
    padding-top: 20px;
}

.gallery-cta .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: transparent;
    border: 2px solid var(--royal-blue);
    border-radius: 30px;
    color: var(--royal-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease-out;
}

.gallery-cta .btn-outline:hover {
    background: var(--royal-blue);
    color: white;
    transform: translateY(-2px);
}

/* IMPACT SECTION */
.impact-section {
    padding: var(--section-padding);
    background-color: var(--pure-white);
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.impact-card {
    background-color: var(--ivory);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border-top: 4px solid var(--royal-blue);
    transition: var(--transition);
}

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

.impact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.impact-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.impact-card p {
    font-size: 16px;
    color: var(--steel-blue);
    margin-bottom: 20px;
    line-height: 1.7;
}

.card-link {
    color: var(--royal-blue);
    font-weight: 600;
}

.card-link:hover {
    color: var(--navy-blue);
}

/* DONATION SECTION */
.donation-section {
    padding: var(--section-padding);
    background-color: var(--seashell);
}

.donation-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--pure-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.donation-header {
    text-align: center;
    margin-bottom: 30px;
}

.donation-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.donation-header p {
    color: #666;
    font-size: 14px;
}

.progress-section {
    background: var(--off-white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress-goal {
    font-weight: bold;
    color: var(--navy-blue);
}

.progress-percentage {
    color: var(--royal-blue);
    font-weight: bold;
}

.progress-bar {
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--royal-blue), var(--navy-blue));
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.amount-section {
    margin-bottom: 25px;
}

.amount-section h3 {
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-size: 18px;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.amount-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.amount-btn {
    padding: 15px;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    background: var(--pure-white);
    font-size: 18px;
    font-weight: bold;
    color: var(--navy-blue);
    cursor: pointer;
    transition: var(--transition);
}

.amount-btn:hover {
    border-color: var(--royal-blue);
    background: var(--off-white);
}

.amount-btn.selected {
    border-color: var(--royal-blue);
    background: var(--royal-blue);
    color: var(--pure-white);
}

.other-amount-box {
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    padding: 20px;
    background: var(--off-white);
}

.other-amount-box.active {
    border-color: var(--royal-blue);
}

.other-amount-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.other-amount-label span {
    font-size: 18px;
}

.other-amount-input {
    display: flex;
    align-items: center;
    gap: 5px;
}

.other-amount-input .currency {
    font-size: 24px;
    font-weight: bold;
    color: var(--navy-blue);
}

.other-amount-input input {
    width: 100%;
    padding: 12px;
    font-size: 24px;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
}

.other-amount-input input:focus {
    border-color: var(--royal-blue);
}

.other-amount-note {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

.impact-statement {
    background: linear-gradient(135deg, var(--royal-blue), var(--navy-blue));
    color: var(--pure-white);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
    display: none;
}

.impact-statement.visible {
    display: block;
}

.frequency-section {
    margin-bottom: 25px;
}

.frequency-section h3 {
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-size: 18px;
}

.frequency-options {
    display: flex;
    gap: 15px;
}

.frequency-option {
    flex: 1;
    padding: 15px;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.frequency-option:hover {
    border-color: var(--royal-blue);
}

.frequency-option.selected {
    border-color: var(--royal-blue);
    background: var(--royal-blue);
    color: var(--pure-white);
}

.frequency-option input {
    display: none;
}

.frequency-option small {
    display: block;
    margin-top: 5px;
    opacity: 0.8;
}

/* Construction Phase Selection */
.phase-section {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #F0F8FF 0%, #E6F3FF 100%);
    border-radius: 12px;
    border: 2px solid var(--sky-blue);
}

.phase-section h3 {
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-size: 18px;
}

.phase-select-wrapper {
    position: relative;
}

.phase-select {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    background: white;
    color: var(--navy-blue);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234169E1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 50px;
}

.phase-select:hover,
.phase-select:focus {
    border-color: var(--royal-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.2);
}

.phase-select option {
    padding: 10px;
}

.phase-note {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Phase-specific styling when selected */
.phase-select option[value="interior"] { color: #4682B4; }
.phase-select option[value="furniture"] { color: #4169E1; }
.phase-select option[value="perimeter"] { color: #000080; }

.cover-fees {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background: var(--off-white);
    border-radius: 8px;
    margin-bottom: 25px;
}

.cover-fees input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--royal-blue);
}

.cover-fees label {
    font-size: 14px;
    color: #333;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--royal-blue), var(--navy-blue));
    color: var(--pure-white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.4);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* NEWSLETTER SECTION */
.newsletter-section {
    padding: 60px 0;
    background-color: var(--powder-blue);
    text-align: center;
}

.newsletter-section h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.newsletter-section p {
    font-size: 18px;
    color: var(--midnight-blue);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 14px 20px;
    border: 2px solid var(--steel-blue);
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--royal-blue);
}

/* CONTACT SECTION */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--ivory);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--pure-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--royal-blue);
}

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

/* FOOTER */
.footer {
    background-color: var(--navy-blue);
    color: var(--pure-white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-about h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.main-site-link {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #191970 !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.main-site-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4, .footer-social h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--turquoise);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
}

.social-links a:hover {
    color: var(--turquoise);
}

.hashtag {
    margin-top: 20px;
    color: var(--turquoise);
    font-weight: 600;
}

/* ENHANCED LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 45px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.25s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.lightbox-image {
    max-width: 85vw;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 15px 20px;
    max-width: 600px;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

.lightbox-caption .caption-title {
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 5px;
    color: var(--sky-blue);
}

.lightbox-caption .caption-location {
    font-size: 13px;
    color: var(--powder-blue);
}

/* Lightbox Navigation */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(65, 105, 225, 0.8);
    border: none;
    color: white;
    font-size: 1.8rem;
    padding: 20px 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 8px;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(65, 105, 225, 1);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: var(--font-heading);
    font-size: 16px;
    background: rgba(0, 0, 128, 0.6);
    padding: 10px 25px;
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

/* Lightbox Responsive */
@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 1.3rem;
        padding: 15px 12px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 35px;
    }
    
    .lightbox-image {
        max-width: 95vw;
        max-height: 70vh;
    }
    
    .lightbox-caption {
        font-size: 13px;
        padding: 10px 15px;
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero h1 { font-size: 42px; }
    .showcase-grid { grid-template-columns: 1fr; gap: 30px; }
    .showcase-image { order: -1; }
    .bio-highlights ul { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .gallery-item.featured { grid-column: span 1; grid-row: span 1; }
    .gallery-filters { gap: 8px; }
    .gallery-filters .filter-btn { padding: 8px 18px; font-size: 13px; }
    .impact-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--navy-blue);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateX(-100%);
        transition: var(--transition);
    }
    .nav-menu.active { transform: translateX(0); }
    .nav-toggle { display: flex; }
    .hero { min-height: 500px; }
    .hero h1 { font-size: 32px; }
    .hero-subtitle { font-size: 18px; }
    .hero-description { font-size: 16px; }
    .section-header h2 { font-size: 26px; }
    .welcome-section h2 { font-size: 28px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.featured { grid-column: span 2; }
    .amount-grid { grid-template-columns: repeat(2, 1fr); }
    .frequency-options { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .hero-buttons { flex-direction: column; gap: 15px; }
    .btn { width: 100%; }
    .donation-container { padding: 25px; }
    .amount-row-3 { grid-template-columns: repeat(2, 1fr); }
    .amount-row-3 .amount-btn:last-child { grid-column: span 2; }
}

/* ═══════════════════════════════════════════════════════════════════
   ORTHODOX ENCOURAGEMENT WIDGET STYLES
   Floating widget with biblical quotes
   ═══════════════════════════════════════════════════════════════════ */

.encouragement-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-body);
}

/* Toggle Button */
.encouragement-toggle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--royal-blue), var(--navy-blue));
    border: 3px solid var(--pure-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 128, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.encouragement-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 128, 0.5);
}

.toggle-icon {
    font-size: 32px;
    color: var(--pure-white);
    z-index: 2;
}

.toggle-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--royal-blue);
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes pulse-highlight {
    0% {
        box-shadow: 0 0 0 0 rgba(65, 105, 225, 0.7);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(65, 105, 225, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(65, 105, 225, 0);
    }
}

/* Modal */
.encouragement-modal {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    background: var(--pure-white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 128, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
}

.encouragement-widget.open .encouragement-modal {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.encouragement-widget.open .encouragement-toggle {
    background: linear-gradient(135deg, var(--navy-blue), var(--midnight-blue));
}

/* Header */
.encouragement-header {
    background: linear-gradient(135deg, var(--royal-blue), var(--navy-blue));
    color: var(--pure-white);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    font-size: 24px;
}

.encouragement-header h3 {
    flex: 1;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: var(--pure-white);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-btn:hover {
    opacity: 1;
}

/* Content */
.encouragement-content {
    padding: 25px 20px;
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, var(--alice-blue) 0%, var(--pure-white) 100%);
}

.quote-orthodox {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--navy-blue);
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
    transition: opacity 0.2s ease;
}

.quote-english {
    font-size: 17px;
    color: var(--midnight-blue);
    line-height: 1.7;
    margin-bottom: 12px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.quote-source {
    font-size: 14px;
    color: var(--steel-blue);
    font-style: italic;
    transition: opacity 0.2s ease;
}

/* Footer */
.encouragement-footer {
    padding: 15px 20px;
    background: var(--off-white);
    border-top: 1px solid var(--light-blue);
    text-align: center;
}

.new-quote-btn {
    background: linear-gradient(135deg, var(--turquoise), var(--steel-blue));
    color: var(--pure-white);
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.new-quote-btn:hover {
    background: linear-gradient(135deg, var(--royal-blue), var(--navy-blue));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.4);
}

.new-quote-btn span {
    font-size: 14px;
}

.footer-text {
    margin: 12px 0 0;
    font-size: 12px;
    color: var(--steel-blue);
    font-style: italic;
}

/* Widget Responsive */
@media (max-width: 480px) {
    .encouragement-widget {
        bottom: 20px;
        right: 20px;
    }

    .encouragement-toggle {
        width: 55px;
        height: 55px;
    }

    .toggle-icon {
        font-size: 26px;
    }

    .encouragement-modal {
        width: calc(100vw - 40px);
        right: 0;
        bottom: 70px;
        max-width: 340px;
    }

    .quote-orthodox {
        font-size: 14px;
    }

    .quote-english {
        font-size: 15px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   AUTH0 AUTHENTICATION STYLES
   ═══════════════════════════════════════════════════════════════════ */

.nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
}

.nav-auth-btn {
    background: transparent;
    border: 2px solid var(--turquoise);
    color: var(--turquoise);
    padding: 8px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-auth-btn:hover {
    background: var(--turquoise);
    color: var(--navy-blue);
}

.nav-auth-btn.logout {
    border-color: rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.8);
}

.nav-auth-btn.logout:hover {
    background: rgba(255,255,255,0.1);
    color: var(--pure-white);
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--turquoise);
    object-fit: cover;
}

.user-greeting {
    color: var(--turquoise);
    font-size: 14px;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════
   WALL OF HONOR STYLES
   ═══════════════════════════════════════════════════════════════════ */

.wall-of-honor-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a2e 0%, #1a1a4e 100%);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.wall-of-honor-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 50%, rgba(64, 224, 208, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.wall-of-honor-section .section-header h2 {
    color: #ffd700;
    font-size: 36px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.wall-of-honor-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* Auth Required Overlay */
.auth-required-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 46, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.wall-of-honor-section.unlocked .auth-required-overlay {
    display: none;
}

.auth-required-content {
    text-align: center;
    padding: 40px;
    max-width: 400px;
}

.lock-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)); }
}

.auth-required-content h3 {
    color: #ffd700;
    font-size: 28px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.auth-required-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Wall Content */
.wall-content {
    position: relative;
    z-index: 5;
}

/* Tier Legend */
.tier-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.tier-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tier-badge {
    font-size: 18px;
}

/* Tier Filter */
.tier-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: transparent;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #0a0a2e;
    border-color: #ffd700;
}

/* Contributors Grid */
.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contributor Card */
.contributor-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
}

.contributor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

/* Tier-specific styling */
.contributor-card.eternal {
    background: linear-gradient(145deg, rgba(185, 242, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-color: #b9f2ff;
}

.contributor-card.legacy {
    background: linear-gradient(145deg, rgba(229, 228, 226, 0.15), rgba(255, 255, 255, 0.05));
    border-color: #e5e4e2;
}

.contributor-card.benefactor {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.15), rgba(255, 255, 255, 0.05));
    border-color: #ffd700;
}

.contributor-card.patron {
    background: linear-gradient(145deg, rgba(192, 192, 192, 0.15), rgba(255, 255, 255, 0.05));
    border-color: #c0c0c0;
}

.contributor-card.supporter {
    background: linear-gradient(145deg, rgba(205, 127, 50, 0.15), rgba(255, 255, 255, 0.05));
    border-color: #cd7f32;
}

/* Badge */
.contributor-badge {
    font-size: 32px;
    margin-bottom: 15px;
}

/* Avatar Placeholder */
.contributor-avatar-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #0a0a2e;
}

.contributor-card.eternal .contributor-avatar-placeholder { background: linear-gradient(135deg, #b9f2ff, #87CEEB); }
.contributor-card.legacy .contributor-avatar-placeholder { background: linear-gradient(135deg, #e5e4e2, #c0c0c0); }
.contributor-card.benefactor .contributor-avatar-placeholder { background: linear-gradient(135deg, #ffd700, #ffb700); }
.contributor-card.patron .contributor-avatar-placeholder { background: linear-gradient(135deg, #c0c0c0, #a8a8a8); }
.contributor-card.supporter .contributor-avatar-placeholder { background: linear-gradient(135deg, #cd7f32, #b8860b); }

/* Name */
.contributor-name {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Tier Label */
.contributor-tier {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Message */
.contributor-message {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Date */
.contributor-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

/* Wall CTA */
.wall-cta {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.wall-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 20px;
}

/* Responsive - Wall of Honor */
@media (max-width: 768px) {
    .tier-legend {
        flex-direction: column;
        align-items: center;
    }
    
    .tier-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .contributors-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-auth {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .user-greeting {
        display: none;
    }
}
