/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        
:root {
    --bg-color: #0a0a0a;
    --accent-color: #00f2ff;
    --text-color: #ffffff;
    --text-secondary: #8a8a8a;
    --font-main: 'Space Grotesk', sans-serif;
    --easy-color: #4CAF50;
    --medium-color: #FF9800;
    --expert-color: #F44336;
    --gradient-1: linear-gradient(45deg, #00f2ff, #4facfe);
    --gradient-2: linear-gradient(135deg, #0c71c3, #8e2de2);
}

html, body {
    height: 100%;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Animacje */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Nawigacja */
.navbar {
    position: fixed;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    z-index: 1000;
    transition: all 0.3s;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 2px;
    background: var(--gradient-1);
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

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

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.5));
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, var(--bg-color), transparent);
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 1;
    position: relative;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out forwards;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
    display: block;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.scroll-text {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}
.scroll-icon::before {
    content: '';
    width: 4px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 2px;
    animation: scrollDown 1.5s infinite;
}
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.layer-1 {
    background: radial-gradient(circle at 20% 20%, rgba(0, 242, 255, 0.1) 0%, transparent 80%);
}
.layer-2 {
    background: radial-gradient(circle at 80% 80%, rgba(142, 45, 226, 0.1) 0%, transparent 80%);
}
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}
.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-1);
    opacity: 0.1;
    filter: blur(10px);
}
.shape-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}
.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}
.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation: float 7s ease-in-out infinite;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: color 0.3s;
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
    z-index: 1;
    border-radius: 30px;
}

.btn.small {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    animation: none;
    opacity: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: transform 0.5s;
    transform: skewX(30deg);
    z-index: -1;
}

.btn:hover {
    color: var(--bg-color);
}

.btn:hover::before {
    transform: skewX(30deg) translateX(100%);
}
.btn-glow {
    position: relative;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-1);
    border-radius: 35px;
    z-index: -2;
    animation: ripple 2s infinite;
    opacity: 0;
}
.btn:hover .btn-glow::after {
    opacity: 1;
}

/* Sekcje */
section {
    padding: 8rem 0;
}

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

.section-tag {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--gradient-1);
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, var(--text-color) 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient 5s ease infinite;
}

/* Dodaję divider dla sekcji */
.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color) 50%, transparent);
    margin: 2rem 0;
    opacity: 0.2;
}

/* Rowery */
.bikes-grid {
    display: grid;
    /* Responsywny grid */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.7rem;
    margin-top: 4rem;
    justify-items: center;
}

.bike-card {
    background-color: rgba(25, 25, 25, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s;
    transform: translateY(0);
    opacity: 1;
    min-height: 380px;
    width: 100%;
    max-width: 410px;
    cursor: pointer;
}

.bike-card.animate-in, .bike-card:hover {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bike-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px) scale(1.02);
}

.bike-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.bike-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(10, 10, 10, 0.8) 100%);
}

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

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

.bike-details {
    padding: 1.7rem;
    position: relative;
    z-index: 1;
}

.bike-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    transition: all 0.3s;
}

.bike-card:hover .bike-name {
    animation: gradient 3s ease infinite;
}

.bike-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.8rem 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s;
}

.bike-card:hover .spec-item {
    background-color: rgba(0, 242, 255, 0.1);
    transform: translateY(-5px);
}

.spec-value {
    font-weight: 600;
    color: var(--accent-color);
    transition: all 0.3s;
}

.bike-card:hover .spec-value {
    transform: scale(1.1);
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.bike-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
}

.price-tag {
    font-size: 1.25rem;
    font-weight: 700;
    transition: all 0.3s;
}

.bike-card:hover .price-tag {
    color: var(--accent-color);
}

.reservation-btn {
    padding: 8px 18px;
    font-size: 1rem;
    font-weight: 600;
    min-height: 36px;
    min-width: 90px;
}

/* Animacje elementów przy przewijaniu */
.animate-element {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1.0);
}

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

/* Trasy */
#trails {
    background-color: #0d0d0d;
    position: relative;
    overflow: hidden;
}
#trails::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    top: 10%;
    left: -200px;
    z-index: 0;
}
.trails-container {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}
.trail-card {
    display: flex;
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
}
.trail-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}
.trail-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 242, 255, 0.3);
}
.trail-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}
.trail-image iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.trail-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 50%, rgba(10, 10, 10, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}
.difficulty-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}
.trail-card:hover .difficulty-badge {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.difficulty-badge.easy {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
}
.difficulty-badge.medium {
    background: linear-gradient(45deg, #f39c12, #e67e22);
}
.difficulty-badge.expert {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}
.trail-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.trail-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gradient-1);
    transition: height 0.3s ease;
}
.trail-card:hover .trail-content::before {
    height: 100%;
}
.trail-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}
.trail-card:hover .trail-content h3 {
    color: var(--accent-color);
    transform: translateX(5px);
}
.trail-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.trail-info .icon {
    color: var(--accent-color);
    margin-right: 5px;
    transition: all 0.3s;
}
.trail-card:hover .trail-info .icon {
    transform: scale(1.2);
}
.trail-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #aaa;
    flex-grow: 1;
    line-height: 1.6;
}

