/* ============================================
   RESET I PODSTAWOWE STYLE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Kolory */
    --bg-dark: #1c1c1c;
    --bg-darker: #151515;
    --bg-light: #2a2a2a;
    --accent-red: #C40000;
    --accent-orange: #F68C22;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    
    /* Fonty */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Przejścia */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   HEADER I NAWIGACJA
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.logo-phone {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 500;
    display: block;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .logo-phone {
        font-size: 0.65rem;
    }
}

/* Menu nawigacyjne */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--accent-red);
}

/* Przycisk CTA w headerze */
.btn-cta-header {
    background-color: var(--accent-red);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(196, 0, 0, 0.3);
}

.btn-cta-header:hover {
    background-color: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 0, 0, 0.4);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   SEKCJA HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1c1c1c 0%, #2a2a2a 100%);
    background-size: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding-top: 0;
    margin-top: 60vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    display: inline-block;
    background-color: var(--accent-red);
    color: var(--text-primary);
    padding: 1.25rem 3rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 6px 25px rgba(196, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    background-color: #a00000;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(196, 0, 0, 0.5);
}

/* ============================================
   SEKCJA PARTNERSTWA ELTROX
   ============================================ */
.partnership {
    padding: 5rem 0;
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.partnership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.partnership-content {
    padding-right: 2rem;
}

.partnership-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.highlight-orange {
    color: var(--accent-orange);
}

.partnership-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.partnership-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.eltrox-logo {
    text-align: center;
    padding: 2rem;
    background: rgba(246, 140, 34, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(246, 140, 34, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eltrox-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

.eltrox-name {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: 5px;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(246, 140, 34, 0.5);
}

.eltrox-tagline {
    font-size: 1.25rem;
    color: var(--accent-orange);
    font-weight: 500;
    font-style: italic;
}

/* ============================================
   SEKCJA USŁUGI
   ============================================ */
.services {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(196, 0, 0, 0.2);
    border-color: rgba(196, 0, 0, 0.3);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(196, 0, 0, 0.3));
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--bg-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo .logo-img {
    height: 189px;
    max-width: 594px;
}

.footer-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-contact iframe {
    max-width: 100%;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .footer-contact iframe {
        height: 180px;
    }
}

.contact-item {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-item strong {
    color: var(--text-primary);
    margin-right: 0.5rem;
}

.contact-item a {
    color: var(--accent-red);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-red);
}

.footer-links span {
    color: var(--text-muted);
}

/* ============================================
   RESPONSYWNOŚĆ - TABLET
   ============================================ */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .partnership-content {
        padding-right: 0;
        text-align: center;
    }
    
    .eltrox-logo-img {
        max-height: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   RESPONSYWNOŚĆ - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-darker);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 1.25rem;
    }
    
    .btn-cta-header {
        display: none;
    }
    
    .hero {
        min-height: 500px;
        padding: 0 1rem;
    }
    
    .hero-background {
        background-size: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .partnership {
        padding: 3rem 0;
    }
    
    .partnership-title {
        font-size: 1.75rem;
    }
    
    .partnership-text {
        font-size: 1rem;
    }
    
    .eltrox-logo-img {
        max-height: 120px;
    }
    
    .services {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .hero-background {
        background-size: 120%;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .partnership-title {
        font-size: 1.5rem;
    }
    
    .eltrox-logo {
        padding: 2rem;
    }
    
    .eltrox-logo-img {
        max-height: 100px;
    }
}

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

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* ============================================
   SEKCJA REALIZACJE
   ============================================ */
.realizations-preview {
    padding: 6rem 0;
    background-color: var(--bg-darker);
}

/* Carousel dla realizacji */
.carousel-wrapper {
    position: relative;
    margin: 2rem 0;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.carousel-slide {
    flex: 0 0 calc(33.333% - 1.333rem);
    min-width: 0;
}

.realizations-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--accent-red);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(196, 0, 0, 0.3);
}

.carousel-btn:hover {
    background-color: #a30000;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

.carousel-btn span {
    line-height: 1;
    font-weight: bold;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background-color: var(--accent-red);
    transform: scale(1.2);
}

@media (max-width: 968px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .carousel-btn-prev {
        left: -20px;
    }
    
    .carousel-btn-next {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 100%;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
}

.realization-card-preview {
    background-color: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.realization-card-preview:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(196, 0, 0, 0.3);
    border-color: var(--accent-red);
}

.realization-image-preview {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.realization-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.realization-content-preview {
    padding: 1.5rem;
}

.realization-content-preview h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.realization-content-preview p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: 1rem 0;
    background-color: var(--bg-darker);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb-list li {
    color: var(--text-secondary);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.breadcrumb-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-list a:hover {
    color: var(--accent-red);
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--text-primary);
}

/* ============================================
   SEKCJA O NAS
   ============================================ */
.about-section {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.125rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ============================================
   SEKCJA OBSŁUGIWANE MIEJSCOWOŚCI
   ============================================ */
.locations-section {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.locations-content {
    max-width: 1000px;
    margin: 0 auto;
}

.locations-intro {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.location-group h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.location-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-list li {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 2;
    padding-left: 1.5rem;
    position: relative;
}

.location-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.locations-note {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-darker);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .locations-intro {
        font-size: 1rem;
    }
    
    .location-group h3 {
        font-size: 1.25rem;
    }
}

