/* 
   Code by Matt Karrey (c) 2025. 
   All Rights Reserved. 
   Copying or reproducing any content without the author's permission is prohibited.
*/
:root {
  --primary-color: #00bcd4;
  --secondary-color: #ff00ff;
  --background-color: #0c0a1a;
  --surface-color: rgba(22, 18, 48, 0.6);
  --text-color: #e0e0e0;
  --heading-font: 'Orbitron', sans-serif;
  --body-font: 'Roboto', sans-serif;
}

html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: var(--background-color);
  margin: 0;
  font-family: var(--body-font);
  color: var(--text-color);
  font-size: 16px;
  letter-spacing: 0.02em;
}

/* --- HEADER --- */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(180deg, rgba(12, 10, 26, 0.7) 0%, rgba(12, 10, 26, 0) 100%);
  transition: background 0.3s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 30px;
}

.navbar-logo img {
  height: 45px;
  filter: drop-shadow(0 0 10px var(--primary-color));

}
.navbar-logo {
  padding-left: 15px; /* lub margin-left: 15px; */
}



.navbar-links-container {
  display: flex;
  align-items: center;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0 15px;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: #fff;
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar-social {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.navbar-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0, 188, 212, 0.5);
  border-radius: 50%;
  color: var(--text-color);
  font-size: 1.1rem;
  margin-left: 15px;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-social a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 12px rgba(0, 188, 212, 0.8);
}

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 101;
}

.navbar-toggler span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggler span:nth-child(1) { top: 0; }
.navbar-toggler span:nth-child(2) { top: 9px; }
.navbar-toggler span:nth-child(3) { top: 18px; }

.navbar-toggler.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.navbar-toggler.active span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* --- HERO --- */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* WAŻNE: żeby ::before nie wychodził poza hero */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;

  /* TŁO PRZENIESIONE TU! */
  background: url('https://mattkarrey.com/img/tlo-btt.jpg') center center/cover no-repeat;

  /* Rozmycie */
  filter: blur(4px);

  /* Przyciemnienie + blur */
  background-blend-mode: darken;
  /* Opcjonalnie, jeśli chcesz dodać ciemny overlay: */
  /* Można też użyć linear-gradient do przyciemnienia */
  /* background: linear-gradient(rgba(12,10,26,0.7), rgba(12,10,26,0.7)), url('...'); */
}

/* Dodatkowy overlay przyciemniający (opcjonalnie) */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(12, 10, 26, 0.7);
  z-index: 2;
}

/* Upewnij się, że treść jest nad blur + overlay */
.hero-caption {
  position: relative;
  z-index: 3;
}

.hero-caption h5 {
  font-family: var(--body-font);
  font-size: 1.5rem;
  font-weight: 400;
  color: #aef6ff;
  letter-spacing: 4px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-caption h1 {
  font-family: var(--heading-font);
  font-size: 5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 8px;
  margin: 0;
 /* text-shadow: 0 0 15px rgba(0, 188, 212, 0.7), 0 0 25px rgba(255, 0, 255, 0.7);*/
 text-shadow: 0 0 15px rgba(255, 255, 255, 0.7), 0 0 25px rgba(0, 188, 212, 0.7);
}

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

/* --- SECTIONS --- */
.section {
  padding: 80px 0;
}

.bg-default {
  background-color: #100e20;
}

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

.section-title {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 0 10px var(--primary-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto 50px auto;
}

/* --- PAGE HEADER (for subpages) --- */
.page-header {
  padding-top: 150px;
  padding-bottom: 100px;
  min-height: auto;
}

/* --- BIOGRAPHY SECTION --- */
.biography-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.bio-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--primary-color);
  box-shadow: 0 0 25px var(--primary-color);
  flex-shrink: 0;
}

.bio-text p {
  line-height: 1.8;
  margin-bottom: 20px;
}

