/*
Theme Name: ArtInGod
Theme URI: https://artingod.pl
Author: ArtInGod
Author URI: https://artingod.pl
Description: Nowoczesny, minimalistyczny szablon dla wspólnot i wydarzeń chrześcijańskich. Koszulki, aplikacje mobilne, foto i video.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: artingod
Tags: one-page, minimalist, custom-logo, custom-menu, full-width-template
*/

/* ═══════════════════════ RESET & VARIABLES ═══════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:             #FAFAF8;
    --bg-warm:        #F5F0E8;
    --bg-dark:        #141008;
    --text-primary:   #1A1A1A;
    --text-secondary: #6B6560;
    --gold:           #C9A870;
    --gold-dark:      #A8883A;
    --gold-light:     #EDD9A3;
    --border:         #E8E0D0;
    --white:          #FFFFFF;
    --font-serif:     'Playfair Display', Georgia, serif;
    --font-sans:      'Inter', system-ui, sans-serif;
    --max-width:      1200px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════ NAVIGATION ═══════════════════════ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 22px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.35s ease;
}

#navbar.scrolled {
    background: rgba(250, 250, 248, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 48px;
    box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.35s;
    position: relative;
    z-index: 200;
}

.nav-logo img { max-height: 40px; width: auto; }

#navbar.scrolled .nav-logo { color: var(--text-primary); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links li { list-style: none; }

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.25s;
}

#navbar.scrolled .nav-links a { color: var(--text-secondary); }
.nav-links a:hover { color: var(--gold) !important; }

.nav-links .nav-cta {
    padding: 9px 22px;
    border: 1px solid rgba(255,255,255,0.45);
    color: var(--white) !important;
    transition: background 0.25s, border-color 0.25s;
}

#navbar.scrolled .nav-links .nav-cta {
    border-color: var(--gold);
    color: var(--gold-dark) !important;
}

.nav-links .nav-cta:hover {
    background: rgba(201,168,112,0.18) !important;
    border-color: var(--gold) !important;
    color: var(--gold-dark) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: relative;
    z-index: 200;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
    transform-origin: center;
}

#navbar.scrolled .hamburger span { background: var(--text-primary); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--white) !important; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--white) !important; }

/* WordPress admin bar offset */
.admin-bar #navbar { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar #navbar { top: 46px; }
}

/* ═══════════════════════ HERO ═══════════════════════ */
.hero {
    height: 100vh;
    min-height: 680px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, #100C04 0%, #231808 35%, #30200C 65%, #100C04 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 60%, rgba(201,168,112,0.13) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 25%, rgba(201,168,112,0.07) 0%, transparent 45%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,168,112,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,112,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 920px;
    padding: 0 32px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: rgba(201,168,112,0.5);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 300;
    color: rgba(255,255,255,0.62);
    max-width: 660px;
    margin: 0 auto 52px;
    line-height: 1.85;
}

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

.btn-primary {
    padding: 15px 40px;
    background: var(--gold);
    color: #120E04;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--gold);
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: #120E04;
}

.btn-secondary {
    padding: 15px 40px;
    background: transparent;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.35);
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.3);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    animation: floatDown 2.2s ease-in-out infinite;
    pointer-events: none;
}

.hero-scroll-hint::after {
    content: '';
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(201,168,112,0.55), transparent);
}

@keyframes floatDown {
    0%,100% { transform: translateX(-50%) translateY(0); }
    55%      { transform: translateX(-50%) translateY(7px); }
}

/* ═══════════════════════ SERVICES BAR ═══════════════════════ */
.services-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 72px 48px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 18px;
}

.services-bar-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.7rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.services-bar-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ═══════════════════════ SERVICE SECTIONS ═══════════════════════ */
.service-section { padding: 120px 48px; }
.service-section--light { background: var(--bg); }
.service-section--white { background: var(--white); }

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-grid--reverse { direction: rtl; }
.service-grid--reverse > * { direction: ltr; }

.service-visual { position: relative; }

.visual-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.visual-frame::before {
    content: '';
    position: absolute;
    top: -18px; left: -18px;
    width: 70px; height: 70px;
    border-left: 2px solid var(--gold);
    border-top: 2px solid var(--gold);
    opacity: 0.5;
    z-index: 1;
}

.visual-frame::after {
    content: '';
    position: absolute;
    bottom: -18px; right: -18px;
    width: 70px; height: 70px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    opacity: 0.5;
    z-index: 1;
}

