/*
Theme Name: Intraservis Theme
Author: Intraservis
Description: Custom theme for Intraservis
Version: 1.0.0
*/

:root {
    --container-max: 1920px;
}

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Styles */


body {
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

/* Header & Menu */
.menu-item {
    position: relative;
}

.menu-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.menu-link:hover {
    color: #0085d2;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

/* Footer */
.footer-link {
    color: #666;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #0085d2;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Custom Components */
.about-hero {
    background-size: cover;
    background-position: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-align: left;
    margin-bottom: 30px
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem 1.5rem
}

@media (min-width:768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (min-width:1024px) {
    .about-grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

.about-card {
    display: flex;
    flex-direction: column;
    width: 100%
}

.about-card-img {
    position: relative;
    width: 100%;
    background: #f5f6f7;
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
    aspect-ratio: 3/4
}

.about-card-img img {
    width: 100%;
    height: 100%;
    padding: 1px;
    object-fit: cover;
    pointer-events: auto
}

.about-card-name {
    color: #01527A;
    font-weight: 600;
    font-size: 26px;
    line-height: 28px;
    margin-top: 21px
}

.about-card-role {
    color: #01527A;
    font-size: 13px;
    line-height: 13px;
    margin-top: 9px
}

.about-detail-panel {
    display: block;
    background: #f3f4f6;
    padding: 2rem;
    border-radius: 0.5rem;
    position: relative;
    margin-top: 0.5rem;
    grid-column: 1 / -1
}

.about-detail-name {
    font-weight: 600;
    font-size: 1.5rem;
    color: #01527A
}

.about-detail-role {
    font-size: 0.875rem;
    color: #01527A;
    margin-bottom: 1rem
}

.about-detail-desc {
    font-size: 1rem;
    color: #01527A;
}

.cta-banner {
    position: relative;
    width: 100%
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr
}

@media (min-width:768px) {
    .cta-grid {
        grid-template-columns: 2fr 3fr
    }
}

@media (min-width:1024px) {
    .cta-grid {
        grid-template-columns: 7fr 13fr
    }
}

/* .cta-left {
    position: relative;
    height: 192px;
    overflow: hidden
}

@media (min-width:768px) {
    .cta-left {
        height: 260px
    }
}

@media (min-width:1024px) {
    .cta-left {
        height: 280px;
    }
}

.cta-right {
    position: relative;
    display: flex;
    align-items: center;
    height: 192px;
    background: linear-gradient(to bottom, #0085d2, #00abec)
}

@media (min-width:768px) {
    .cta-right {
        height: 260px
    }
}

@media (min-width:1024px) {
    .cta-right {
        height: 280px;
    }
} */

.cta-right .cta-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem
}

@media (min-width:768px) {
    .cta-right .cta-inner {
        padding-left: 3rem;
        padding-right: 3rem
    }
}

@media (min-width:1024px) {
    .cta-right .cta-inner {
        padding-left: 0;
        padding-right: 60px
    }
}

.cta-separators {
    border-top: 1px solid rgba(255, 255, 255, .5);
    border-bottom: 1px solid rgba(255, 255, 255, .5)
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Cards (Poland Map) Styles */
.location-card-grid {
    display: grid;
    gap: 1rem;
}

.location-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.location-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.location-card.is-active {
    border-color: #0085d2;
    box-shadow: 0 0 0 2px rgba(0, 133, 210, 0.2);
}

/* Triangle Divider */
.triangle-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 40px solid #ffffff;
}

.triangle-divider.triangle-dark-blue {
    border-top-color: #006eb6;
}

.triangle-divider.triangle-soft-white {
    border-top-color: #f5f6f7;
}

.triangle-bottom-right {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 0;
    height: 0;
    border-bottom: 100px solid #f5f6f7;
    border-left: 100px solid transparent;
    z-index: 10;
}

.triangle-top-left {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 0;
    height: 0;
    border-top: 100px solid #f5f6f7;
    border-right: 100px solid transparent;
    z-index: 10;
}
.entry-content .wp-block-buttons .wp-block-button__link:hover { background: #01527a; }

@media (min-width: 768px) {
    .entry-content { font-size: 1.125rem; line-height: 26px; letter-spacing: 0.14px; }
}

@media (min-width: 1024px) {
    .entry-content { font-size: 20px; line-height: 31px; letter-spacing: 0.16px; }
}

.page-hero-title {
    font-family: "Segoe UI";
    text-align: center;
    font-weight: 500;
    color: #0085d2;
    font-size: 36px;
    line-height: 78px;
    letter-spacing: 1.44px;
}

@media (min-width: 640px) {
    .page-hero-title { font-size: 48px; }
}

@media (min-width: 768px) {
    .page-hero-title { font-size: 60px; }
}

@media (min-width: 1024px) {
    .page-hero-title { font-size: 72px; }
}

.scroll-top[hidden] { display: none!important }
.scroll-top { position: fixed; left: clamp(12px,2vw,24px); bottom: clamp(12px,2vw,24px); z-index: 50 }
.scroll-top__btn {position: relative;width: 51px;height: 51px;border-radius: 9999px;display: flex;align-items: center;justify-content: center;background-color: #ffffff;transition: transform .15s ease, box-shadow .15s ease}
.scroll-top__btn:focus-visible, .scroll-top__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.16); outline: 0 }
.scroll-top__svg { position: absolute; inset: 0; pointer-events: none }
.scroll-top__bg { fill: none; stroke: rgba(0,0,0,.08); stroke-width: 6 }
.scroll-top__progress { fill: none; stroke: #0085d2; stroke-width: 6; transform-origin: 50% 50%; transform: rotate(-90deg); transition: stroke-dashoffset .2s linear }
.scroll-top__arrow { display: block; width: 14px; height: 14px; margin-top: 5px; border-left: 2px solid #0085d2; border-top: 2px solid #0085d2; transform: rotate(45deg) }

/* User Requested Changes - Buttons Uppercase */
.btn-cta, 
.btn-outline-white {
    text-transform: uppercase !important;
}

/* German Specific Overrides - Services Desktop List */
:lang(de) .services-desktop-list .heading-h1 {
    font-size: 2.8rem !important;
}