/* --- CARDS (Shop, News, Gallery) --- */
.dates, .news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.date-card, .news-card {
  background: var(--surface-color);
  border: 1px solid rgba(0, 188, 212, 0.2);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.date-card:hover, .news-card:hover {
  border-color: rgba(0, 188, 212, 0.6);
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

/* --- CONTACT PAGE --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-form-container h3, .contact-info-container h3 {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 15px;
  background-color: rgba(22, 18, 48, 0.8);
  border: 1px solid rgba(0, 188, 212, 0.3);
  border-radius: 8px;
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

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

.btn-submit {
  padding: 15px 40px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  text-decoration: none;
  font-family: var(--heading-font);
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--secondary-color);
}

.contact-info-item {
  margin-bottom: 30px;
}

.contact-info-item h4 {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.contact-info-item h4 .fa {
  color: var(--secondary-color);
  margin-right: 10px;
}

.contact-info-item p {
  margin: 0 0 5px 0;
  color: #ccc;
}

.contact-info-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

/* --- GALLERY SECTION FIX --- */
.gallery-card {
  background: var(--surface-color);
  border: 1px solid rgba(0, 188, 212, 0.2);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  display: flex; /* KLUCZOWA ZMIANA */
  flex-direction: column; /* KLUCZOWA ZMIANA */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  border-color: rgba(0, 188, 212, 0.6);
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-caption {
  padding: 20px;
  font-weight: 700;
  flex-grow: 1; /* KLUCZOWA ZMIANA */
  display: flex; /* KLUCZOWA ZMIANA */
  flex-direction: column; /* KLUCZOWA ZMIANA */
  justify-content: center; /* KLUCZOWA ZMIANA */
}

.gallery-caption span {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-top: 5px;
}


/* --- FOOTER --- */
footer {
  background: #100e20;
  padding-top: 60px;
  text-align: center;
  border-top: 1px solid rgba(0, 188, 212, 0.2);
  margin-top: 50px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-logo img {
  height: 100px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 15px var(--primary-color));
}

.footer-social {
  margin-bottom: 30px;
}

.footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(0, 188, 212, 0.5);
  border-radius: 50%;
  color: var(--text-color);
  font-size: 1.2rem;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-color);
  transform: translateY(-3px);
}
.footer-link {
  color: #00ffe7;        
  text-decoration: none;  /* usuwa podkreślenie */
  font-weight: bold;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #ff2fd6;         /* fiolet/róż na hover */
  text-decoration: underline;
}

.newsletter-signup p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 15px;
  border: 1px solid var(--primary-color);
  background: transparent;
  color: var(--text-color);
  border-radius: 50px 0 0 50px;
  outline: none;
}

.newsletter-form button {
  padding: 15px 30px;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: #0c0a1a;
  font-family: var(--heading-font);
  font-weight: 700;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  background-color: #0c0a1a;
  font-size: 0.9rem;
  color: #888;
}

/* --- SHOP PAGE --- */
.category-title {
  font-family: var(--heading-font);
  font-size: 25px;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 60px;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 0, 255, 0.3);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