.visual-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-inner--tshirt { background: linear-gradient(145deg, #140F05 0%, #261A08 50%, #1A1208 100%); }
.visual-inner--app    { background: linear-gradient(145deg, #07111E 0%, #0D1E35 50%, #071525 100%); }
.visual-inner--photo  { background: linear-gradient(145deg, #140F05 0%, #231509 50%, #150E10 100%); }

/* Service content */
.service-number {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 14px;
}

.gold-line {
    width: 52px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 28px;
}

.service-title {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
    font-weight: 700;
    line-height: 1.18;
    color: var(--text-primary);
    margin-bottom: 22px;
}

.service-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 24px;
}

.service-list {
    list-style: none;
    margin-bottom: 28px;
}

.service-list li {
    padding: 9px 0 9px 20px;
    position: relative;
    font-size: 0.93rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
}

.service-list li:last-child { border-bottom: none; }

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 5px;
    background: var(--gold);
    border-radius: 50%;
}

.service-cta-note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--text-primary);
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--white);
}

.btn-outline svg { transition: transform 0.3s; }
.btn-outline:hover svg { transform: translateX(5px); }

/* ═══════════════════════ WHY SECTION ═══════════════════════ */
.why-section {
    padding: 120px 48px;
    background: var(--bg-dark);
    text-align: center;
}

.why-section .section-tag { color: var(--gold); }

.why-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.why-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    max-width: 580px;
    margin: 0 auto 64px;
    line-height: 1.85;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2px;
    max-width: var(--max-width);
    margin: 0 auto 72px;
}

.why-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,168,112,0.1);
    padding: 44px 32px;
    text-align: left;
    transition: background 0.3s;
}

.why-card:hover { background: rgba(201,168,112,0.05); }

.why-icon {
    width: 44px; height: 44px;
    color: var(--gold);
    margin-bottom: 22px;
}

.why-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
}

.why-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-style: italic;
    color: rgba(255,255,255,0.65);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.65;
    padding-top: 64px;
    border-top: 1px solid rgba(201,168,112,0.18);
}

.why-quote strong {
    color: var(--gold);
    font-style: normal;
    font-weight: 400;
}

/* ═══════════════════════ CONTACT ═══════════════════════ */
.contact-section {
    padding: 120px 48px;
    background: var(--bg-warm);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 22px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 44px;
}

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

.perk { display: flex; align-items: flex-start; gap: 16px; }

.perk-icon {
    width: 40px; height: 40px;
    background: var(--gold);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.perk-body h4 { font-size: 0.93rem; font-weight: 600; margin-bottom: 3px; }
.perk-body p  { font-size: 0.85rem; color: var(--text-secondary); }

/* Form */
.contact-form-box {
    background: var(--white);
    padding: 48px;
    border: 1px solid var(--border);
}

.form-heading {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 30px;
}

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

.form-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    border-radius: 0;
    appearance: none;
    transition: border-color 0.25s;
}

.form-input:focus,
.form-textarea:focus { border-color: var(--gold); }

.form-textarea { height: 136px; resize: vertical; }

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--text-primary);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success {
    display: none;
    text-align: center;
    padding: 14px;
    background: #D8F3DC;
    color: #2D6A4F;
    font-size: 0.9rem;
    margin-top: 14px;
}

.form-error {
    display: none;
    text-align: center;
    padding: 14px;
    background: #FFE5E5;
    color: #C0392B;
    font-size: 0.9rem;
    margin-top: 14px;
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
.site-footer {
    background: var(--bg-dark);
    padding: 64px 48px 40px;
    color: rgba(255,255,255,0.45);
}

.footer-inner { max-width: var(--max-width); margin: 0 auto; }

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 32px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 14px;
}

.footer-logo img { max-height: 40px; width: auto; }

.footer-tagline { font-size: 0.875rem; line-height: 1.75; }

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.25s;
}

.footer-col a:hover { color: var(--gold); }

.footer-seo-item {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.28);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

.footer-seo-line {
    font-size: 0.75rem;
    opacity: 0.45;
}

/* ═══════════════════════ ANIMATIONS ═══════════════════════ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 960px) {
    .service-section,
    .why-section,
    .contact-section { padding: 80px 28px; }

    .services-bar { padding: 60px 28px; }

    .service-grid,
    .service-grid--reverse,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        direction: ltr;
    }

    .service-grid--reverse > * { direction: ltr; }

    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    #navbar          { padding: 16px 24px; }
    #navbar.scrolled { padding: 12px 24px; }

    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 11, 4, 0.97);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 150;
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        font-size: 1.05rem !important;
        color: rgba(255,255,255,0.85) !important;
        letter-spacing: 0.1em;
    }

    .nav-links .nav-cta {
        border-color: var(--gold) !important;
        color: var(--gold) !important;
        padding: 12px 32px !important;
    }

    .hamburger { display: flex; }

    .contact-form-box { padding: 32px 22px; }
}

@media (max-width: 560px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-primary,
    .btn-secondary { width: 100%; text-align: center; max-width: 280px; }
}
