/* Index-specific styles */

/* Hero section */
.hero-section {
  height: 100vh;
  width: 100%;
  max-width: 100vw;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
}

.slide img,
.slide video {
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
  margin: 0;
  padding: 0;
  display: block;
  pointer-events: none; /* Prevent interactions */
}

.hero-content {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 80%;
  max-width: 1200px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.hero-title {
  font-size: 6rem;
  font-weight: 700;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
  position: relative;
  z-index: 3;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 3rem;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  position: relative;
  z-index: 3;
  letter-spacing: 2px;
  font-weight: 300;
}

/* Slider dots removed */

/* Home content */
#home {
  padding: 0;
  background-color: #ffffff;
  color: #333;
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  color: #001C33;
  position: relative;
  width: 100%;
  letter-spacing: 1px;
  font-weight: 700;
}

.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #0055A4, #001C33, #0055A4);
  margin: 15px auto 0;
}

.lead {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Greek patterns - cleaned up */

/* Features section - cleaned up */

/* Greek waves - cleaned up */

/* Specialties section */
.greek-specialties {
  background: url('../assets/wzorki.jpg') center center;
  background-size: cover;
  padding: 0;
  color: #001C33;
  width: 100%;
  max-width: 100vw;
  margin-top: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.greek-specialties::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: -1;
}

/* Dekoracyjny element przed sekcją specjałów */
.greek-specialties::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 60px;
  background: transparent;
  z-index: -1;
}

.greek-specialties .section-title {
  padding-top: 20px;
  color: #001C33;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.greek-specialties .section-title::after {
  background: linear-gradient(90deg, #0055A4, #001C33, #0055A4);
  width: 60px;
  height: 3px;
}

.specialty-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  overflow: hidden;
}

.specialty-item {
  height: 600px;
  overflow: hidden;
  position: relative;
  background-color: #000;
  max-width: 100%;
}

.specialty-item img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s ease;
  opacity: 0.8;
}

.specialty-item:hover img {
  transform: scale(1.1);
  opacity: 0.6;
}

.specialty-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  z-index: 2;
}

.specialty-content h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 2.2rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  position: relative;
  display: inline-block;
}

.specialty-content h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #FFC107;
  transition: width 0.5s ease;
}

.specialty-item:hover .specialty-content h3::after {
  width: 100%;
}

.specialty-content p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  font-size: 1.1rem;
  line-height: 1.6;
}

.specialty-item:hover .specialty-content p {
  opacity: 1;
  transform: translateY(0);
}

.greek-label {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #0055A4;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1.5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.specialty-item:hover .greek-label {
  opacity: 1;
}

/* Quote section - cleaned up */

/* CTA section - cleaned up */

/* Animation classes */
.specialty-item.animate {
  animation: fadeIn 1.2s ease forwards;
}

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

/* Responsive */
@media (max-width: 1200px) {
  .specialty-item {
    height: 500px;
  }
  
  .greek-features {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .specialty-items {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 5rem;
  }
  
  .hero-subtitle {
    font-size: 2.5rem;
  }
  
  .specialty-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
    padding-top: 10px;
  }
  
  .specialty-items {
    grid-template-columns: 1fr;
  }
  
  .specialty-item {
    height: 300px;
  }
  
  
  .greek-specialties::before {
    height: 40px;
    top: -20px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .specialty-item {
    height: 240px; /* further reduce on small phones */
  }
  
  .specialty-content h3 {
    font-size: 1.8rem;
  }
  
  .specialty-content p {
    font-size: 1rem;
  }
  
  .greek-label {
    font-size: 0.9rem;
    padding: 6px 15px;
  }
}
