/* ==========================================================================
   GeoSystem One-Pager — Custom Styles
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --geo-primary: #1B3A5C;
    --geo-accent: #C8102E;
    --geo-light-bg: #F5F7FA;
    --geo-white: #FFFFFF;
    --geo-text: #333333;
    --geo-text-light: #FFFFFF;
    --geo-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset / Base ---------- */
.geosystem-onepage {
    font-family: var(--geo-font);
    color: var(--geo-text);
    line-height: 1.7;
}

.geo-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- HERO SECTION ---------- */
.geo-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.geo-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 58, 92, 0.85) 0%, rgba(27, 58, 92, 0.6) 100%);
    z-index: 1;
}

.geo-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 24px;
}

.geo-hero__content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--geo-text-light);
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.geo-hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px;
    font-weight: 300;
    line-height: 1.6;
}

/* ---------- CTA Button ---------- */
.geo-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.geo-btn--cta {
    background-color: var(--geo-accent);
    color: var(--geo-text-light);
}

.geo-btn--cta:hover {
    background-color: #a30d24;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.35);
    color: var(--geo-text-light);
    text-decoration: none;
}

/* ---------- SECTIONS ---------- */
.geo-section {
    padding: 80px 0;
}

.geo-section h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 16px;
    text-align: center;
    letter-spacing: -0.01em;
}

.geo-section__intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.geo-section--white {
    background: var(--geo-white);
}

.geo-section--white h2 {
    color: var(--geo-primary);
}

.geo-section--light {
    background: var(--geo-light-bg);
}

.geo-section--light h2 {
    color: var(--geo-primary);
}

.geo-section--dark {
    background: var(--geo-primary);
    color: var(--geo-text-light);
}

.geo-section--dark h2 {
    color: var(--geo-text-light);
}

.geo-section--dark h3 {
    color: var(--geo-text-light);
}

.geo-section--dark a {
    color: rgba(255, 255, 255, 0.9);
}

.geo-section--dark a:hover {
    color: var(--geo-text-light);
}

/* ---------- O NAS — Hero Style ---------- */
.geo-about-hero {
    background: linear-gradient(135deg, var(--geo-primary) 0%, #2a5580 100%);
    color: var(--geo-text-light);
    text-align: center;
    padding: 100px 0;
}

.geo-about-hero h2 {
    color: var(--geo-text-light);
}

.geo-about-hero__content {
    max-width: 700px;
    margin: 0 auto;
}

.geo-about-hero__lead {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.geo-about-hero__content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.geo-btn--outline {
    background: transparent;
    color: var(--geo-text-light);
    border: 2px solid rgba(255, 255, 255, 0.6);
    margin-top: 24px;
}

.geo-btn--outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--geo-text-light);
    color: var(--geo-text-light);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ---------- SERVICES GRID ---------- */
.geo-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.geo-service-card {
    background: var(--geo-white);
    border-radius: 8px;
    padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.geo-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.geo-service-card__icon {
    color: var(--geo-accent);
    margin-bottom: 16px;
}

.geo-service-card__icon svg {
    width: 40px;
    height: 40px;
}

.geo-service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--geo-primary);
    margin: 0 0 12px;
    line-height: 1.4;
}

.geo-service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ---------- KONTAKT ---------- */
.geo-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 40px;
}

.geo-contact__info address {
    font-style: normal;
    line-height: 1.8;
}

.geo-contact__info p {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.geo-contact__info .geo-contact__name {
    display: block;
}

.geo-contact__info svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.8;
}

.geo-contact__social {
    margin-top: 24px;
}

.geo-contact__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.geo-contact__social a:hover {
    background: var(--geo-accent);
}

/* ---------- CF7 Form Styles ---------- */
.geo-contact__form .wpcf7 input[type="text"],
.geo-contact__form .wpcf7 input[type="email"],
.geo-contact__form .wpcf7 input[type="tel"],
.geo-contact__form .wpcf7 textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--geo-text-light);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, background 0.3s ease;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.geo-contact__form .wpcf7 input::placeholder,
.geo-contact__form .wpcf7 textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.geo-contact__form .wpcf7 input:focus,
.geo-contact__form .wpcf7 textarea:focus {
    outline: none;
    border-color: var(--geo-accent);
    background: rgba(255, 255, 255, 0.15);
}

.geo-contact__form .wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}

.geo-contact__form .wpcf7 input[type="submit"],
.geo-contact__form .wpcf7 .btn-cta {
    display: inline-block;
    padding: 14px 40px;
    background: var(--geo-accent);
    color: var(--geo-text-light);
    border: none;
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.geo-contact__form .wpcf7 input[type="submit"]:hover {
    background: #a30d24;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.35);
}

.geo-contact__form .wpcf7 label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.geo-contact__form .cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 8px;
}

/* CF7 validation messages */
.geo-contact__form .wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 0.85rem;
}

.geo-contact__form .wpcf7-response-output {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.9);
    margin: 16px 0 0 !important;
    padding: 12px 16px !important;
    border-radius: 4px;
}

/* ---------- FOOTER ---------- */
.geo-footer-custom {
    text-align: center;
    padding: 24px 0;
    background: #0f2640;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.geo-footer-custom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.geo-footer-custom a:hover {
    color: #fff;
}

.geo-footer-links {
    margin-top: 6px;
    font-size: 0.85rem;
}

.geo-footer-credit {
    margin-top: 8px;
    font-size: 0.8rem;
}

.geo-footer-credit a {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .geo-section {
        padding: 60px 0;
    }

    .geo-about-hero {
        padding: 70px 0;
    }

    .geo-services {
        grid-template-columns: 1fr;
    }

    .geo-contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .geo-contact__form .cf7-row {
        grid-template-columns: 1fr;
    }

    .geo-hero {
        min-height: 80vh;
    }
}

@media (max-width: 480px) {
    .geo-container {
        padding: 0 16px;
    }

    .geo-hero__content {
        padding: 24px 16px;
    }

    .geo-btn {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

/* ---------- HEADER: Facebook icon ---------- */
.geo-header-fb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--geo-primary);
    transition: color 0.3s ease, background 0.3s ease;
    margin-left: 12px;
}

.geo-header-fb:hover {
    color: var(--geo-accent);
}

.geo-header-fb svg {
    width: 20px;
    height: 20px;
}

/* ---------- COOKIE BANNER ---------- */
.geo-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--geo-primary);
    color: var(--geo-text-light);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.geo-cookie-banner__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.geo-cookie-banner__inner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.geo-cookie-banner__inner a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.geo-cookie-banner__inner a:hover {
    color: #fff;
}

.geo-cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.geo-btn--sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.geo-btn--outline-dark {
    background: transparent;
    color: var(--geo-text-light);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.geo-btn--outline-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--geo-text-light);
    text-decoration: none;
}

@media (max-width: 768px) {
    .geo-cookie-banner__inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* ---------- POLICY PAGES ---------- */
.geo-policy {
    padding: 40px 24px 80px;
}

.geo-policy h2 {
    text-align: left;
    font-size: 1.4rem;
    color: var(--geo-primary);
    margin-top: 32px;
}

.geo-policy h3 {
    font-size: 1.1rem;
    color: var(--geo-primary);
    margin-top: 24px;
}

.geo-policy ul {
    padding-left: 24px;
}

.geo-policy li {
    margin-bottom: 6px;
}

/* ---------- SMOOTH SCROLL OFFSET FOR STICKY HEADER ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