/* Promocje */
#promocje {
    position: relative;
}
#promocje::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -300px;
    right: -300px;
    z-index: -1;
}
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
.offer-card highlight {
    border-color: var(--accent-color);
    background-color: rgba(0, 242, 255, 0.05);
}
.offer-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 5px 10px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 5px;
}
.offer-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-right: 60px;
}
.offer-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.offer-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.offer-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #ddd;
}
.offer-features li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}
.offer-price {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}
.price-old {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-right: 1rem;
}
.price-new {
    color: var(--accent-color);
}
.offer-card.highlight .btn {
    background-color: var(--accent-color);
    color: var(--bg-color);
}
.offer-card.highlight .btn::before {
    display: none;
}
.offer-card.highlight {
    animation: pulse 2s infinite;
}

/* Kontakt */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full {
    grid-column: span 2;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    flex-shrink: 0;
    margin-top: auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 4rem 0 2rem;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}
.footer-col p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.copyright {
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsywność */
@media (max-width: 992px) {
    .trails-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full {
        grid-column: span 1;
    }
    
    .trail-card {
        flex-direction: column;
        height: auto;
    }
    
    .trail-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .bikes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Nasze doświadczenie */
#wypozyczenie {
    background-color: #0a0a0a;
    position: relative;
    overflow: hidden;
}

#wypozyczenie::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -300px;
    left: -300px;
    z-index: 0;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.experience-card {
    background-color: rgba(25, 25, 25, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 242, 255, 0.2);
}

.exp-icon {
    margin-bottom: 1.5rem;
    background-color: rgba(0, 242, 255, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.experience-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    text-align: center;
}

.stat-item {
    background-color: rgba(25, 25, 25, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Galeria */
#galeria {
    background-color: #0d0d0d;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

#galeria::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    top: -350px;
    right: -350px;
    z-index: 0;
}

#galeria::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 45, 226, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -250px;
    left: -250px;
    z-index: 0;
}

/* Opinie klientów */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.review-card {
    background-color: rgba(25, 25, 25, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.4s;
    transform: translateY(30px);
    opacity: 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.review-card.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.review-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-color);
    font-weight: 600;
    margin-right: 1rem;
}

.review-info h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
}

.review-rating {
    color: #FFD700;
    font-size: 1.1rem;
}

.star.half {
    position: relative;
    display: inline-block;
}

.star.half::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.2);
}

.review-content {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-date {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-align: right;
}

/* FAQ */
#faq {
    background-color: var(--bg-color);
}

