@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body, html {
    width: 100%;
    height: 100%;
    font-family: "Poppins", sans-serif;
    background-color: #0b0b0b;
    color: #e0e0e0;
}

html {
    scroll-behavior: smooth;
  }
  

h1, h2, h3, h4 {
    color: #fff;
    text-shadow: 1px 1px 3px #000;
  }
  
  hr {
    border-top: 1px solid #666;
  }
  
  /* ==== 🚨 Кнопки ==== */
  .btn-warning {
    background-color: #990000;
    border: none;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s ease;
  }
  .btn-warning:hover {
    background-color: #cc0000;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
    transform: scale(1.05);
  }
  
  /* ==== 👁 Лого з підсвічуванням ==== */
.navbar-brand img {
    width: 150px;
    transition: all 0.4s ease-in-out;
    filter: drop-shadow(0 0 5px #ff0000);
}

.navbar-brand img:hover {
    transform: scale(1.05) rotate(-1deg);
    filter: drop-shadow(0 0 10px #ff0000) brightness(1.2);
  }

.navbar-nav li {
    padding-right: 20px;
}

.nav-link {font-size: 1.1em !important;}

  .custom-header {
    background: linear-gradient(90deg, #000 0%, #330000 100%);
  }

  /* Відступи між мобільними пунктами меню */
  @media (max-width: 768px) {
    .carousel-caption .btn {
      /* display: block;
      width: 100%; */
      margin-bottom: 10px;
    }
  }
  
.carousel-inner {
    height: 500px;
}

.carousel-inner img {
    transform: translateY(-15%); 
    /* піднімає зображення на 30% вгору щоб було видно саме їх серединку */
    height: 100%;
}

@media (min-width: 1100px) {
    .carousel-inner img {
        width: 100%;
    }
}

.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-80%);
    text-shadow: 1px 1px 10px #000;
}

@media (max-width: 450px) {
    .carousel-caption .display-2 {
        font-size: 3em;
    }
}

.jumbotron {
    padding: 1em;
    border-radius: 0;
    width: 70%;
    margin: 0 auto;
    margin-top: 20px;
}

.padding {
    padding-bottom: 2em;
}

.alert {
    width: 75%;
    margin: 0 auto;
    padding-top: 2em;
}

.alert hr {
    border-top: 2px solid #f0f0f0;
    width: 95%;
    margin-top: 0.3em;
    margin-bottom: 1em;
}

.fa-code {color: #e54d26;}
.fa-bold {color: #563d7c;}
.fa-css3 {color: #2163af;}

.fa-code, .fa-bold, .fa-css3 {
    font-size: 4em;
    margin: 1em;
}

.custom-heading {
    font-size: 3rem;
    /* Базовий розмір для великих екранів */
}

/* Для маленьких екранів */
@media (max-width: 576px) {
    .custom-heading {
        font-size: 2rem;
    }
}

/* Для середніх екранів */
@media (max-width: 768px) {
    .custom-heading {
        font-size: 2.5rem;
    }
}

#fixed {
    height: 400px;
    border-top: 4px solid #990000;
    border-bottom: 4px solid #990000;
    background: url('../img/bg-fixed.webp') no-repeat center center fixed;
    background-blend-mode: multiply;
    background-color: lightblue;
    background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
}

.video-preview {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid #550000;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .video-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  }

  .icon-svg {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* Робить білою на темному фоні */
    transition: transform 0.3s ease;
  }
  
  #gifsBtn:hover .icon-svg {
    transform: scale(1.2);
  }
  

@media (max-width: 750px) {
    .display-4 {
        font-size: 1.6em;
    }
}

.social a {
    font-size: 4em;
    padding: 20px;
}

.fa-facebook {color: #3b5998;}
.fa-telegram {color: #00aced;}
.fa-instagram {color: #517fa4;}
.fa-youtube {color: #bb0000;}

.fa-facebook:hover, .fa-instagram:hover, .fa-telegram:hover, .fa-youtube:hover {
    color: #ccc;
}

footer {
    background-color: #111;
    padding-top: 50px;
    color: #ccc;
  }

  footer i {
    transition: color 0.3s ease;
  }
  
    .philosophy {
    position: relative;
    background: radial-gradient(ellipse at center, #0b0b0b 60%, #1a0000 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: #f0f0f0;
    z-index: 1;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  .philosophy::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, transparent 60%, rgba(255,0,0,0.1) 100%);
    z-index: 0;
  }
  
  .philosophy .overlay {
    position: relative;
    z-index: 2;
  }
  
  .about-main {
    background: linear-gradient(to right, #0b0b0b 70%, #1a0000 100%);
    border-top: 2px solid #550000;
    border-bottom: 2px solid #550000;
    color: #fff;
    padding: 4rem 2rem;
    text-shadow: 1px 1px 3px #000;
    margin-top: 40px;
  }
  
  .about-main h2 {
    color: #f5f5f5;
  }
  
  .about-main .btn-danger {
    background-color: #990000;
    border: none;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease;
  }
  
  .about-main .btn-danger:hover {
    background-color: #cc0000;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
  }
  
  .principles {
    background: #0c0c0c;
    padding: 4rem 2rem;
    color: #ddd;
    border-top: 2px solid #550000;
    border-bottom: 2px solid #550000;
  }
  
  .principles i {
    color: #cc0000;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
    transition: 0.3s ease;
  }
  
  .principles i:hover {
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
  }
  
  .principles h3 {
    color: #fff;
    margin-bottom: 1rem;
  }

  .studio-intro {
    background: #111;
    border-top: 2px solid #550000;
    border-bottom: 2px solid #550000;
    padding: 4rem 2rem;
    color: #ddd;
  }
  
  .studio-intro h2 {
    color: #fff;
    text-shadow: 1px 1px 2px #000;
  }
  
  .studio-intro img {
    border: 3px solid #550000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.1);
    transition: transform 0.4s ease;
  }
  
  .studio-intro img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.3);
  }
  
  .card-img-top {
    object-fit: cover;
    height: 250px;
    filter: grayscale(40%);
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  
  .card:hover .card-img-top {
    transform: scale(1.03);
    filter: grayscale(0%);
  }
  
  /* Стилі для кнопки "вгору" */
#scrollTopBtn {
    display: none; /* Ховаємо за замовчуванням */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #9E1B1B;
    color: white;
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 0 10px rgba(209, 128, 172, 0.5);
  }
  
  #scrollTopBtn:hover {
    background-color: #BD99A2;
    transform: scale(1.1);
  }

  #contact h2 {
    font-family: 'Unbounded', sans-serif;
    letter-spacing: 1px;
  }

  #bookingForm {
    background: radial-gradient(circle at center, #111 40%, #400404 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
    position: relative;        /* 🔧 Додаємо */
    z-index: 2; 
  }  
  
  #bookingForm .form-control {
    background-color: #1e1e1e;
    color: #fff;
    border: 1px solid #444;
  }
  
  #bookingForm .form-control::placeholder {
    color: #aaa;
  }
  
  #bookingForm select.form-control {
    background-color: #1e1e1e;
  }
  
  #bookingForm textarea {
    resize: none;
  }
  
  /* 🌑 Фон секції */
  #gallery {
    background: #111;
    padding: 4rem 2rem;
    border-top: 1px solid #333;
    box-shadow: inset 0 0 40px #3b0000;
  }
  

  #portfolioItems.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }
  
  
  /* 🔘 Активна кнопка */
  .filter-btn.active {
    background-color: #9E1B1B;
    color: #000;
    font-weight: bold;
    border: none;
  }
  
  /* 🖼 Стилі для галереї */
  .portfolio-item {
    display: none;
    opacity: 0;
    transition: all 0.3s ease-in-out;
  }
  
  .portfolio-item.show {
    display: block;
    opacity: 1;
  }

  #portfolioItems {
    transition: opacity 0.5s ease;
  }
  
  #portfolioItems.fade-out {
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
  }

  @media (max-width: 576px) {
    .filter-btn {
      display: block;
      width: 100%;
      margin-bottom: 10px;
    }
  }
  
  
  /* відгуки */
  #reviews {
    background: linear-gradient(to right, #111, #1b1b1b);
    border-top: 1px solid #600;
    border-bottom: 1px solid #600;
    padding-top: 2rem;
  padding-bottom: 2rem;
  }

  #reviewCarousel {
    max-height: 250px;
  }  
  
  .carousel-item p.lead {
    font-style: italic;
    color: #eee;
    max-width: 800px;
    margin: 0 auto 1rem;
  }
  
  .carousel-item small {
    color: #cc4444;
    font-weight: bold;
  }

  .carousel-control-prev,
  .carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
}

.carousel-indicators li {
    background-color: #b22222; /* темно-червоний */
    border-radius: 50%;
    width: 10px;
    height: 10px;
    margin: 0 5px;
  }
  
  .carousel-indicators .active {
    background-color: #ff4444; /* яскравіший червоний для активного */
  }

  /* FAQ блок */
  .glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
  }
  
  .glass-card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 0, 0, 0.3);
  }
  
  .glass-card .btn-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
  }
  
  .glass-card .btn-link:hover {
    color: #e74c3c;
    text-decoration: underline;
  }
  
  .glass-card .collapse.show {
    animation: fadeIn 0.4s ease-in-out;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  