/* =========================================
   Tzur IT - Main Stylesheet (CLEANED)
   ========================================= */

:root {
    --primary-dark: #0f172a;
    --primary-light: #334155;
    --accent-gold: #fbbf24;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --font-main: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.logo span {
    color: var(--accent-gold);
}

nav {
    position: relative;
    margin-left: auto;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-light);
}

nav a:hover,
nav a.active {
    color: var(--accent-gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--text-light);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 8px 10px;
    z-index: 1002;
    -webkit-appearance: none;
    appearance: none;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

.hero,
.contact-intro {
    background:
        linear-gradient(rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.42)),
        url('images/hero-rock.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    min-height: 400px;
    height: 65vh;
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.hero h1,
.contact-intro h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

.hero p,
.contact-intro p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #cbd5e1;
    text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

.hero .scripture-ref,
.contact-intro .scripture-ref,
.contact-intro .subtitle {
    font-style: italic;
    color: var(--accent-gold);
    font-size: 1rem;
    margin-top: 1rem;
    display: block;
    background: transparent;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.btn {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #f59e0b;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--primary-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--accent-gold);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--primary-light);
    font-size: 0.95rem;
}

.contact-form-section {
    margin-top: 0 !important;
    padding: 60px 0 !important;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    margin: 0 20px 60px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-family: inherit;
    margin-bottom: 20px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 14px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background-color: var(--primary-light);
}

footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-scripture {
    display: block;
    margin-top: 10px;
    font-style: italic;
    color: var(--accent-gold);
    opacity: 0.95;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        width: 100%;
    }

    nav ul {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--primary-dark);
        border-top: 1px solid rgba(255,255,255,0.12);
        z-index: 1001;
        padding: 10px 0;
        border-radius: 0 0 8px 8px;
    }

    nav ul.open {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 14px 20px;
    }

    .hero h1,
    .contact-intro h1 {
        font-size: 2rem;
    }

    .hero p,
    .contact-intro p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title {
        margin-bottom: 40px;
    }

    section {
        padding: 60px 0;
    }

    .form-container {
        padding: 24px;
    }

    .contact-form-section {
        margin: 0 12px 40px;
        padding: 40px 0 !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero,
    .contact-intro {
        min-height: 360px;
        height: auto;
        padding: 64px 16px;
    }

    .hero h1,
    .contact-intro h1 {
        font-size: 1.75rem;
    }

    .hero p,
    .contact-intro p {
        font-size: 0.98rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero,
    .contact-intro {
        min-height: 360px;
        height: auto;
        padding: 64px 16px;
    }

    header {
        background-color: rgba(15, 23, 42, 0.8);
    }
}

/* =========================================
   Tzur IT - Footer Styles
   ========================================= */

footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 50px 20px 20px;
    margin-top: 60px;
    border-top: 4px solid var(--accent-gold);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--accent-gold);
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 8px 0;
    color: rgba(255,255,255,0.7);
}

.footer-bottom a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    footer {
        padding: 30px 15px 15px;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .footer-social-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }
}