/* ===== CSS Variables & Reset ===== */
:root {
    --bg-primary: #0d1b2a;
    --bg-secondary: #1b263b;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);

    --accent-primary: #4a90d9;
    --accent-secondary: #6bb3e8;
    --accent-gold: #f4d35e;
    --accent-warm: #ffc857;

    --gradient-stained: linear-gradient(135deg, #1b3a5f 0%, #2d5b8a 30%, #4a90d9 60%, #6bb3e8 100%);
    --gradient-gold: linear-gradient(135deg, #f4d35e 0%, #ffc857 100%);

    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(74, 144, 217, 0.3);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gradient-stained);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('card-front.png') center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.stained-glass-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(107, 179, 232, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(74, 144, 217, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(27, 58, 95, 0.5) 0%, transparent 60%);
    pointer-events: none;
}

/* Stained glass mosaic effect */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h50v50H0zM50 50h50v50H50z' fill='rgba(255,255,255,0.02)'/%3E%3Cpath d='M50 0h50v50H50zM0 50h50v50H0z' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.smiley {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(244, 211, 94, 0.5));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-title .script {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    line-height: 1.1;
}

.hero-title .caps {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.hero-verse {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 1rem;
    line-height: 1.8;
}

.verse-ref {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.cta-button svg {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* ===== Section Styles ===== */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-content h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ===== Message Section ===== */
.message-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-secondary);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Scripture Section ===== */
.scripture-section {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.scripture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.scripture {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent-gold);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.scripture:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.scripture p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.scripture cite {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-style: normal;
    letter-spacing: 0.05em;
}

/* ===== Connect Section ===== */
.connect-section {
    padding: 6rem 2rem;
    background: var(--gradient-stained);
    position: relative;
}

.connect-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 42, 0.7);
    pointer-events: none;
}

.connect-section .section-content {
    position: relative;
    z-index: 1;
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.connect-card {
    display: block;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.connect-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.connect-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.connect-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.connect-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.connect-link {
    display: inline-block;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.connect-card:hover .connect-link {
    transform: translateX(5px);
}

/* ===== About Section ===== */
.about-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    background: url('card-front.png') center/contain no-repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.about-section .section-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-section p:last-child {
    margin-bottom: 0;
}

.about-section strong {
    color: var(--accent-gold);
}

/* ===== Footer ===== */
.footer {
    padding: 4rem 2rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.smiley-small {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-verse {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .smiley {
        font-size: 4rem;
    }

    .cards-grid,
    .scripture-grid,
    .connect-grid {
        grid-template-columns: 1fr;
    }

    .message-section,
    .scripture-section,
    .connect-section,
    .about-section {
        padding: 4rem 1.5rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.scripture,
.connect-card {
    animation: fadeInUp 0.6s ease backwards;
}

.card:nth-child(1),
.scripture:nth-child(1),
.connect-card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2),
.scripture:nth-child(2),
.connect-card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3),
.scripture:nth-child(3) {
    animation-delay: 0.3s;
}

.scripture:nth-child(4) {
    animation-delay: 0.4s;
}