.faq-container {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background-color: rgba(25, 25, 25, 0.3);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding: 1.5rem 0;
    color: var(--text-secondary);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Newsletter */
.newsletter {
    background-color: #0d0d0d;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 0;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-text p {
    color: var(--text-secondary);
}

.newsletter-form {
    flex: 1;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 2;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form .btn {
    flex: 1;
    padding: 0;
    margin: 0;
    opacity: 1;
    animation: none;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item, .gallery-item.wide {
        grid-column: span 1;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Rezerwacji */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10,10,10,0.85);
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.rental-limits {
    background-color: rgba(255, 235, 59, 0.1);
    border-left: 3px solid rgba(255, 235, 59, 0.5);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0 5px 5px 0;
}

.rental-limits p {
    color: #FFC107;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
}

.limit-icon {
    margin-right: 0.5rem;
    font-style: normal;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.quantity-selector label {
    font-size: 1rem;
    color: var(--text-color);
}

.quantity-selector select {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.quantity-selector select:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.modal-content {
    background: #181818;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45);
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    max-width: 370px;
    width: 100%;
    position: relative;
    max-height: 70vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-size: 0.85rem;
}

.modal-content h2, .modal-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}

.reservation-details {
    gap: 1.1rem;
}

.selected-dates-info p {
    font-size: 0.95em;
}

.reservation-actions .btn {
    font-size: 1rem;
    padding: 8px 18px;
    min-width: 90px;
    min-height: 36px;
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1;
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal-content h2 {
    margin: 0;
    padding: 1rem;
    font-size: 1.5rem;
    text-align: center;
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.1) 0%, rgba(10, 10, 10, 0.5) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reservation-details {
    padding: 1rem;
}

.selected-bike {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.selected-bike h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--accent-color);
}

.selected-bike p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Kalendarz */
.calendar-container {
    margin-bottom: 1rem;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.3s ease;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-nav {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.calendar-nav:hover {
    background-color: rgba(0, 242, 255, 0.1);
    color: var(--accent-color);
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
    margin-bottom: 0.5rem;
}

.weekdays div {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 3px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    height: 32px;
    width: 32px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    position: relative;
}

.calendar-day.empty {
    background: none;
    cursor: default;
    height: 32px;
    width: 32px;
}

.calendar-day.past {
    color: #444;
    cursor: not-allowed;
}

.calendar-day.today {
    border: 1px solid var(--accent-color);
}

.calendar-day.available:hover {
    background-color: rgba(0, 242, 255, 0.1);
}

.calendar-day.selected {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: bold;
}

.reservation-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.reservation-actions .btn {
    min-width: 180px;
    opacity: 1;
    animation: none;
    text-align: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .weekdays div, .calendar-day {
        font-size: 0.8rem;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .price-legend {
        gap: 0.6rem;
        font-size: 0.7rem;
    }
}

.price-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.medium-price {
    background-color: #FF9800;
}

.high-price {
    background-color: #F44336;
}

.discount-price {
    background-color: #4CAF50;
}

.discount-price-high {
    background-color: #00C853;
}

#priceInfo {
    display: none;
    background-color: rgba(0, 242, 255, 0.1);
    padding: 0.6rem;
    border-radius: 8px;
    margin-top: 0.8rem;
    border: 1px solid rgba(0, 242, 255, 0.2);
}

#priceInfo p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

#selectedDayPrice {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
}

.price-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0.8rem 0;
    font-size: 0.8rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.legend-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.trail-actions {
    display: flex;
    gap: 1rem;
}

.map-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 30px;
    background: transparent;
    transition: all 0.3s;
}

.map-btn:hover {
    background-color: rgba(0, 242, 255, 0.1);
}
/* Style dla rozwijalnej legendy */
.expandable-legend {
    margin-bottom: 1.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background-color: rgba(0, 242, 255, 0.05);
    cursor: pointer;
}

.legend-header span {
    font-weight: 500;
    color: var(--accent-color);
}

.expand-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.expand-btn.active {
    transform: rotate(45deg);
}

.legend-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.legend-content.active {
    max-height: 300px;
    padding: 1rem;
}

.legend-info {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
#currentMonth {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}
.gallery-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* CSS dla hamburger menu i menu mobilnego */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s;
}
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s;
}
.mobile-menu.active {
    transform: translateY(0);
}
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
.mobile-menu li {
    margin: 2rem 0;
}
.mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s;
}
.mobile-menu a:hover {
    color: var(--accent-color);
}
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}
/* Dodaję style dla zakresu dat i oznaczenia dostępności */
.date-range-selector {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}
.date-field {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.date-field label {
    margin-bottom: 0.3rem;
    color: var(--accent-color);
    font-size: 0.9rem;
}
.date-field span {
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.date-field span:hover {
    background-color: rgba(0, 242, 255, 0.1);
    border-color: var(--accent-color);
}

.date-field span.active {
    background-color: rgba(0, 242, 255, 0.15);
    border-color: var(--accent-color);
}
.bikes-available {
    position: absolute;
    bottom: 2px;
    font-size: 0.7rem;
    color: var(--accent-color);
}
.calendar-day.selected-start {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: bold;
}
.calendar-day.selected-end {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: bold;
}
.calendar-day.in-range {
    background-color: rgba(0, 242, 255, 0.2);
}
.calendar-day.unavailable {
    background-color: rgba(255, 0, 0, 0.1);
    cursor: not-allowed;
    color: #666;
}
/* Style dla komunikatów o dostępności */
.low-availability {
    color: #ff4d4d;
    font-weight: 600;
}

.medium-availability {
    color: #ffcc00;
    font-weight: 600;
}

.high-availability {
    color: #4CAF50;
    font-weight: 600;
}

/* Style dla wyświetlania dostępności w legendzie */
.availability-display {
    padding: 0.5rem 0;
}

.availability-title {
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
}

.availability-details {
    font-size: 0.9rem;
    line-height: 1.5;
}

.availability-details p {
    margin: 0.3rem 0;
}

.availability-details span {
    font-weight: 600;
    color: var(--accent-color);
}

/* Styl dla wyłączonego przycisku */
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #999;
}

.btn.disabled:hover::before {
    transform: none;
}

.btn.disabled:hover {
    color: #999;
}
/* Dodaję nowe style dla komunikatu o braku dostępności */
.no-availability-alert {
    background-color: rgba(255, 0, 0, 0.1);
    border-left: 3px solid #ff4d4d;
    padding: 0.8rem;
    margin: 0.8rem 0;
    border-radius: 0 5px 5px 0;
    display: none;
}
.no-availability-alert p {
    color: #ff4d4d;
    margin: 0;
    font-weight: 500;
}
/* Tooltip dla dni w kalendarzu */
.calendar-day {
    position: relative;
}
.calendar-day .day-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 1; /* Zmieniam z 0 na 1, aby tooltip był zawsze widoczny */
    z-index: 10;
}
/* Usuwam regułę hover, aby tooltip był zawsze widoczny */
/* .calendar-day:hover .day-tooltip {
    opacity: 1;
} */
/* Wyraźniejsze oznaczenie dla dni bez rowerów */
.calendar-day.unavailable {
    background-color: rgba(255, 0, 0, 0.2);
    cursor: not-allowed;
    color: #666;
    position: relative;
}
.calendar-day.unavailable::after {
    content: '✕';
    font-size: 0.7rem;
    position: absolute;
    top: 2px;
    right: 2px;
    color: #ff4d4d;
}
/* Animacja podświetlenia wybranej daty */
@keyframes datePulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(0, 242, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 242, 255, 0); }
}
.calendar-day.selected-start,
.calendar-day.selected-end {
    animation: datePulse 1.5s infinite;
    z-index: 5;
}
.calendar-day.selected-pulse {
    box-shadow: 0 0 0 3px var(--accent-color);
    transition: box-shadow 0.3s ease;
}