/* --- PRODUCT TAGS --- */
.product-tags {
  margin: 10px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 3px 14px 3px 10px;
  font-size: 0.88em;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(12, 10, 26, 0.7);
  color: var(--primary-color, #00bcd4);
  border: 1.5px solid var(--primary-color, #00bcd4);
  box-shadow: 0 0 8px rgba(0,188,212,0.20);
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: default;
  position: relative;
  z-index: 1;
  white-space: nowrap; /* Zapobiega łamaniu tekstu w tagu */
}

/* Efekt po najechaniu - rozjaśnienie */
.tag:hover {
  background: var(--primary-color, #00bcd4);
  color: #fff;
  border-color: #fff;
  box-shadow: 0 0 15px var(--primary-color, #00bcd4);
}

/* --- Opcjonalnie: różne kolory dla różnych typów tagów --- */
.tag-1 { --primary-color: #00bcd4; }
.tag-2 { --primary-color: #ff4d6a; }
.tag-3 { --primary-color: #bcff4d; }
.tag-4 { --primary-color: #ffb347; }
.tag-5 { --primary-color: #9e47ff; }

/* --- POPRAWKA NA MOBILE --- */
@media (max-width: 600px) {
  .product-tags {
    gap: 5px;
  }
  .tag {
    padding: 2px 10px 2px 7px;
    font-size: 0.98em;
    margin-bottom: 2px;
    max-width: 98vw;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
}

.product-card {
  background: var(--surface-color);
  border: 1px solid rgba(0, 188, 212, 0.2);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 188, 212, 0.6);
  box-shadow: 0 10px 25px rgba(0, 188, 212, 0.2);
}

.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  
}
.product-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.product-description {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}
/*
.product-price {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 20px;
}
*/
.product-price {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-price .old-price {
  color: #888;
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: line-through;
  margin-right: 8px;
  opacity: 0.7;
}

.product-price .new-price {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 0 10px var(--primary-color);
}

.discount-badge {
  background: var(--secondary-color, #ff00ff);
  color: #fff;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: bold;
  padding: 4px 12px;
  margin-left: 10px;
  box-shadow: 0 0 10px var(--secondary-color, #ff00ff44);
  vertical-align: middle;
  display: inline-block; /* domyślnie */
}

.btn-buy {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  text-decoration: none;
  font-family: var(--heading-font);
  font-weight: 700;
  border-radius: 50px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-buy:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--secondary-color);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-links-container {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: 100%;
    height: 100vh;
    background-color: rgba(12, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .navbar-links-container.active {
    right: 0;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav-item {
    margin: 20px 0;
  }

  .nav-link {
    font-size: 1.5rem;
  }

  .navbar-social {
    margin-left: 0;
    margin-top: 30px;
  }
  
  .navbar-social a {
    font-size: 1.5rem;
    margin: 0 20px;
    width: 44px;
    height: 44px;
  }

  .biography-content {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-caption h1 {
    font-size: 3rem;
  }
  .hero-caption h5 {
    font-size: 1.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .dates, .news, .gallery {
    grid-template-columns: 1fr;
  }
  .bio-image {
    width: 200px;
    height: 200px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .newsletter-form input, .newsletter-form button {
    border-radius: 50px;
  }
}
/* --- COMING SOON PLACEHOLDER --- */
.coming-soon-card {
  background: transparent;
  border: 2px dashed rgba(0, 188, 212, 0.3);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  grid-column: 1 / -1; 
  min-height: 250px;
  opacity: 0.7;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.coming-soon-card:hover {
  opacity: 1;
  border-color: var(--primary-color);
}

.coming-soon-card .fa {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.coming-soon-card h4 {
  font-family: var(--heading-font);
  font-size: 1.6rem;
  color: #fff;
  margin: 0 0 10px 0;
}

.coming-soon-card p {
  color: var(--text-color);
  font-size: 1rem;
  margin: 0;
}
/* --- LATEST RELEASES (MUSIC) SECTION --- */
/* --- LATEST RELEASES (MUSIC) SECTION --- */
.music-grid {
  display: grid;
  /* POPRAWKA: Zmniejszono minimalny rozmiar karty z 280px na 250px */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px; /* Zmniejszono odstęp dla lepszej kompozycji */
}

.music-card {
  background: var(--surface-color);
  border: 1px solid rgba(0, 188, 212, 0.2);
  border-radius: 15px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.music-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 188, 212, 0.6);
  box-shadow: 0 10px 25px rgba(0, 188, 212, 0.2);
}

.music-image {
  position: relative;
  overflow: hidden;
}

.music-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.music-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 10, 26, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.music-card:hover .music-overlay {
  opacity: 1;
}

.music-overlay .icon-link {
  color: #fff;
  font-size: 2.5rem;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.music-overlay .icon-link:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}

.music-info {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.music-title {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 5px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.music-artist {
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--primary-color);
  margin: 0;
}
/* --- PRE-ORDER / COMING SOON STYLES --- */
.product-availability {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  background-color: rgba(0, 188, 212, 0.1);
  border: 1px solid rgba(0, 188, 212, 0.3);
  padding: 12px 20px;
  border-radius: 50px;
  text-align: center;
  margin-top: 15px;
}

/* --- LOGIKA PRZEŁĄCZANIA --- */

/* Domyślnie ukryj informację o dacie */
.product-card .product-availability {
  display: none;
}

/* Gdy karta ma klasę .coming-soon, ukryj przycisk "Buy Now" */
.product-card.coming-soon .btn-buy {
  display: none;
}

/* Gdy karta ma klasę .coming-soon, pokaż informację o dacie */
.product-card.coming-soon .product-availability {
  display: block;
}

/* --- LATEST VIDEOS SECTION --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.video-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 188, 212, 0.2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 188, 212, 0.6);
  box-shadow: 0 10px 25px rgba(0, 188, 212, 0.2);
}

.video-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 10, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
  opacity: 1;
}

.video-overlay .fa-play-circle {
  color: #fff;
  font-size: 5rem;
  transition: transform 0.3s ease;
}

.video-card:hover .video-overlay .fa-play-circle {
  transform: scale(1.1);
}

.video-title {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  padding: 15px;
  background: var(--surface-color);
  text-align: center;
  margin: 0;
}

/* --- VIDEO MODAL (LIGHTBOX) STYLES --- */
#video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#video-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

#video-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

#video-modal-overlay.active #video-modal-content {
  transform: scale(1);
}

#video-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

#video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  font-family: Arial, sans-serif;
}
  /* --- ALERT MESSAGES --- */
  .alert {
    padding: 15px 25px;
    margin: 0 auto 30px auto; 
    max-width: 600px; 
    border: 1px solid;
    border-radius: 8px;
    text-align: center;
    font-family: sans-serif; /* Użyjmy bezpiecznej czcionki do testu */
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  }
  .alert-success {
    color: #00bcd4; 
    background-color: rgba(0, 188, 212, 0.1);
    border-color: rgba(0, 188, 212, 0.4);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.2);
  }
  .alert-danger {
    color: #ff4d6a; 
    background-color: rgba(255, 77, 106, 0.1);
    border-color: rgba(255, 77, 106, 0.4);
    box-shadow: 0 0 15px rgba(255, 77, 106, 0.2);
  }
  .alert .fa {
    margin-right: 10px;
  }
.social-circle {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: #181d2f;
  color: #00ffe7;
  box-shadow: 0 2px 12px rgba(0,255,231,0.24), 0 0 0 2px #00ffe733;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: 
    background 0.22s, 
    color 0.22s, 
    box-shadow 0.22s,
    transform 0.15s;
  outline: none;
}

.social-circle:hover {
  background: #00ffe7;
  color: #181d2f;
  box-shadow: 0 2px 20px #00ffe799, 0 0 0 3px #ff2fd6aa;
  transform: translateY(-5px) scale(1.06);
}

.social-circle svg {
  display: block;
  margin: 0 auto;
  height: 26px;
  width: 26px;
}

.social-circle svg path {
  stroke: #00ffe7;
  transition: stroke 0.2s;
}

.social-circle:hover svg path {
  stroke: #181d2f;
}