/********** Template CSS **********/


body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    color: #545454;

    background: linear-gradient(rgba(39, 39, 39, 0.329), rgba(0, 0, 0, 0.356)),
                url('/img/maori-art.jpg');
}

p{
    color: aliceblue;
}
:root {
    --primary: #EAA636;
    --secondary: #545454;
    --light: #FDF5EB;
    --dark: #1E1916;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600 !important;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    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;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 35px 15px;
    color: var(--light);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.fixed-top {
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .3);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 600px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-nav {
    position: relative;
    width: 80px;
    height: 80px;
    margin: -40px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-carousel .owl-nav::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transform: rotate(45deg);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: relative;
    font-size: 40px;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.page-header {
 
    background: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.295), rgba(0, 0, 0, 0.363) 60%, rgba(0, 0, 0, 0.9) 100%),
        url(../img/maori-culture-bg.jpg) center center no-repeat;
    background-size: cover;
}

.banner-shadow {
    height: 60px; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0));
}

@media (max-width: 992px) {
    .banner-shadow {
          height: 30px; 
    }
}

@media (max-width: 768px) {
    .banner-shadow {
          height: 30px; 
    }
}


.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** About ***/
.img-twice::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    background: var(--primary);
    border: 25px solid var(--light);
    border-radius: 6px;
    z-index: -1;
}


/*** Product ***/
.product-item {
    transition: .5s;
}

.product-item:hover {
    background: var(--primary) !important;
}

.product-item:hover * {
    color: var(--light);
}

.product-item:hover .border-primary {
    border-color: var(--light) !important;
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.product-item:hover .product-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-item .team-text {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light);
    transition: .5s;
}

