:root {
  --primary: #006241;
  --secondary: #d4e9e2;
  --third: #ad4907;
}

:where([class^="ri-"])::before {
  content: "\f3c2";
}

html, 
body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none !important;
}

/* Mega Menu Dropdown Styles */
.dropdown-menu .dropdown-item.text-white:hover,
.dropdown-menu .dropdown-item.text-white:focus {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-radius: 4px;
}

.font-family-pacifico {
  font-family: 'Pacifico', serif;
}

.icon-container {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

[class*=" ri-"],[class^=ri-]{
            font-family:remixicon!important;
            font-style:normal;-webkit-
            font-smoothing:antialiased;
            -moz-osx-font-smoothing:grayscale; }

.icon-sm {
  width: 2rem;
  height: 2rem;
}

.icon-lg {
  width: 3rem;
  height: 3rem;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-para {
background-color: rgb(0, 0, 0) !important;
  border-color: rgb(0, 0, 0) !important;
	}

.text-primary {
  color: var(--primary) !important;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--third) !important;
  border-color: var(--third) !important;
}

.btn-primary:hover {
  background-color: #004d33 !important;
  border-color: #004d33 !important;
}

.btn-outline-primary {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary) !important;
  color: #fff !important;
}

.rounded-icon {
  border-radius: 50%;
}

.dropdown-menu {
  border-radius: 8px;
}

.dropdown-item {
  padding: 8px 16px;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.dropdown-item:hover {
  background-color: rgba(0, 98, 65, 0.1);
  color: #006241;
  transform: translateX(5px);
}

.dropdown-header {
  padding: 8px 16px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bg-coffee {
  background-color: #006241;
}

.text-coffee {
  color: #006241;
}

.navbar-nav .nav-link.active {
  color: #ad4907;
  font-weight: 600;
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
	
}

.product-card {
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.tab-content>.tab-pane {
  display: none;
}

.tab-content>.active {
  display: block;
}

.nav-tabs .nav-link {
  border: none;
  color: #495057;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  position: relative;
}

.nav-tabs .nav-link.active {
  color: #006241;
  background-color: transparent;
  border-bottom: 3px solid #006241;
}

.nav-tabs .nav-link:hover {
  border-color: transparent;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.coffee-beans {
  position: absolute;
  width: 20px;
  height: 30px;
  background-color: #3a2718;
  border-radius: 50%;
  opacity: 0.8;
  animation: float 15s infinite linear;
}

.choose-card {
  width: 12px;
}

.text-color a {
  color: #fff;
}

.text-color h6 {
  color: #ecca07;
}


@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.ribbon {
  position: relative;
  background: #006241;
  overflow: hidden;
}

.ribbon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(45deg,
      #006241,
      #006241 10px,
      #ad4907 10px,
      #ad4907 20px);
  transform: translateX(-20%) rotate(-5deg);
}

.testimonial-card {
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.custom-shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.custom-shape-divider .shape-fill {
  fill: #FFFFFF;
}

.text-brown {
  color: #ad4907;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 1rem; /* чтобы скролл не перекрывал текст */
  }
  
  .dropdown-menu {
    min-width: 100% !important;
  }
}

/* Page Header for Internal Pages */
.page-header {
  min-height: 300px;
  display: flex;
  align-items: center;
}

.page-header .overlay {
  z-index: 1;
}

.page-header .container {
  z-index: 2;
}

/* Team Card Styles */
.team-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-card .team-social {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.team-card:hover .team-social {
  opacity: 1;
  transform: translateY(0);
}

.team-card img {
  transition: transform 0.3s ease;
  height: 280px;
  object-fit: cover;
}

.team-card:hover img {
  transform: scale(1.05);
}

/* Blog Card Styles */
.blog-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.blog-card img {
  transition: transform 0.3s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

/* Gallery Styles */
.gallery-item {
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  transition: transform 0.3s ease;
}

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

/* Stats Section Animation */
.stat-item {
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(255,255,255,0.2);
}

.col-lg-3:last-child .stat-item::after {
  display: none;
}

/* Pills/Tabs Styling for Menu and Blog pages */
.nav-pills .nav-link {
  color: var(--primary);
  border-radius: 20px;
  padding: 8px 20px;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
  background-color: var(--secondary);
}

.nav-pills .nav-link.active {
  background-color: var(--primary) !important;
  color: white;
}

/* Pagination Styling */
.pagination .page-link {
  color: var(--primary);
  border: none;
  margin: 0 4px;
  border-radius: 8px;
  padding: 10px 16px;
}

.pagination .page-item.active .page-link {
  background-color: var(--primary);
  color: white;
}

.pagination .page-link:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

/* Rounded corners utility */
.rounded-lg {
  border-radius: 12px !important;
}

/* Breadcrumb Styling */
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.6);
}

/* Back to Top Button */
#back-to-top {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
}

#back-to-top:hover {
  transform: translateY(-5px);
  background-color: var(--third) !important;
}

/* Menu Category Header */
.menu-category h2 {
  position: relative;
}

.menu-category h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Preloader (optional - add preloader div to HTML if needed) */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader .coffee-cup {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffc107;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Card image hover overlay */
.product-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Badge positioning fix */
.product-card .badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#contact-status { padding: 1rem; border-left: 4px solid var(--primary); background: #f0f8f7; }
#contact-status[data-state=error] { border-color: #b02a37; background: #fff0f1; }
