/********** Template CSS **********/
:root {
    --primary: #191919;
    --light: #fffaeb;
    --dark: #201d1f;
  --background: #FFF;
  --accent: #191919;
  --text: #333333;
  --heading: #291f27;
  --red-accent: #e63946;
  --yellow-accent: #f3c623;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

.header {
  background: url('../img/header.jpeg') no-repeat center center/cover;
  position: relative;
  color: white;
  text-align: center;
  padding: 400px 0 100px;
}
.service-item1 {
  font-size: 1.2em;
  color: #333;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
.service-item1:last-child {
  border-bottom: none;
}

.service-item1:hover {
  background-color: #f1ac95;
}
.title {
  font-size: 48px;
  margin: 0;
}

.subtitle {
  font-size: 24px;
  margin: 10px 0;
}

.btn-primary {
  background-color: #191919;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 20px;
}



.btn-primary:hover {
  background-color: #f5ca88;
  transition: background-color 0.3s ease;
}
.detailsFlex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 600px) {
  .detailsFlex{
    flex-direction: column;
  }
}
.detailsimg {
  width: 50%;
}
@media (max-width: 600px) {
  .detailsimg {
    width: 100%;
  }
}
.programFlex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 600px) {
  .programFlex {
    flex-direction: column;
  }
}
.detailsimg2 {
  width: 50%;
}
@media (max-width: 600px) {
  .detailsimg2 {
    width: 100%;
  }
}
.reviews {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
@media (max-width: 600px) {
  .reviews {
    flex-direction: column;
  }
}
.review {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  max-width: 400px;
  border: 1px solid #ffbeb2;
  padding: 40px;
  border-radius: 10px;
  background-color: #fffbfb;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #ffffff;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #fff; 
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
    font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #d1bde1;
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 43, 0.7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 1;
}



/*** Footer ***/

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

@media (max-width: 700px) {
    .cookie-wrapper {
        width: 100%;
    }
}
@media (max-width: 600px) {
  .contact-img {
    display: none;
  }
}

.cookie-wrapper {
    position: fixed;
    bottom: 0px;
    right: 0;
    width: 40%;
    background: #fff;
    padding: 15px 25px 22px;
    transition: right 0.3s ease;
    box-shadow: 0 5px 10px rgb(0, 0, 0);
    z-index: 999;
    width: 100%;
    @media (max-width: 600px) {
        width: 100%;
    }
}
.cookie-wrapper .show {
    right: 20px;
}

.hidden {
    display: none;
}
header i {
    color: #191919;
    font-size: 32px;
    text-align: center;
}
header h2 {
    color: #191919;
    font-weight: 500;
    text-align: center;
}
.data {
    text-align: center;
}
.data p a {
    color: #191919;
    text-decoration: none;
    text-align: center !important;
}
.data p a:hover {
    text-decoration: underline;
}
.buttons {
    padding: 20px 0px;
    text-align: center;
}
.buttons .cookie-button {
    border: 2px solid #191919;
    color: #fff;
    padding: 8px 0;
    background: #191919;
    cursor: pointer;
    width: calc(100% / 2 - 10px);
    transition: all 0.5s ease;
    max-width: 150px;
    border-radius: 0;
}
.buttons #acceptBtn:hover {
    background-color: transparent;
    color: #191919;
}
#declineBtn {
    background-color: #fff;
    color: #191919;
}
#declineBtn:hover {
    background-color: #191919;
    color: #fff;
}
/* Footer Style */
.title {
  color: #191919;
  font-size: 2.5em;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}

  /* new styles  */
/* Загальні стилі */
:root {
  --primary: #191919;
  --light: #fffaeb;
  --dark: #201d1f;
  --background: #FFF;
  --accent: #191919;
  --text: #333333;
  --heading: #291f27;
  --red-accent: #e63946;
  --yellow-accent: #f3c623;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--background);
  overflow-x: hidden;
}

.sharp-edges {
  border-radius: 0 !important;
}

.text-primary-custom {
  color: var(--primary);
}

.text-heading {
  color: var(--heading);
}

.bg-dark-custom {
  background-color: var(--dark);
}

.bg-light-custom {
  background-color: var(--light);
}

.btn-primary-custom {
  background-color: var(--primary);
  color: var(--light);
  border: none;
  border-radius: 0;
  padding: 0.8rem 2rem;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--dark);
  color: var(--light);
  transform: translateY(-3px);
}

.section-spacing {
  padding: 6rem 0;
}

/* Стилі для головного екрану */
.hero-section {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 25, 25, 0.8) 0%, rgba(32, 28, 12, 0.7) 100%);
  z-index: -1;
}

.hero-content {
  padding: 2rem;
  z-index: 1;
  position: relative;
}

.hero-title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
}
/* Стилі для нових блоків */
.section-title {
  position: relative;
  margin-bottom: 2.5rem;
  font-weight: 700;
  color: var(--heading);
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background-color: var(--yellow-accent);
}