.team-item:hover .team-title {
    top: -100px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 100px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 22px;
    color: var(--light);
    background: var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #111111;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}


.custom-section {
    background: linear-gradient(135deg, #2b2621, #f1b55b); /* по-светли нюанси на #1E1916 и #EAA636 */
    color: #fff;
    padding: 60px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.custom-section h2 {
    color: #f7d083;
    font-family: 'Georgia', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    position: relative;
}

.custom-section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #fff;
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

.custom-section h3 {
    color: #fff2d1;
    font-family: 'Cursive', sans-serif;
    margin-bottom: 20px;
    position: relative;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% { text-shadow: 0 0 5px #f1b55b, 0 0 10px #f1b55b; }
    50% { text-shadow: 0 0 10px #f7d083, 0 0 20px #f7d083; }
    100% { text-shadow: 0 0 15px #f1b55b, 0 0 30px #f1b55b; }
}

.custom-section ul {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.custom-section ul li {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 15px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: float 3s infinite ease-in-out;
}

.custom-section ul li::before {
    content: "🗿"; 
    display: contents;
    font-size:  25px;
    margin-right: 12px;
    animation: bounce 2s infinite;
}


@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}




.newsletter-sidebar {
    background: rgba(80, 71, 61, 0.85); /* прозрачен фон */
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

/* Плаващи декоративни кръгчета */
.newsletter-sidebar::before,
.newsletter-sidebar::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    animation: floatCircle 6s infinite alternate;
}

.newsletter-sidebar::before {
    top: 10%;
    left: 5%;
}

.newsletter-sidebar::after {
    bottom: 15%;
    right: 10%;
    width: 60px;
    height: 60px;
    animation-duration: 8s;
}

/* H3 с градиент и пулсиращ ефект */
.newsletter-sidebar h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Cursive', sans-serif;
    background: linear-gradient(90deg, #f7d083, #f1b55b, #f7d083);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s infinite linear, pulseText 2s infinite alternate;
}

.newsletter-sidebar p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.newsletter-sidebar form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-sidebar input[type="email"] {
    padding: 12px 15px;
    border-radius: 15px;
    border: none;
    font-size: 1rem;
}

.newsletter-sidebar button {
    padding: 12px;
    border-radius: 15px;
    border: none;
    background: #fff2d1;
    color: #2b2621;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-sidebar button:hover {
    background: #f7d083;
    transform: scale(1.05);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseText {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes floatCircle {
    0% { transform: translateY(0) translateX(0); opacity: 0.2; }
    50% { transform: translateY(-15px) translateX(10px); opacity: 0.3; }
    100% { transform: translateY(0) translateX(0); opacity: 0.2; }
}


.styled-list{
    list-style-type: none;
    padding: 0;
}

.styled-list .list-box {
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2); /* светли нюанси на #E8AF58 */
  border-left: 5px solid #E8AF58; /* акцент в основния цвят */
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.styled-list .list-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(232, 175, 88, 0.4);
}

.styled-list i {
  color: #E8AF58; 
  font-size: 1.8rem;
  vertical-align: middle;
  margin-right: 8px;
}

.styled-list p {
  margin: 0;
  color: #2b2621;
  line-height: 1.6;
}


.section-two {
  background: #1E1916;
  padding: 60px 0;
}

.section-two h2 {
  color: #EDB150;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

.section-two h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #EDB150;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-two .card {
  background: linear-gradient(135deg, #2b2220, #3b2f28);
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(237, 177, 80, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  animation: floatIn 1s ease forwards;
}

.section-two .card img {
  border-bottom: 4px solid #EDB150;
  transition: transform 0.4s ease;
}

.section-two .card-body {
  padding: 20px;
}

.section-two .card-title a {
  color: #EDB150;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 600;
  transition: color 0.3s;
}

.section-two .card-title a:hover {
  color: #FFE598;
}

.section-two .card-text {
  color: #f0e6d2;
  line-height: 1.6;
}

.section-two .card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 20px 40px rgba(237, 177, 80, 0.5);
}

.section-two .card:hover img {
  transform: scale(1.05) rotate(1deg);
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-two ul {
  list-style: none;
  padding: 0;
  margin: 40px 0 0 0;
}

.section-two ul li {
  background: linear-gradient(135deg, #3b2f28, #4b392f); /* тъмен, но топъл градиент */
  color: #FFE598; /* светъл текст */
  padding: 15px 20px;
  border-left: 5px solid #EDB150;
  border-radius: 10px;
  margin-bottom: 15px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: floatInList 1s ease forwards;
}

.section-two ul i {
  color: #EDB150; 
  font-size: 1.5rem;
  vertical-align: middle;
  margin-right: 10px;
}

.section-two ul:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(237, 177, 80, 0.5);
  background: linear-gradient(135deg, #4b392f, #5c4938);
}

/* Keyframes for list items entrance */
@keyframes floatInList {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  60% {
    opacity: 1;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.video-container {
position: relative;

padding-bottom: 56.25%;  

padding-top: 30px;

height: 0;

overflow: hidden;

border-radius: 20px;

}

.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;

top: 0;

left: 0;

width: 100%;

height: 100%;

}


.sidebarLinking {
    background: linear-gradient(135deg, #E7AD58, #F5D99A);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sidebarLinking .sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #1E1916;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebarLinking ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebarLinking ul li {
    margin-bottom: 15px;
}

.sidebarLinking ul li a {
    display: block;
    text-decoration: none;
    background: #1E1916;
    color: #E7AD58;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    line-height: 1.4;
}

.sidebarLinking ul li a::before {
    content: "🗿 ";
}

.sidebarLinking ul li a:hover {
    background: #1E1916;
    color: #E7AD58;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .sidebarLinking {
        max-width: 100%;
        padding: 20px;
    }
}




@media (max-width: 992px) {
    .navbar-brand img {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        width: 220px;
    }
}


@media (max-width: 768px) {
  h1{
    font-size: 28px!important;
  }
  h2{
    font-size: 26px!important;
  }
  h3{
    font-size: 24px!important;
  }
}

@media (max-width: 550px) {
    .section-two .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
