/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Critical CSS for above-the-fold content */
.hero {
    contain: layout style paint;
}

.navbar {
    contain: layout style;
}

/* SVG Icon Styling */
svg {
    display: inline-block;
    vertical-align: middle;
}

img[src$=".svg"] {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

/* Ensure SVG icons are visible */
.cross-icon,
.feature-img,
.contact-icon {
    display: inline-block !important;
    vertical-align: middle !important;
}

.cross-icon {
    width: 30px !important;
    height: 30px !important;
}

.feature-img {
    width: 60px !important;
    height: 60px !important;
}

.contact-icon {
    width: 20px !important;
    height: 20px !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B4513;
}

.nav-logo-img {
    height: 50px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

.cross-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    fill: #8B4513;
    display: inline-block;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8B4513;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B4513;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 50px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="crosses" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%238B4513" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23crosses)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #8B4513;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-button {
    background: linear-gradient(135deg, #dc143c 0%, #b8122f 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

/* Luke AI Companion Section */
.luke-companion {
    padding: 60px 0;
    background: #f5f5f5;
}

/* AI Companion Card */
.ai-companion-card {
    background: white;
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 750px;
    margin: 0 auto;
}

.ai-companion-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.companion-profile {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.companion-avatar {
    flex-shrink: 0;
}

.avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #dc143c;
    object-fit: cover;
    object-position: center;
    display: block;
}

.companion-info {
    flex: 1;
}

.companion-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    margin-top: 0;
}

.companion-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.425rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
    margin-top: 0;
}

.chat-button {
    background: #dc143c;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.425rem;
    font-family: 'Open Sans', sans-serif;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.chat-button:hover {
    background: #b8122f;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    object-position: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid #8B4513;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    40% {
        transform: translateY(-10px) rotate(-45deg);
    }
    60% {
        transform: translateY(-5px) rotate(-45deg);
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-img {
    width: 100%;
    max-width: 500px;
    height: 600px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    object-position: center;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: #f8f9fa;
}

.how-it-works h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.features h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-img {
    width: 60px;
    height: 60px;
    fill: white;
    display: block;
    margin: 0 auto;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    line-height: 1.6;
    opacity: 0.9;
}

/* Use Cases Section */
.use-cases {
    padding: 100px 0;
    background: white;
}

.use-cases h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
}

    .use-cases-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

.use-case-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.use-case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #8B4513;
}

.use-case-icon {
    margin-bottom: 20px;
}

.church-icon,
.people-icon,
.unlock-icon,
.growth-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.use-case-card p {
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    text-align: center;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #8B4513;
}

.testimonial blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial cite {
    color: #8B4513;
    font-weight: 600;
}

/* Founder's Message Section */
.founder {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.founder h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #8B4513;
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: flex-start;
}

.founder-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.founder-portrait {
    width: 100%;
}

.founder-img {
    width: 100%;
    max-width: 400px;
    height: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    object-position: center;
}

.founder-book-cover {
    width: 100%;
    margin-top: 20px;
}

.book-cover-img {
    width: 100%;
    max-width: 400px;
    height: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    object-position: center;
}

.founder-message {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
}

.founder-message p {
    margin-bottom: 20px;
    opacity: 1;
    color: white;
}

.founder-message strong {
    color: white;
    font-weight: 600;
}

.founder-signature {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #8B4513;
    text-align: right;
}

.founder-signature p {
    margin: 0;
    font-size: 1.1rem;
    color: white;
}

.founder-signature strong {
    color: white;
    font-size: 1.2rem;
}

.founder-signature em {
    color: white;
    font-size: 1rem;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: white;
}

.gallery h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #8B4513;
}

.contact-info p {
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    fill: #8B4513;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.submit-button {
    background: linear-gradient(135deg, #dc143c 0%, #b8122f 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #8B4513;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8B4513;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #8B4513;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-logo-img {
        max-width: 150px;
        height: 40px;
    }
    
    .about-img {
        max-width: 400px;
        height: 500px;
    }
    
    .founder-img,
    .book-cover-img {
        max-width: 350px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-logo-img {
        max-width: 120px;
        height: 35px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-img {
        height: 300px;
    }
    
    .about-img {
        max-width: 100%;
        height: 400px;
    }
    
    .founder-img,
    .book-cover-img {
        max-width: 100%;
        height: 350px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .luke-companion {
        padding: 40px 0;
    }
    
    .ai-companion-card {
        padding: 25px;
        margin: 0 20px;
        max-width: none;
    }
    
    .companion-profile {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .avatar-image {
        width: 70px;
        height: 70px;
    }
    
    .companion-name {
        font-size: 1.4rem;
    }
    
    .companion-description {
        font-size: 0.9rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .founder-images {
        order: 2;
    }
    
    .founder-message {
        order: 1;
        text-align: center;
    }
    
    .founder-signature {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-logo-img {
        max-width: 100px;
        height: 30px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-img {
        height: 250px;
    }
    
    .about-img {
        height: 300px;
    }
    
    .founder-img,
    .book-cover-img {
        height: 300px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .about h2,
    .features h2,
    .testimonials h2,
    .gallery h2,
    .contact h2 {
        font-size: 2rem;
    }
}