.card-sharp {
  border: none;
  border-radius: 0;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card-sharp:hover {
  transform: translateY(-5px);
}

.category-icon {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.news-item {
  padding: 1.5rem;
  border-left: 3px solid var(--yellow-accent);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.news-item:hover {
  background-color: var(--light);
  transform: translateX(5px);
}

.tip-list {
  list-style: none;
  padding-left: 0;
}

.tip-list li {
  padding: 0.7rem 0;
  position: relative;
  padding-left: 2rem;
}

.tip-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 8px;
  height: 8px;
  background-color: var(--red-accent);
}

.review-card {
  overflow: hidden;
}

.review-card img {
  transition: all 0.5s ease;
  height: 100%;
  object-fit: cover;
}

.review-card:hover img {
  transform: scale(1.05);
}
/* Додаткові стилі для нових блоків */
.stat-card {
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: var(--yellow-accent);
  z-index: -1;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.stat-counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.mission-block {
  position: relative;
  padding-left: 2rem;
}

.mission-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--yellow-accent), var(--red-accent));
}

.team-img {
  position: relative;
  overflow: hidden;
}

.team-img::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 25, 25, 0.1) 0%, rgba(77, 28, 68, 0.3) 100%);
}

.partner-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.partner-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
/* Додаткові стилі для нових блоків */
.device-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.device-card:hover {
  transform: translateY(-8px);
}

.device-img {
  overflow: hidden;
  height: 220px;
}

.device-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.device-card:hover .device-img img {
  transform: scale(1.05);
}

.rating {
  color: var(--yellow-accent);
  margin-bottom: 0.5rem;
}

.feature-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.feature-list li span {
  color: var(--primary);
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.home-device {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.home-device:hover {
  background-color: rgba(243, 198, 35, 0.1);
}

.home-device-icon {
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  background-color: var(--light);
  border: 1px solid rgba(0,0,0,0.08);
}

.home-device-icon span {
  font-size: 2rem;
  color: var(--dark);
}

.innovation-card {
  position: relative;
  overflow: hidden;
}

.innovation-label {
  position: absolute;
  top: 1rem;
  right: 0;
  background-color: var(--red-accent);
  color: white;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.innovation-card .device-img {
  height: 280px;
}
/* Додаткові стилі для нових блоків */
.news-date {
  font-size: 0.85rem;
  color: var(--dark);
  font-weight: 500;
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background-color: rgba(243, 198, 35, 0.15);
  margin-bottom: 0.5rem;
}

.news-list-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.news-list-item:last-child {
  border-bottom: none;
}

.top-article {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.top-article-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.top-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.top-article:hover .top-article-img img {
  transform: scale(1.05);
}

.top-badge {
  position: absolute;
  top: 1rem;
  left: 0;
  background-color: var(--yellow-accent);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  font-weight: 600;
  font-size: 0.8rem;
}

.event-item {
  position: relative;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.event-item:last-child {
  border-bottom: none;
}

.event-date {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.event-date span {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.featured-event {
  padding: 1.5rem;
  background-color: rgba(243, 198, 35, 0.05);
  border-left: 3px solid var(--yellow-accent);
  margin-bottom: 2rem;
}

.featured-event-img {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.new-product {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.new-product-img {
  width: 100%;
  height: 100%;
  margin-right: 1.5rem;
  overflow: hidden;
}

.new-product-img img {
  width: 100%;
  transition: transform 0.5s ease;
}

.new-product:hover .new-product-img img {
  transform: scale(1.05);
}

.new-label {
  display: inline-block;
  background-color: var(--red-accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
/* Додаткові стилі для блоку контактів */
.contact-section {
  position: relative;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light);
  margin-right: 1rem;
}

.contact-icon span {
  font-size: 1.5rem;
  color: var(--dark);
}

.map-container {
  height: 400px;
  width: 100%;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.form-floating {
  margin-bottom: 1.5rem;
}

.form-floating > .form-control {
  border-radius: 0;
  border: 1px solid rgba(0,0,0,0.1);
}

.form-floating > .form-control:focus {
  border-color: var(--dark);
  box-shadow: none;
}

.form-floating > label {
  color: var(--text);
}

.btn-submit {
  background-color: var(--primary);
  color: var(--light);
  border: none;
  border-radius: 0;
  padding: 1rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: var(--dark);
  transform: translateY(-3px);
}

.form-error {
  color: var(--red-accent);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
/* Стилі для футера */
.footer {
  background-color: var(--primary);
  color: var(--light);
  padding-top: 4rem;
}

.footer-logo {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.footer-logo:hover {
  color: var(--yellow-accent);
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  color: #fff;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--yellow-accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  font-size: 1.2rem;
  margin-right: 0.8rem;
  color: var(--yellow-accent);
  min-width: 24px;
}

.footer-contact-text {
  line-height: 1.5;
}

.footer-link {
  display: block;
  color: rgba(255, 250, 235, 0.8);
  text-decoration: none;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-link:hover {
  color: var(--yellow-accent);
  padding-left: 5px;
}

.footer-column {
  margin-bottom: 2rem;
}

.footer-bottom {
  background-color: rgba(0,0,0,0.2);
  padding: 1.5rem 0;
  text-align: center;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .footer {
    padding-top: 3rem;
  }
  
  .footer-column {
    margin-bottom: 2rem;
  }
}