/* ==========================================================================
   UPLANDA.PL - MASTER STYLESHEET
   ========================================================================== */

:root {
    --primary-color: #C59A41;
    /* Złoto bazowe */
    --secondary-color: #0A1220;
    /* Ciemny granat */
    --text-main: #333333;
    --bg-light: #fdfdfd;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* === NOWE KOLORY I GRADIENTY === */
.bg-uplanda-navy {
    background: #0A1220;
    background: radial-gradient(circle at center, #142846 0%, #0A1220 70%, #050A11 100%);
    color: #ffffff;
}

.bg-uplanda-gold {
    background: linear-gradient(135deg, #E8C477 0%, #C59A41 50%, #8A6122 100%);
    color: #050A11 !important;
}

.bg-uplanda-gold:hover {
    background: linear-gradient(135deg, #F3D382 0%, #D4A348 50%, #9B6E23 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 154, 65, 0.2);
}

.text-uplanda-gold {
    background: linear-gradient(to bottom right, #E8C477 0%, #C59A41 50%, #8A6122 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* === HEADER & NAWIGACJA === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 25px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    padding: 15px 0;
    background: rgba(10, 18, 32, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 2px;
}

.uplanda-lang-switcher {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.uplanda-lang-switcher li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    opacity: 0.6;
    transition: var(--transition);
}

.uplanda-lang-switcher li a:hover {
    opacity: 1;
    transform: translateY(-2px);
    display: inline-block;
    color: var(--primary-color);
}

.uplanda-lang-switcher li.current-lang a {
    opacity: 1;
    color: var(--primary-color);
    pointer-events: none;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 3px;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* === HERO SECTION === */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.uplanda-hero-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.uplanda-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../img/uplanda-scaled.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.4;
}

.uplanda-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 18, 32, 0.8), rgba(10, 18, 32, 1));
    z-index: 1;
}

.uplanda-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    color: #fff;
}

.uplanda-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.uplanda-hero-btn {
    display: inline-block;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.uplanda-massive-text {
    position: absolute;
    bottom: 5vh;
    width: 100%;
    text-align: center;
    font-size: 18vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 2;
    pointer-events: none;
}

/* === ROTATOR & SLIDER === */
.uplanda-rotating-section {
    padding: 100px 0;
    text-align: center;
}

#uplanda-rotating-text {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    transition: opacity 0.5s;
}

.uplanda-fade-out {
    opacity: 0;
}

.uplanda-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.uplanda-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.uplanda-track::-webkit-scrollbar {
    display: none;
}

.uplanda-card {
    flex: 0 0 calc(100% - 20px);
    min-height: 350px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    user-select: none;
}

@media (min-width: 768px) {
    .uplanda-card {
        flex: 0 0 calc(50% - 10px);
    }
}

.summary-card {
    background: var(--secondary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--primary-color);
}

.uplanda-arrow {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    color: var(--secondary-color);
}

.uplanda-arrow.prev {
    left: -10px;
}

.uplanda-arrow.next {
    right: -10px;
}

/* === GRIDY (NASZE PODEJŚCIE, DLACZEGO UPLANDA, ZESPÓŁ) === */
.uplanda-approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.approach-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s;
}

.approach-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.approach-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.benefit-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    position: relative;
}

.benefit-card.highlighted {
    border: 2px solid var(--primary-color);
    background: rgba(197, 154, 65, 0.05);
}

.benefit-number {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.8;
    display: block;
    margin-bottom: 10px;
}

/* === SEKCJE CIEMNE & ZESPÓŁ === */
.logic-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.logic-text,
.logic-targets {
    flex: 1;
    min-width: 300px;
}

.target-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 15px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: start;
    margin-top: 50px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: var(--transition);
}

.partner-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.partner-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: 0.5s;
}

.partner-card:hover .partner-image img {
    filter: grayscale(0%);
    scale: 1.05;
}

.partner-info {
    padding: 30px;
}

.partner-role {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.lang-tag {
    background: #f0f4f8;
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #dce4ed;
    display: inline-block;
    margin: 2px;
}

/* === FORMULARZ & FOOTER === */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.contact-info,
.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.c-feat {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 5px;
    width: fit-content;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 10px;
}

.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    color: var(--text-main);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    color: #333;
}

#form-result {
    margin-top: 15px;
    font-size: 0.95rem;
    display: none;
    padding: 15px;
    border-radius: 8px;
    line-height: 1.5;
}

#form-result.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-result.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#uplanda-fireworks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 0 30px;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.footer-company-info {
    opacity: 0.7;
    line-height: 1.8;
}

.footer-copyright {
    opacity: 0.5;
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: 100%;
}

/* === BANER COOKIES === */
.uplanda-cookie-overlay { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background-color: rgba(10, 18, 32, 0.98); /* Deep Navy z lekką przezroczystością */
    backdrop-filter: blur(10px);
    color: #ffffff; 
    z-index: 999999; 
    box-shadow: 0 -10px 30px rgba(0,0,0,0.4); 
    border-top: 2px solid var(--primary-color); /* Złoty akcent */
    padding: 25px 0; 
    font-family: inherit; 
    display: none; /* Domyślnie ukryty, pokazywany przez JS */
}
.uplanda-cookie-container { 
    max-width: 1140px; 
    margin: 0 auto; 
    padding: 0 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 40px; 
}
.uplanda-cookie-text { flex: 1; }
.uplanda-cookie-text h4 { margin: 0 0 10px 0; font-size: 1.1rem; color: #ffffff; }
.uplanda-cookie-text p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: #d1d5db; opacity: 0.8; }
.uplanda-cookie-buttons { display: flex; gap: 15px; flex-shrink: 0; }
.cookie-btn { 
    padding: 12px 24px; 
    font-size: 0.9rem; 
    font-weight: 700; 
    border-radius: 6px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    border: none; 
}
.cookie-btn-primary { 
    background-color: var(--primary-color); 
    color: var(--secondary-color); 
}
.cookie-btn-primary:hover { 
    background-color: #F3D382; 
    transform: translateY(-2px); 
}
.cookie-btn-secondary { 
    background-color: transparent; 
    color: #ffffff; 
    border: 1px solid rgba(255,255,255,0.3); 
}
.cookie-btn-secondary:hover { 
    background-color: rgba(255,255,255,0.1); 
    border-color: #ffffff; 
}

@media (max-width: 768px) { 
    .uplanda-cookie-container { flex-direction: column; align-items: flex-start; gap: 20px; } 
    .uplanda-cookie-buttons { width: 100%; flex-direction: column; } 
    .cookie-btn { width: 100%; } 
}