/* Styl dla przycisku resetującego rezerwacje */
.reset-reservation {
    text-align: center;
    margin-top: 1rem;
}
.reset-btn {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 0.9rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s;
}
.reset-btn:hover {
    color: #ff4757;
    text-decoration: none;
}
/* Styl dla przycisku odświeżania danych */
.refresh-btn {
    background: none;
    border: none;
    color: #00a8ff;
    font-size: 0.9rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
    transition: all 0.3s;
}
.refresh-btn:hover {
    color: #0097e6;
    text-decoration: none;
}
/* Dodaję styl dla zawsze widocznych opcji rowerów */
.bike-options {
    margin-bottom: 1.5rem;
}
.bike-options label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-weight: 500;
}
.bike-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 1rem;
}
.bike-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.bike-option input[type="radio"] {
    accent-color: var(--accent-color);
}
.bike-option label {
    margin-bottom: 0;
}
/* Dodaj te style do bloku style.textContent w funkcji DOMContentLoaded */
.contact-info {
    margin-bottom: 1.5rem;
}
.contact-info label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}
.contact-info input {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border-radius: 5px;
}
.contact-info input:focus {
    border-color: var(--accent-color);
    outline: none;
}

.selected-days-container {
    margin-bottom: 1.5rem;
}

.selected-days-list {
    max-height: 150px;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
}

.selected-day-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.selected-day-item:last-child {
    border-bottom: none;
}

.remove-day-btn {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 5px;
}

.remove-day-btn:hover {
    color: #ff4757;
}

.calendar-day.selected {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: bold;
}

.calendar-day.reserved {
    background-color: rgba(255, 0, 0, 0.2);
    color: #666;
    cursor: not-allowed;
    position: relative;
}

.calendar-day.reserved::after {
    content: '×';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 0, 0, 0.7);
    font-size: 1.2rem;
    font-weight: bold;
}

.calendar-day {
    position: relative;
}

.day-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}

.calendar-day:hover .day-tooltip {
    display: block;
}

.calendar-day.unavailable {
    background-color: rgba(255, 0, 0, 0.2);
    cursor: not-allowed;
    color: #666;
    position: relative;
}

/* New Calendar Styles */
.new-calendar-container {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.3s ease;
    margin-top: 1rem;
    /* Ograniczamy szerokość kalendarza, żeby nie rozjeżdżał modala */
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.new-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem; /* Increased margin */
}

