/*
Theme Name: FormHome
Theme URI: https://formhome.pl
Author: FormHome
Author URI: https://formhome.pl
Description: Motyw dla FormHome - producenta domów prefabrykowanych z keramzytobetonu. Responsywny motyw z ACF Flexible Content.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: formhome
Tags: one-page, custom-logo, custom-menu, featured-images, translation-ready

FormHome - Domy Prefabrykowane z Keramzytobetonu
Twój Dom. Twoja Historia. Nasze Wykonanie.
*/

/* =================================================================
   General Styles
================================================================= */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-dark: #0a0a0a;
    --bg-light: #f8f8f8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* =================================================================
   Navigation
================================================================= */
.navbar {
    padding: 30px 0;
    background: transparent;
    transition: all 0.3s ease;
    z-index: 9 !important;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.single-house .navbar,
.single-post .navbar,
body:has(.single-post-section) .navbar {
    background: rgba(0, 0, 0, 0.95) !important;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-brand .logo {
    height: 22px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand .logo {
    height: 19px;
}

@media (max-width: 1320px) and (min-width: 1000px) {
    .navbar .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .navbar-brand .logo {
        height: 24px;
        max-width: 180px;
    }
}

@media (max-width: 991px) {
    .navbar-brand .logo {
        height: 24px;
    }
    
    .navbar {
        z-index: 99999 !important;
    }
    
    .navbar-collapse {
        background: #000000;
        margin-top: 15px;
        padding: 20px;
        position: relative;
        z-index: 99999;
    }
    
    .navbar[aria-expanded="true"],
    .navbar.show {
        background: #000000 !important;
    }
    
    .navbar-nav {
        gap: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 20px !important;
    }
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link.active {
    color: #ffffff !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #ffffff;
}

.navbar-toggler {
    padding: 10px;
    position: relative;
    width: 40px;
    height: 40px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-custom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
}

.navbar-toggler-custom span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-custom span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-custom span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-custom span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =================================================================
   Hero Section
================================================================= */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    width: 100%;
}

.hero-subtitle {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 50px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 50px;
    letter-spacing: 0px;
    text-transform: none;
}

.hero-slider {
    position: absolute;
    right: 50px;
    top: 55%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    z-index: 10001;
    pointer-events: auto;
}

.slider-item {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    padding: 10px 0;
    transition: all 0.4s ease;
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.slider-item.active {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.slider-item:hover {
    color: rgba(255, 255, 255, 0.8);
}

.slider-line {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
}

/* =================================================================
   Buttons
================================================================= */
.btn-custom {
    display: inline-block;
    padding: 16px 45px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    background: transparent;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: #ffffff;
    color: var(--text-dark);
    border-color: #ffffff;
}

.btn-custom-outline {
    display: inline-block;
    padding: 16px 45px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dark);
    background: transparent;
    border: 2px solid var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-custom-outline:hover {
    background: var(--text-dark);
    color: #ffffff;
    border-color: var(--text-dark);
}

button.btn-custom-outline {
    font-family: 'Montserrat', sans-serif;
}

.btn-custom-dark {
    display: inline-block;
    padding: 16px 45px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    background: #000000;
    border: 2px solid #000000;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-custom-dark:hover {
    background: #ffffff;
    color: #000000;
    border-color: #000000;
}

button.btn-custom-dark {
    font-family: 'Montserrat', sans-serif;
}

/* =================================================================
   Section Labels & Titles
================================================================= */
.section-label {
    display: none;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-label.projects-header,
.section-label.about-header,
.section-label.technology-header,
.section-label.realizacje-header,
.section-label.aktualnosci-header,
.section-label.finansowanie-header {
    display: flex;
    margin-bottom: 15px;
    padding-left: 0;
}

@media (min-width: 992px) {
    .section-label.projects-header {
        padding-left: 50px;
    }
}

.section-label .line {
    width: 50px;
    height: 1px;
    background: var(--text-dark);
}

.section-label .text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-light);
    text-transform: uppercase;
}

.section-label.light .line {
    background: #ffffff;
}

.section-label.light .text {
    color: rgba(255, 255, 255, 0.7);
}

.section-title {
    font-size: 42px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.section-title.projects-title,
.section-title.about-title,
.section-title.technology-title,
.section-title.realizacje-title,
.section-title.aktualnosci-title,
.section-title.finansowanie-title {
    text-align: left;
    padding-left: 0;
    margin-bottom: 40px;
}

.section-title.aktualnosci-title {
    font-size: 29px;
    margin-bottom: 10px;
}

@media (min-width: 992px) {
    .section-title.projects-title {
        padding-left: 50px;
    }
}

.section-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.section-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

.section-text:last-of-type {
    margin-bottom: 18px;
}

/* =================================================================
   About Section
================================================================= */
.about-section {
    background: #ffffff;
    padding: 100px 0;
}

.about-images {
    position: relative;
}

.about-image-wrapper {
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.08);
}

.about-content {
    padding-left: 50px;
}

/* =================================================================
   Services Section (Projects)
================================================================= */
.services-section {
    background: var(--bg-dark);
    padding: 50px 0;
}

.house-type-card {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

.house-type-card:hover {
    transform: translateY(-10px);
    text-decoration: none;
    color: inherit;
}

.house-type-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.house-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.house-type-card:hover .house-type-image img {
    transform: scale(1.1);
}

.house-type-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.house-type-card:hover .house-type-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
}

.house-type-title {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
}

.house-type-info {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0 0 0;
    text-align: center;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.house-type-card:hover .house-type-info {
    color: #ffffff;
}

/* Feature Icons */
.feature-icon-card {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.feature-icon-card:hover {
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-icon-card:hover .feature-icon-wrapper {
    border-color: var(--accent-color);
    background: rgba(201, 169, 97, 0.1);
}

.feature-icon-wrapper i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.feature-icon-card:hover .feature-icon-wrapper i {
    color: var(--accent-color);
}

.feature-icon-title {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: none;
}

.feature-icon-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

/* =================================================================
   Technology Section
================================================================= */
.technology-section {
    background: #ffffff;
    padding: 50px 0;
}

.technology-content {
    text-align: left;
}

.technology-content .section-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.technology-content .section-text:last-of-type {
    margin-bottom: 0;
}

.technology-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 25px;
    margin-top: 10px;
}

.technology-content .section-text strong {
    font-weight: 600;
    color: var(--text-color);
}

/* Technology Benefits with Icons */
.technology-benefit {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.technology-benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
}

.technology-benefit-content {
    flex: 1;
}

.technology-benefit-content .section-text {
    margin-bottom: 0;
}

/* =================================================================
   Process Section
================================================================= */
.process-section {
    padding: 0;
    margin: 0;
}

.process-card {
    position: relative;
    overflow: hidden;
    height: 550px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.process-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.process-card:hover img {
    transform: scale(1.05);
}

.process-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    transition: all 0.4s ease;
}

.process-card:hover .process-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
}

.process-content {
    width: 100%;
}

.process-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    line-height: 1.3;
}

.process-cta {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.process-cta i {
    display: none;
}

.process-card:hover .process-cta {
    color: #ffffff;
    transform: translateX(5px);
}

/* Modal Styles */
.modal{
    @media (max-width: 767px) {
       top: 70px;
    }
}

.modal-content {
    border-radius: 8px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    padding: 25px 30px;
    border-radius: 0;
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 40px 30px;
    background: #ffffff;
}

.modal-intro {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
}

.process-step {
    margin-bottom: 30px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.process-step p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

/* =================================================================
   Realizacje Section
================================================================= */
.section-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    max-width: 83.333%;
    margin: 0;
    text-align: left;
}

.realizacje-swiper {
    margin-top: 17px;
    padding: 0 50px;
}

.realizacje-swiper .swiper-slide {
    height: auto;
}

/* Projects Swiper */
.projects-swiper {
    margin-top: 20px;
    padding: 0 50px;
}

.projects-swiper .swiper-slide {
    height: auto;
}

.realizacja-card {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    transition: all 0.3s ease;
    background: #000;
}

.realizacja-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.realizacja-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.realizacja-card:hover .realizacja-image img {
    transform: scale(1.1);
}

.realizacja-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    padding: 25px 20px;
    transition: all 0.3s ease;
}

.realizacja-card:hover .realizacja-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
}

.realizacja-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.realizacja-date {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Carousel Controls */
.realizacje-swiper .swiper-button-prev,
.realizacje-swiper .swiper-button-next,
.projects-swiper .swiper-button-prev,
.projects-swiper .swiper-button-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.realizacje-swiper .swiper-button-prev:after,
.realizacje-swiper .swiper-button-next:after,
.projects-swiper .swiper-button-prev:after,
.projects-swiper .swiper-button-next:after {
    font-size: 20px;
}

.realizacje-swiper .swiper-button-prev:hover,
.realizacje-swiper .swiper-button-next:hover,
.projects-swiper .swiper-button-prev:hover,
.projects-swiper .swiper-button-next:hover {
    background: var(--accent-color);
}

@media (max-width: 991px) {
    .realizacje-swiper,
    .projects-swiper,
    .blog-swiper {
        padding: 0 20px;
    }
    
    .realizacje-swiper .swiper-button-prev,
    .realizacje-swiper .swiper-button-next,
    .projects-swiper .swiper-button-prev,
    .projects-swiper .swiper-button-next,
    .blog-swiper .swiper-button-prev,
    .blog-swiper .swiper-button-next {
        width: 40px;
        height: 40px;
    }
    
    .realizacje-swiper .swiper-button-prev:after,
    .realizacje-swiper .swiper-button-next:after,
    .projects-swiper .swiper-button-prev:after,
    .projects-swiper .swiper-button-next:after,
    .blog-swiper .swiper-button-prev:after,
    .blog-swiper .swiper-button-next:after {
        font-size: 16px;
    }
}

/* Blog Section */
.blog-section {
    background: #ffffff;
    padding: 100px 0;
}

/* Finansowanie Section */
.finansowanie-section {
    background: #f8f8f8;
    padding: 0;
}

.finansowanie-content {
    text-align: left;
}

.finansowanie-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.finansowanie-list li {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.finansowanie-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1.5;
}

/* Aktualności Section */
.aktualnosci-section {
    background: #ffffff;
    padding: 100px 0;
}

/* Blog Swiper */
.blog-swiper {
    margin-top: 0;
    padding: 0 50px;
}

.blog-swiper .swiper-slide {
    height: auto;
}

.blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #ffffff;
    overflow: visible;
    transition: all 0.3s ease;
    border-radius: 0;
    height: 100%;
    box-shadow: none;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    text-decoration: none;
}

.blog-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    flex-shrink: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    justify-content: space-between;
}

.blog-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    margin: 0 0 15px 0;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: block;
    overflow: visible;
    word-wrap: break-word;
}

.blog-card:hover .blog-title {
    color: #000000 !important;
}

.blog-date {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Blog Swiper Navigation */
.blog-swiper .swiper-button-prev,
.blog-swiper .swiper-button-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.blog-swiper .swiper-button-prev:after,
.blog-swiper .swiper-button-next:after {
    font-size: 20px;
}

.blog-swiper .swiper-button-prev:hover,
.blog-swiper .swiper-button-next:hover {
    background: var(--accent-color);
}

/* =================================================================
   Contact Cards in CTA Section
================================================================= */
.contact-info-cards {
    margin: 40px 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
}

.contact-icon i {
    font-size: 24px;
    color: var(--accent-color);
}

.contact-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-value {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    line-height: 1.6;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    text-decoration: none;
}

/* Contact Form Styles */
.form-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 12px 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.15);
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.form-check-label {
    font-size: 13px;
    color: var(--text-color);
}

.form-check-label a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* =================================================================
   CTA Section
================================================================= */
.cta-section {
    position: relative;
    padding: 150px 0;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 56px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 40px;
}

/* =================================================================
   Footer
================================================================= */
.footer {
    background: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0 !important;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #000000;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* =================================================================
   Responsive Design
================================================================= */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 44px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .cta-title {
        font-size: 48px;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-slider {
        right: 30px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .cta-title {
        font-size: 40px;
    }
    
    .process-card {
        height: 450px;
    }
    
    .process-title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .about-section {
        padding-top: 2.5rem !important;
    }
    
    .feature-icon-card {
        padding: 20px 15px;
    }
    
    .process-card {
        height: 400px;
    }
    
    .process-overlay {
        padding: 30px;
    }
    
    .process-title {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .hero-section {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-slider {
        display: none;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .services-section,
    .about-section,
    .blog-section,
    .aktualnosci-section,
    .finansowanie-section {
        padding: 30px 0;
    }
    
    .technology-section {
        padding: 30px 0;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .hero-section,
    .hero-slide {
        min-height: 60vh;
        max-height: 60vh;
    }
    
    .about-section {
        padding-top: 30px !important;
    }
    
    .services-section {
        padding-top: 30px !important;
    }
    
    .services-section .col-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .feature-icon-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .btn-custom,
    .btn-custom-outline {
        padding: 14px 35px;
        font-size: 10px;
    }
}

/* =================================================================
   Animations
================================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--accent-color);
    color: #ffffff;
}

::-moz-selection {
    background: var(--accent-color);
    color: #ffffff;
}

/* =================================================================
   GLightbox Custom Styles
================================================================= */
.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
    background: rgba(0, 0, 0, 0.75);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.glightbox-clean .gclose:hover,
.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: var(--accent-color);
}

.glightbox-clean .gslide-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glightbox-clean .gslide-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

/* =================================================================
   Single Post Styles
================================================================= */
.single-post-section {
    background: #fff;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.post-header {
    margin-bottom: 40px;
}

.post-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
}

.post-date {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: var(--text-light);
}

.post-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 2px;
}

.post-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    margin: 0;
}

.post-featured-image {
    margin-bottom: 40px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.post-content {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-color);
}

.post-content p {
    margin-bottom: 20px;
}

.post-content .lead {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 30px;
}

.post-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-color);
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.post-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin: 30px 0 15px 0;
    line-height: 1.3;
}

.post-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 30px;
}

/* Single Post Responsive */
@media (max-width: 768px) {
    .post-title {
        font-size: 28px;
    }
    
    .post-content .lead {
        font-size: 18px;
    }
    
    .post-content h2 {
        font-size: 24px;
    }
    
    .post-content h3 {
        font-size: 20px;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.body{
    .navbar{
        padding-right: 0 !important;
    }
}
@media (max-width: 991px) {
	.modal-dialog{
		    max-height: 80vh;
    min-height: auto;
	}
}