:root {
    --primary-color: #ff6b35;
    --secondary-color: #1a1a2e;
    --accent-color: #ffa500;
    --text-light: #ffffff;
    --overlay-dark: rgba(0, 0, 0, 0.6);
}

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

body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    background: #0f0f0f;
    color: var(--text-light);
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: -1;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(255, 107, 53, 0.3);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

/* Navigation Logo */
.navbar-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0 50px;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 1), 0 0 30px rgba(0, 0, 0, 0.8);
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1), 0 0 20px rgba(0, 0, 0, 0.8);
}

.btn-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(255, 107, 53, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-custom:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 35px rgba(255, 107, 53, 0.6);
    color: var(--text-light);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: rgba(15, 15, 15, 0.9);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-light);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service-card {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    height: 100%;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    background: rgba(26, 26, 46, 0.95);
}

.service-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: rgba(20, 20, 30, 0.9);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Videos Grid */
.videos-grid {
    margin-bottom: 60px;
}

.video-thumbnail {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    height: 100%;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.video-thumbnail:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.thumbnail-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.video-thumbnail:hover .thumbnail-image img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 4rem;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-overlay i {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    animation: modalOpen 0.5s ease;
}

@keyframes modalOpen {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 15px;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10002;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gallery-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.gallery-title {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    z-index: 10001;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 100px;
    position: relative;
}

.carousel-wrapper {
    width: 100%;
    max-width: 1400px;
    height: calc(100vh - 200px);
    max-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    padding: 0 140px;
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
}

.carousel-item.active {
    z-index: 3;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.carousel-item.prev {
    z-index: 2;
    opacity: 0.7;
    transform: translate(-120%, -50%) scale(0.8);
    filter: brightness(0.7);
}

.carousel-item.next {
    z-index: 2;
    opacity: 0.7;
    transform: translate(20%, -50%) scale(0.8);
    filter: brightness(0.7);
}

.carousel-item.hidden {
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.6);
}

/* Improved Gallery Images */
.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container.landscape img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.image-container.portrait img {
    max-width: 90%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.3);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 2rem;
    color: var(--text-light);
}

.carousel-arrow:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
    left: 50px;
}

.carousel-arrow-right {
    right: 50px;
}

/* Counter */
.carousel-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    background: rgba(255, 107, 53, 0.3);
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary-color);
    border-color: var(--text-light);
    width: 14px;
    height: 14px;
}

/* Reviews Section - ZAKTUALIZOWANE */
.reviews-section {
    padding: 100px 0;
    background: rgba(15, 15, 15, 0.9);
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

/* Custom avatar icon for reviews */
.review-avatar-custom {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.2);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.review-avatar-custom i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.review-header h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.review-stars {
    color: var(--accent-color);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.review-text {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 1rem;
}

.review-date {
    color: #888;
    font-size: 0.9rem;
    text-align: right;
    margin-top: auto;
}

/* Reviews Navigation */
.reviews-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.review-nav {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.3);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.review-nav:hover:not(:disabled) {
    background: var(--primary-color);
    transform: scale(1.1);
}

.review-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.review-dots {
    display: flex;
    gap: 10px;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.review-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: rgba(15, 15, 15, 0.9);
}

.contact-info {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    padding: 40px;
    height: 100%;
    border: 2px solid var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-item h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-light);
}

.contact-item p {
    margin: 0;
    color: #ccc;
}

.contact-item a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Map Container */
.map-container {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid var(--primary-color);
    height: 100%;
    backdrop-filter: blur(10px);
}

.map-container iframe {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 40px 0 20px;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    text-align: center;
    color: #ccc;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    color: var(--text-light);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
}

/* Responsive */
@media (max-width: 1200px) {
    .carousel-wrapper {
        padding: 0 100px;
        max-height: 700px;
    }
    
    .carousel-item {
        max-width: calc(100% - 200px);
    }
    
    .carousel-item.prev {
        transform: translate(-150%, -50%) scale(0.6);
    }
    
    .carousel-item.next {
        transform: translate(50%, -50%) scale(0.6);
    }
    
    .thumbnail-image {
        height: 220px;
    }
}

@media (max-width: 992px) {
    .carousel-wrapper {
        padding: 0 80px;
        max-height: 70vh;
    }
    
    .carousel-item {
        max-width: calc(100% - 160px);
    }
    
    .contact-section .row {
        flex-direction: column;
    }
    
    .map-container {
        margin-top: 30px;
        min-height: 300px;
    }
    
    .thumbnail-image {
        height: 200px;
    }
    
    /* Reviews tablet */
    .review-card {
        padding: 25px;
    }
    
    .review-avatar-custom {
        width: 50px;
        height: 50px;
    }
    
    .review-avatar-custom i {
        font-size: 1.5rem;
    }
    
    .review-header h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    /* Responsive dla logo */
    .navbar-logo {
        height: 30px;
        margin-right: 8px;
    }
    
    .gallery-title {
        font-size: 1.5rem;
        top: 20px;
    }
    
    .gallery-close {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .carousel-container {
        padding: 80px 0 80px;
    }
    
    .carousel-wrapper {
        height: calc(100vh - 160px);
        max-height: 600px;
        padding: 0 70px;
    }
    
    .carousel-item {
        max-width: calc(100% - 140px);
    }
    
    .carousel-item.active {
        transform: translate(-50%, -50%) scale(1);
    }
    
    .carousel-item.prev {
        transform: translate(-160%, -50%) scale(0.55);
        opacity: 0.3;
    }
    
    .carousel-item.next {
        transform: translate(60%, -50%) scale(0.55);
        opacity: 0.3;
    }
    
    .carousel-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .carousel-arrow-left {
        left: 10px;
    }
    
    .carousel-arrow-right {
        right: 10px;
    }
    
    .carousel-counter {
        bottom: 15px;
    }
    
    .carousel-dots {
        bottom: 60px;
    }
    
    .thumbnail-image {
        height: 180px;
    }
    
    .play-overlay i {
        font-size: 3rem;
        width: 60px;
        height: 60px;
    }
    
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal-close {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Reviews mobile */
    .review-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .review-avatar-custom {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .review-avatar-custom i {
        font-size: 1.3rem;
    }
    
    .review-header h4 {
        font-size: 1rem;
    }
    
    .review-stars {
        font-size: 1rem;
    }
    
    .review-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .review-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .review-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 576px) {
    .carousel-wrapper {
        padding: 0 40px;
        max-height: 50vh;
    }
    
    .carousel-item {
        max-width: calc(100% - 80px);
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-arrow-left {
        left: 5px;
    }
    
    .carousel-arrow-right {
        right: 5px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    /* Responsive dla logo */
    .navbar-logo {
        height: 25px;
        margin-right: 5px;
    }
    
    .thumbnail-image {
        height: 160px;
    }
    
    .video-thumbnail {
        margin-bottom: 20px;
    }
    
    .video-modal-content {
        width: 98%;
    }
    
    .play-overlay i {
        font-size: 2.5rem;
        width: 50px;
        height: 50px;
    }
    
    /* Reviews small mobile */
    .reviews-section {
        padding: 80px 0;
    }
    
    .reviews-container {
        padding: 0 10px;
    }
    
    .review-card {
        padding: 18px;
    }
    
    .review-header {
        margin-bottom: 15px;
    }
    
    .review-avatar-custom {
        width: 40px;
        height: 40px;
    }
    
    .review-avatar-custom i {
        font-size: 1.2rem;
    }
}