
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0d0d0d;
    color: #f2f2f2;
}
header, footer {
    background-color: #1a1a1a;
    padding: 1rem;
    text-align: center;
}
nav a {
    color: #f2f2f2;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: bold;
}
nav a:hover {
    color: #ffcc00;
}
main {
    padding: 2rem;
    max-width: 1000px;
    margin: auto;
}
h1, h2 {
    color: #ffcc00;
}
footer a {
    color: #ffcc00;
    text-decoration: none;
}
.hero {
    background-image: url('../images/taxi-night.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 5px #000;
}
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
form input, form textarea {
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
}
form button {
    padding: 0.7rem;
    background-color: #ffcc00;
    border: none;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.call-button {
    display: inline-block;
    margin-top: 1rem;
    background-color: #ffcc00;
    color: #000;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.call-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #ffcc00;
}
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 0.3s;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

html {
    scroll-behavior: smooth;
}
.hero-title {
    background-image: url('../images/taxi-night.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.main-heading {
    font-size: 2rem;
    color: #fff;
    text-shadow: 2px 2px 10px #000;
    animation: slideIn 1s ease-out forwards;
}
.service-list {
    list-style: none;
    padding: 0;
}
.service-list li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.site-logo {
    height: 50px;
    margin-right: 1rem;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem;
}
.site-title {
    color: #ffcc00;
    font-size: 1.5rem;
    margin-right: auto;
}
.call-button:active {
    transform: scale(0.95);
    box-shadow: 0 0 20px #ffcc00;
}
nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
nav a {
    position: relative;
    transition: color 0.3s ease;
}
nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #ffcc00;
    left: 0;
    bottom: -4px;
    transition: width 0.3s;
}
nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    color: #ffcc00;
    border: none;
    cursor: pointer;
}
.nav-menu {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    .nav-menu.active {
        display: flex;
    }
}

.reviews {
    margin-top: 3rem;
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}
.review-carousel {
    display: flex;
    gap: 2rem;
    animation: scrollReviews 15s linear infinite;
}
.review {
    min-width: 100%;
    font-size: 1.1rem;
    color: #ffcc00;
}
@keyframes scrollReviews {
    0% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}
/* NOWOŚĆ – sekcja bus 9-osobowy */
.news-section {
  margin: 3rem 0;
  padding: 2rem;
  background: #fff8e1; /* jasne tło */
  border: 2px solid #ffcc00; /* żółta ramka */
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: fadeInUp 1s ease-in-out;
}

.news-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #222;
  text-align: center;
}

.news-box {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.news-box ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.news-box ul li {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.news-box a.call-button {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.8rem;
  background: #ffcc00;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.news-box a.call-button:hover {
  background: #e6b800;
}

/* animacja pojawiania się */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.news-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.news-gallery img {
  max-width: 100%;
  height: auto;
  border-radius: 0.8rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.news-gallery img:hover {
  transform: scale(1.05);
}