.new-calendar-nav {
    background: none;
    border: 1px solid transparent; /* Added transparent border for consistent size */
    color: var(--text-color);
    font-size: 1.5rem; /* Increased font size */
    cursor: pointer;
    width: 36px; /* Increased size */
    height: 36px; /* Increased size */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.new-calendar-nav:hover {
    background-color: rgba(0, 242, 255, 0.15); /* Slightly darker hover */
    color: var(--accent-color);
    border-color: var(--accent-color); /* Add border on hover */
}

#newCurrentMonthYear {
    font-size: 1.25rem; /* Increased font size */
    font-weight: 600; /* Made it bolder */
    color: var(--accent-color); /* Changed color to accent */
}

.new-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
    margin-bottom: 1rem; /* Increased margin */
}

.new-weekdays div {
    font-size: 0.9rem; /* Slightly larger font */
    color: var(--text-secondary);
    padding: 5px; /* Added padding */
    font-weight: 500; /* Slightly bolder */
}

.new-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    /* Zmniejszamy odstępy między dniami, żeby wszystko się mieściło */
    gap: 2px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.new-calendar-day {
    /* Zmniejszamy rozmiar pojedynczego dnia, żeby nie rozpychał kalendarza */
    height: 28px;
    width: 28px;
    font-size: 0.85rem;
    /* Pełne koło dla każdego dnia */
    border-radius: 50%;
}

.new-calendar-day.empty {
    background: none;
    cursor: default;
}

.new-calendar-day.past {
    color: #555; /* Darker for past days */
    cursor: not-allowed;
    text-decoration: line-through; /* Added line-through */
}
 .new-calendar-day.disabled { /* For days that are unavailable for booking */
    color: #666;
    background-color: rgba(255,255,255,0.05);
    cursor: not-allowed;
    text-decoration: line-through;
}

.new-calendar-day.today {
    border: 1px solid var(--accent-color);
    font-weight: bold;
    color: var(--accent-color);
}

.new-calendar-day:not(.empty):not(.past):not(.disabled):hover {
    background-color: rgba(0, 242, 255, 0.15);
    border-color: rgba(0, 242, 255, 0.5);
}

.new-calendar-day.selected-start,
.new-calendar-day.selected-end {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: bold;
    border-color: var(--accent-color);
}

.new-calendar-day.in-range {
    background-color: rgba(0, 242, 255, 0.25); /* More visible in-range */
    border-color: rgba(0, 242, 255, 0.1);
    border-radius: 0; /* Square off in-range days for a continuous look */
}

/* Make start and end of range circular */
.new-calendar-day.selected-start.in-range,
.new-calendar-day.selected-end.in-range {
    border-radius: 50%;
}


.selected-dates-info {
    margin-top: 1.5rem; /* Increased margin */
    padding: 1rem; /* Increased padding */
    background-color: rgba(255, 255, 255, 0.03); /* Slightly different background */
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08); /* Slightly darker border */
    text-align: left; /* Align text to left for better readability */
}

.selected-dates-info p {
    margin: 0.5rem 0; /* Adjusted margin */
    font-size: 1rem; /* Increased font size */
}
.selected-dates-info strong {
    color: var(--accent-color);
    font-weight: 600; /* Bolder strong tags */
}

#newCalendarError {
    color: #ff4d4d;
    margin: 1rem 0 0 0; /* Adjusted margin */
    font-weight: 500; /* Bolder error message */
    text-align: center;
}

/* Responsive Calendar Styles */
@media (max-width: 576px) {
    .new-calendar-container {
        padding: 1rem; /* Reduced padding for smaller screens */
    }

    .new-calendar-header {
        margin-bottom: 1rem;
    }

    .new-calendar-nav {
        font-size: 1.3rem;
        width: 32px;
        height: 32px;
    }

    #newCurrentMonthYear {
        font-size: 1.1rem;
    }

    .new-weekdays div {
        font-size: 0.8rem;
        padding: 3px;
    }

    .new-calendar-days {
        gap: 4px; /* Slightly reduced gap */
    }

    .new-calendar-day {
        height: 34px; /* Adjusted size for smaller screens */
        width: 34px;
        font-size: 0.85rem;
    }

    .selected-dates-info {
        padding: 0.8rem;
        margin-top: 1rem;
    }

    .selected-dates-info p {
        font-size: 0.9rem;
    }

    .modal-content {
         /* Ensure modal content can scroll if calendar makes it too tall */
        max-height: 90vh; 
        overflow-y: auto;
    }
}

 @media (max-width: 380px) { /* Even smaller screens */
    .new-calendar-day {
        height: 30px;
        width: 30px;
        font-size: 0.75rem;
    }
     .new-weekdays div {
        font-size: 0.7rem;
    }
    #newCurrentMonthYear {
        font-size: 1rem;
    }
     .new-calendar-nav {
        font-size: 1.2rem;
        width: 28px;
        height: 28px;
    }
}
