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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #f8f9fa;
}

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

.container, .row, [class*="col-"] {
    overflow: visible !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #8B1538 0%, #B91E4A 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M0,1000V0h1000v1000H0z" fill="none"/><path d="M200,800c100-50,200-100,300-50s200,100,300,50s200-100,200-50v250H0V800z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat center center;
    background-size: cover;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.logo-image {
    height: 300px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.company-name {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-hero {
    background-color: #fff;
    color: #8B1538;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.9s both;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

/* Sections */
section {
    padding: 100px 0;
    overflow-x: hidden;
    max-width: 100vw;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f8f9fa;
    display: flow-root;
    padding-top: 0px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature i {
    color: #8B1538;
    font-size: 1.3rem;
    margin-right: 1rem;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Fleet Section */
.fleet {
    background: white;
}

.fleet .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    overflow: visible;
}

.fleet .row > [class*="col-"] {
    display: flex;
    margin-bottom: 2rem;
    overflow: visible;
}

.car-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0 0 15px 0;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 10;
}

.car-image {
    height: 250px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

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

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

.car-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
}

.car-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.car-features {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
    flex: 1;
}

.car-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.car-features li:last-child {
    border-bottom: none;
}

.car-features li span strong {
    color: #8B1538;
    font-weight: 700;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B1538;
    text-align: center;
    margin-top: auto; /* Pcha cenę na sam dół */
    padding-top: 1rem;
    border-top: 1px solid #eee;
    margin-bottom: 0;
}

/* Location Section */
.location {
    background: #f8f9fa;
}

.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Address Box */
.address-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.address-box h4 {
    color: #8B1538;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.address-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.address-content i {
    font-size: 3rem;
    color: #8B1538;
    margin-bottom: 1rem;
}

.address-text p {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0.3rem 0;
    line-height: 1.4;
}

.address-text p:first-child {
    font-weight: 600;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #8B1538 0%, #B91E4A 100%);
    color: white;
}

.contact .section-title h2,
.contact .section-title p {
    color: white;
}

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

.contact-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: #8B1538;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.contact-icon.whatsapp {
    background: #25D366;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card h4 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-card p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.contact-btn:hover {
    background: #8B1538;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.whatsapp-btn:hover {
    background: #25D366;
    color: white;
}

/* Contact Info Box */
.contact-info-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: white;
}

.info-item i {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.info-item h5 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.info-item p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #999;
    padding: 1.5rem 0;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #8B1538;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #B91E4A;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #8B1538;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.scroll-top:hover {
    background: #B91E4A;
    transform: translateY(-3px);
}

/* Side Card */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    max-width: 380px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s ease;
    border-left: 4px solid #8B1538;
}

.cookie-banner.show {
    transform: translateX(0);
}

.cookie-content {
    padding: 2rem;
}

.cookie-text h4 {
    color: #8B1538;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
/* Privacy Policy Modal */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.privacy-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    visibility: visible;
}

.privacy-modal-content {
    background: white;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    animation: modalShow 0.3s ease forwards;
    width: 100%;
    position: relative;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.privacy-modal.hiding {
    opacity: 0;
    visibility: visible;
    transition: opacity 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalShow {
    to { transform: scale(1); }
}

.privacy-modal-header {
    background: linear-gradient(135deg, #8B1538 0%, #B91E4A 100%);
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.privacy-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.privacy-modal-body {
    padding: 2rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    line-height: 1.6;
    flex: 1;
}

.privacy-modal.show .privacy-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.privacy-modal.hiding .privacy-modal-content {
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.25s ease-out;
}

.privacy-modal-body h3 {
    color: #8B1538;
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid #8B1538;
    padding-bottom: 0.5rem;
}

.privacy-modal-body h3:first-child {
    margin-top: 0;
}

.privacy-modal-body p {
    margin-bottom: 1rem;
    color: #333;
}

.privacy-modal-body ul {
    margin: 1rem 0 1rem 1.5rem;
}

.privacy-modal-body li {
    margin-bottom: 0.5rem;
    color: #555;
}

.privacy-date {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #8B1538;
    margin-top: 2rem;
}

.privacy-modal-body h3:first-child {
    margin-top: 0;
}

/* Privacy Links */
.privacy-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: underline !important;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    color: white !important;
    text-decoration: none !important;
}

.footer .privacy-link {
    color: #8B1538 !important;
}

.footer .privacy-link:hover {
    color: #B91E4A !important;
}
.cookie-text p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
}

.btn-accept {
    background: linear-gradient(45deg, #8B1538, #B91E4A);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4);
}

.btn-decline {
    background: transparent;
    color: #8B1538;
    border: 2px solid #8B1538;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-decline:hover {
    background: #8B1538;
    color: white;
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.hamburger-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8B1538, #B91E4A);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4);
}

.hamburger-btn span {
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(135deg, #8B1538 0%, #B91E4A 100%);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -5px 0 25px rgba(0,0,0,0.3);
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-content {
    padding: 2rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    color: white;
}

.close-btn {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.close-btn:hover {
    transform: scale(1.2);
}

.mobile-nav-links {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-nav-links a:hover {
    padding-left: 1rem;
    color: #f8f9fa;
}

.mobile-nav-footer {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    margin-top: auto;
}

.mobile-nav-footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}



/* Privacy Links */
.privacy-link {
    color: #1a1a1a !important;
    text-decoration: underline !important;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    color: #333 !important;
    text-decoration: none !important;
}

.footer .privacy-link {
    color: #8B1538 !important;
    text-decoration: none !important;
}

.footer .privacy-link:hover {
    color: #B91E4A !important;
    text-decoration: none !important;
}

.privacy-modal:not(.show):not(.hiding) {
    pointer-events: none;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease;
    overflow-x: hidden;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease;
    overflow-x: hidden;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-image {
        height: 200px;
    }
    
    .company-name {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .fleet .row > [class*="col-"] {
        margin-bottom: 4rem;
    }

    .address-box {
        height: auto;
        min-height: 250px;
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .address-content i {
        font-size: 2.5rem;
    }
    
    .address-box h4 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .address-text p {
        font-size: 1rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .contact-info-box {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }

    .privacy-modal {
        padding: 10px;
    }
    
    .privacy-modal-content {
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .privacy-modal-header {
        padding: 1.5rem;
    }
    
    .privacy-modal-header h2 {
        font-size: 1.2rem;
    }
    
    .privacy-modal-body {
        padding: 1.5rem;
        max-height: calc(95vh - 100px);
    }

    .mobile-nav {
        width: 100vw;
    }
    
    .hamburger-menu {
        right: 15px;
        top: 15px;
    }

    .price {
        font-size: 1.6rem;
        padding: 1.5rem;
        border-bottom:2px solid #8B1538;
    }

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

@media (max-width: 1199px) {
    .fleet .row > [class*="col-"] {
        margin-bottom: 2rem;
    }
}

@media (max-width: 991px) {
    .fleet .row {
        align-items: stretch;
    }
    
    .car-info {
        padding: 1.5rem;
    }
    
    .car-image {
        height: 200px;
    }
}

@media (max-width: 575px) {
    .fleet .row > [class*="col-"] {
        margin-bottom: 7rem;
    }
    
    .car-info {
        padding: 1rem;
    }
}