/*!
Theme Name: Catering
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: catering
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Catering is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Reset marginesów i paddingów */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: #111;
  scroll-behavior: smooth;
}


/*--- HERO SECTION ---*/
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5vw;
  overflow: hidden;
  color: white;
}

.hero-overlay {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 200px;
  max-width: 1200px;
  width: 100%;
  padding: 60px 0;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 600px;
  height: auto;
  border-radius: 16px;
  margin-left: -100px;
  margin-top: 70px;

}

.hero-text {
  flex: 1;
  text-align: left;
  max-width: 600px;
}

.hero-heading {
  font-size: 70px;
  font-weight: 700;
  color: #ff7f00;
  margin-bottom: 20px;
  margin-left: -40px;
}

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

.hero-bullets li::before {
  content: "•";
  color: #ff7f00;
  display: inline-block;
  width: 1.2em;
  margin-left: -1.2em;
}

.hero-bullets li {
  font-size: 35px;
  font-weight: 500;
  margin: 8px 0;
  line-height: 1.6;
}


/* === RESPONSYWNOŚĆ === */
@media (max-width: 1024px) {
  .hero-overlay {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-image img {
    width: 80%;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .hero-heading {
    font-size: 45px;
    margin-left: 0;
  }

  .hero-bullets li {
    font-size: 23px;
    margin: 10px 0;
  }

  .hero-image img {
    width: 110%;
    margin-left: 0px;
  }
}
/*--- ABOUT US SECTION ---*/



.about-us {
  background-color: #111;
  padding: 80px 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.container-about-us {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 150px;
  flex-wrap: wrap;
}

.about-img {
  position: relative;
  flex: 1;
  min-width: 300px;
  z-index: 1;
}

/* Dekoracyjne kropki za zdjęciem */
.decor-dots {
  position: absolute;
  top: 0;
  left: -20%;
  width: 140%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}

/* Główne zdjęcie */
.about-img img:nth-of-type(2) {
  position: relative;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.decor-herb {
  position: absolute;
  bottom: 90px;
  right: 230px;
  width: 250px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  transform: rotate(-40deg) translate(30px, 10px);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.about-text p {
  line-height: 1.7;
  margin-bottom: 16px;
  color: #ccc;
  font-family: 'Georgia', serif;
}

/* RWD */

@media (max-width: 1790px) {
  .decor-herb {
    right: 0px;
    bottom: 20px;
    width: 200px;
    transform: rotate(-30deg) translate(20px, 0);
  }
}

@media (max-width: 1024px) {
  .container-about-us {
    flex-direction: column;
    text-align: center;
  }

  .about-img {
    margin-bottom: 40px;
  }

  .decor-dots {
    left: -10%;
    width: 120%;
  }

  .decor-herb {
    right: 20px;
    bottom: -10px;
    width: 200px;
    transform: rotate(-50deg) translate(20px, 0);
  }
}

@media (max-width: 768px) {
  .container-about-us {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    padding-top: 20px;
  }

  .decor-herb {
    right: 10px;
    bottom: -5px;
    width: 125px;
    transform: rotate(-50deg) translate(20px, 0);
  }

  .decor-dots {
    left: -12%;
    top: -5%;
    width: 120%;
  }


}




/* why us */
.why-us {
  background-color: #111;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.container-why-us {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.subtitle {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 60px;
}

.container-reason {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px;
}

.reason {
  flex: 1 1 280px;
  max-width: 300px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.reason:hover {
  transform: translateY(-10px);
}

.reason img {
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
}

.reason h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.reason p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
}
.reason .icon {
    font-size: 48px;
    color: orange;
    margin-bottom: 20px;
}




/*--- DISHES SECTION ---*/

.dishes-section {
  background-color: #111;
  position: relative;
  padding: 80px 20px;
  text-align: center;
  color: white;
  z-index: 0;
}

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

.dishes-section::after {
  content: '';
  position: absolute;
  top: 150px;
  right: 350px;
  width: 180px;
  height: 140px;
  background-image: url('images/decor/chili.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
  transform: rotate(-80deg);
}

.dishes-section::before {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 400px;
  width: 150px;
  height: 150px;
  background-image: url('images/decor/herb.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
  transform: rotate(-130deg);
}

.dishes-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.menu-button {
  display: inline-block;
  background-color: #f0a500;
  color: #000;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-bottom: 30px;
}

.menu-button:hover {
  background-color: #fff;
  color: #000;
}

.dishes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.dish-card {
  background-color: #1a1a1a;
  color: white;
  width: 300px;
  min-height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.dish-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.dish-content {
  padding: 15px 20px;
  text-align: center;
}

.dish-content h3 {
  font-size: 1.5rem;
  margin: 0;
  color: white;
}

.dish-description {
  font-size: 1.2rem;
  color: #ccc;
  margin-top: 8px;
  line-height: 1.4;
}

/* RESPONSYWNOŚĆ */

@media (max-width: 1790px) {
  .dishes-section::after {
    display: none;
  }

  .dishes-section::before {
    display: none;
  }
}

@media (max-width: 1024px) {
  .dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
  }

    .dishes-grid > .dish-card:nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .dish-card {
    width: 100%;
    max-width: 280px;
    min-height: auto;
  }

  .dishes-section::after {
    display: none;
  }

}


@media (max-width: 768px) {
  .dishes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    position: relative;
  }

    .dishes-grid > .dish-card:nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .dish-card {
    width: 100%;
    max-width: 100%;
    min-height: auto;
  }

  .dishes-section::after {
    display: none;
  }

  .dishes-section::before {
    display: none;
  }

}





/*--- OPINIONS SECTION ---*/
.opinie-klientow {
  padding: 60px 20px;
  background-color: #111;
  color: #fff;
  text-align: center;
}

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

.opinie-header {
  margin-bottom: 20px;
}

.opinie-header h2 {
  font-size: 40px;
  font-weight: bold;
  margin: 0;
  color: #fff;
}

.opinie-header p {
  color: #ccc;
  font-size: 16px;
  margin: 10px 0 20px;
}

.btn-opinia {
  display: inline-block;
  background-color: #ffa500;
  color: #000;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-opinia:hover {
  background-color: #ffcc00;
}

/* === MODAL FORMULARZA OPINII === */
.opinia-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 40px 20px;
}

.opinia-modal-content {
  background-color: #1c1c1c;
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  border: 2px solid #ffa500;
  max-width: 600px;
  color: #fff;
  position: relative;
}

.opinia-modal-close {
  color: #ffa500;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.opinia-modal-close:hover {
  color: #fff;
}

/* === FORMULARZ OPINII === */
.formularz-opinii {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formularz-opinii label {
  font-weight: bold;
  color: #fff;
  text-align: left;
  display: block;
}

.formularz-opinii input[type="text"],
.formularz-opinii textarea,
.formularz-opinii input[type="file"] {
  width: 100%;
  padding: 10px;
  background-color: #2a2a2a;
  border: 1px solid #444;
  color: #fff;
  border-radius: 6px;
  font-size: 15px;
}

.formularz-opinii textarea {
  resize: vertical;
  min-height: 100px;
}

.formularz-opinii input[type="submit"] {
  background-color: #ffa500;
  color: #000;
  font-weight: bold;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formularz-opinii input[type="submit"]:hover {
  background-color: #ffcc00;
}

/* === SWIPER SLIDER === */
.swiper {
  padding-bottom: 50px;
  position: relative;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.swiper-slide {
  background-color: #1c1c1c;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  text-align: left;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  min-height: 420px; /* lub dowolna stała wysokość, np. 460px */
  max-height: 460px;
}


.swiper-slide:hover {
  transform: translateY(-8px);
}

.opinia-content h3 {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 10px;
}

.opinia-content p {
  font-size: 16px;
  color: #ddd;
  line-height: 1.5;
  margin-bottom: 20px;
}

.opinia-img img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffa500;
  margin-top: auto;
}

/* === PAGINATION & NAVIGATION === */



.swiper-pagination {
  text-align: center;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #666;
  opacity: 1;
  margin: 0 6px !important;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: #ffa500;
}

.swiper-button-prev,
.swiper-button-next {
  color: #ffa500;
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 768px) {
  .swiper-wrapper {
    flex-wrap: nowrap !important; 
  }

  .swiper-slide {
    max-width: 100% !important;
    flex: 0 0 100% !important; 
    margin: 0 auto;
  }
}

/* Nowa wersja z dużym zdjęciem */
.opinia-img-large {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  margin-bottom: 20px;
}

.opinia-img-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

.opinia-stars {
  margin-bottom: 10px;
}

.opinia-stars .star {
  font-size: 20px;
  color: #ffa500;
  margin-right: 2px;
  display: inline-block;
}

.star-rating {
  font-size: 26px;
  color: #ffa500;
  user-select: none;
  display: inline-block;
  margin: 10px 0;
}

.star-rating .star {
  cursor: pointer;
  margin: 0 2px;
  transition: color 0.2s;
}


.star-rating .star.selected,
.star-rating .star:hover,
.star-rating .star:hover ~ .star {
  color: #ffa500;
}


