/* ==========================================================================
   1. GLOBAL STYLES & TYPOGRAPHY
   ========================================================================== */

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    margin: 0;
}

p {
    color: #a0a0a0;
    max-width: 60ch;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 80px;
}


/* ==========================================================================
   2. REUSABLE COMPONENTS (Buttons, Links)
   ========================================================================== */

.nav-button, .cta-button, .services-link {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-button {
    background-color: transparent;
    border: 1px solid #333333;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
}

.nav-button:hover {
    background-color: #ffffff;
    color: #000000;
}

.cta-button, .services-link {
    background-color: #ffffff;
    color: #000000;
    padding: 12px 24px;
    border-radius: 6px;
    border: 2px solid #ffffff;
}

.cta-button:hover, .services-link:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.cta-email {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    padding: 20px 40px;
    border: 1px solid #333333;
    border-radius: 50px;
    transition: background-color 0.3s, color 0.3s;
}

.cta-email:hover {
    background-color: #ffffff;
    color: #000000;
}


/* ==========================================================================
   3. SITE STRUCTURE (Header, Footer, Navigation)
   ========================================================================== */

/* --- Header --- */
.site-header {
    padding: 30px 0;
    position: absolute;
    width: 100%;
    z-index: 100;
    box-sizing: border-box;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 125px;
    width: auto;
    display: block;
}

/* --- Navigation --- */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    margin-right: 30px;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-link:hover {
    color: #a0a0a0;
}

.nav-link.active {
    color: #ffffff;
    font-weight: 700;
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid #333333;
    padding: 30px 0;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    color: #a0a0a0;
}


/* ==========================================================================
   4. HOMEPAGE SECTIONS
   ========================================================================== */

/* --- Hero Section --- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/index/hero_background_abstract.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    font-display: swap;
}

.hero-title .line {
    display: block;
}

.scripture-quote {
    margin-top: 40px;
    padding-left: 20px;
    border-left: 2px solid #ffffff;
}

.scripture-quote p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin: 0;
}

.scripture-quote span {
    font-weight: 700;
    color: #ffffff;
}

/* --- Ticker Section --- */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
}

.ticker {
    display: flex;
    width: 200%;
    animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker span {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 20px;
}

.ticker .separator {
    color: #a0a0a0;
}

/* --- Services Section (Homepage) --- */
.services {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/index/services_background_accent.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 60px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.service-item:first-child {
    border-top: 1px solid #333333;
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.service-item-link:hover {
    transform: translateY(-5px);
}

.service-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.service-icon img {
    width: 48px;
    height: 48px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.service-item:hover .service-icon img {
    transform: scale(1.1);
}

.service-text {
    flex: 1;
}

.service-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.service-number {
    flex-shrink: 0;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    transition: all 0.3s ease;
}

.service-item:hover .service-number {
    color: rgba(255, 255, 255, 0.2);
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* --- Portfolio Section --- */
.portfolio {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.portfolio-item {
    position: relative;
    transition: transform 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #ffffff;
    display: block;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
    border-bottom: 1px solid #f0f0f0;
}

.portfolio-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-caption {
    padding: 25px 30px;
    background: #ffffff;
}

.portfolio-caption h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.portfolio-caption span {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

.portfolio-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-decoration: none;
}

/* --- CTA Section --- */
.cta-section {
    padding: 120px 0;
    text-align: center;
}

.cta-title {
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 1;
    text-transform: uppercase;
}

.cta-section p {
    margin: 30px auto;
    font-size: 1.2rem;
}


/* ==========================================================================
   5. PAGE-SPECIFIC STYLES (Services Page)
   ========================================================================== */

/* --- Services Page: Hero --- */
.services-hero {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.services-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/index/hero_background_abstract.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero .hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    color: #ffffff;
}

.services-hero .hero-subtitle {
    max-width: 800px;
    margin: 0 auto;
}

.services-hero .hero-subtitle p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #a0a0a0;
}

/* --- Services Page: Detailed Grid --- */
.services-detailed {
    position: relative;
    padding: 80px 0;
    background-color: #000000;
    overflow: hidden;
}

.services-detailed .services-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/index/services_background_accent.png');
    background-size: 80% auto;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.15;
    z-index: 1;
}

.services-detailed .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card .service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.service-card .service-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.service-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #a0a0a0;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #cccccc;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
}

.service-cta {
    margin-top: auto; /* Pushes button to the bottom */
}

/* --- Services Page: Process Section --- */
.process-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.process-step p {
    color: #a0a0a0;
    line-height: 1.6;
}


/* ==========================================================================
   6. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* --- Navigation --- */
    .nav-link {
        margin-right: 20px;
        font-size: 0.9rem;
    }

    /* --- Homepage Services --- */
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .service-icon {
        align-self: center;
    }
    
    .service-number {
        align-self: center;
        font-size: 3rem;
    }

    /* --- Portfolio --- */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    /* --- Services Page --- */
    .services-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .services-hero .hero-subtitle p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-section p {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    /* --- Navigation --- */
    .main-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-link {
        margin-right: 0;
    }

    /* --- Portfolio --- */
    .portfolio-grid {
        gap: 15px;
        padding: 0 5px;
    }

    /* --- Services Page --- */
    .services-hero {
        padding: 100px 0 60px;
    }
    
    .services-hero .hero-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-content h2 {
        font-size: 1.5rem;
    }
    
    .step-number {
        font-size: 2rem;
    }
}
