:root{
  --coffee-dark: #3C2A21;
  --coffee-medium: #967259;
  --coffee-light: #D5B895;
  --coffee-cream: #F8EDE3;
}

/**
* Global
*/
* {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: "Poppins", serif;
}

h1, 
h2, 
h3,
h4, 
h5, 
h6 {
  font-family: Arial Rounded MT bold;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  padding-left: 0px;
  padding-right: 0px;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
  }
}

/**
* Typography
*/
.color-primary {
  color: var(--coffee-dark)!important;
}

/**
* Buttons
*/
.coffee-btn-primary {
  background-color: var(--coffee-medium);
  border-color: var(--coffee-medium);
  color: white;
  padding: 0.65rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.coffee-btn-primary:hover {
  background-color: var(--coffee-dark);
  border-color: var(--coffee-dark);
  color: #fff;
}

.coffee-btn-outline {
  border-color: var(--coffee-light);
  color: var(--coffee-light);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.coffee-btn-outline:hover {
  background-color: var(--coffee-light);
  color: var(--coffee-dark);
}

/**
* inputs
*/
.form-control {
  border-radius: 8px;
}

/**
* Alerts
*/
.alert {
  border-radius: 12px;
}
.alert-danger {
  background-color: #cc3014;
  color: #fff;
}
.alert-success {
  background-color: #32a56f;
  color: #fff;
}

/**
* Cards
*/
.card {
  border-radius: 16px;
}

/**
* sections
*/
.section-spad {
  padding: 80px 0px;
}
.section-description {
  color: #747474;
}

/**
* Pagination
*/
.page-item.active .page-link {
  background-color: var(--coffee-dark);
  border-color: var(--coffee-dark);
}

/**
* Header
*/
.navbar-expand-lg .navbar-nav .nav-link {
  margin-right: .5rem;
  margin-left: .5rem;
  font-weight: 500;
}
.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show>.nav-link {
  color: var(--coffee-dark);
}
nav .form-select {
  padding: 10px 40px 10px 10px;
  border-radius: 8px;
}

/**
* Slide
*/
.section-hero {
  background: linear-gradient(rgba(60, 42, 33, 0.85), rgba(60, 42, 33, 0.9)), url("/api/placeholder/1920/1080") no-repeat center center;
  background-size: cover;
  color: var(--coffee-cream);
  padding: 8rem 0;
  position: relative;
}

.hero-title {
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  color: var(--coffee-light);
  font-weight: 400;
}

.feature-icon {
  font-size: 2rem;
  color: var(--coffee-light);
  margin-bottom: 1rem;
}

.coffee-grain {
  position: absolute;
  opacity: 0.1;
  z-index: 1;
}

.grain-1 {
  bottom: 5%;
  left: 5%;
  font-size: 8rem;
  transform: rotate(-15deg);
}

.grain-2 {
  top: 10%;
  right: 8%;
  font-size: 6rem;
  transform: rotate(25deg);
}

/**
* Testimonials
*/
.section-tetimonials {
  margin-bottom: 220px;
}
.section-tetimonials .section-tetimonials-content {
  width: 60%;
  margin: auto;
  position: relative;
  padding: 10px 40px;
  color: #747474;
}
.section-testimonials-quote-left {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 30px;
  color: var(--coffee-light);
}
.section-testimonials-quote-right {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 30px;
  transform: rotate(180deg);
  color: var(--coffee-light);
}
.section-tetimonials .carousel-indicators {
  bottom: -50px;
  text-align: center;
  margin-right: 0px;
  margin-left: 0px;
}
.section-tetimonials .carousel-indicators [data-bs-target] {
  text-indent: unset;
  width: 200px;
  transition: .4s;
}
.section-tetimonials .carousel-indicators img {
  border-radius: 50px;
}
.section-tetimonials .carousel-indicators [data-bs-target].active {
  transform: scale(1.2);
}
.section-tetimonials .carousel-indicators [data-bs-target].active .section-testimonials-user-name {
  color: var(--coffee-dark);
}

@media screen and (max-width: 768px) {
  .section-tetimonials .carousel-indicators img {
    width: 40px;
    height: 40px;
  }
  .section-tetimonials img.testimonial-star {
    width: 14px;
    height: 14px;
  }
  .section-tetimonials h6 {
    font-size: 14px;
  }
  .section-tetimonials .section-tetimonials-content {
    width: 90%;
  }
}

/**
* Contact
*/
.section-contact input, .section-contact textarea {
  border: 2px solid var(--coffee-dark);
  resize: none;
}

.section-contact button {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.4) 0%, /* White opacity at the top */
    var(--coffee-dark) 10%
  );
  color: #fff;
  border: none;
  font-size: 18px;
  padding: 16px 80px;
  border-radius: 8px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

/**
* Blog
*/
.section-blog-title span {
  position: relative;
}
.section-blog-title span::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--coffee-dark);
}
.section-blog-post {
  box-shadow: 0px 0px 10px 0px #f0eeee;
  border-radius: 20px;
  overflow: hidden;
}
.section-blog-post-content {
  padding: 20px;
}
.section-blog-post-content h5 {
  color: var(--coffee-dark);
}
.section-blog-post-content span {
  color: #747474;
}
.section-blog-post-content p {
  color: #747474;
  font-size: 14px;
}
.section-blog-post-content a {
  color: var(--coffee-dark);
}

/**
* FAQ
*/
.section-faq-element {
  border-top: 4px solid #D7DEF0;
  padding: 20px 4px;
  cursor: pointer;
}
.section-faq-element:last-child {
  border-bottom: 4px solid #D7DEF0;
}
.section-faq-element i {
  font-size: 18px;
}
.section-faq-element p {
  color: #747474;
}

/**
* Footer
*/
footer {
  background-color: var(--coffee-dark);
  color: #fff;
}

footer .footer-description {
  font-size: 20px;
  font-weight: 300;
}

footer .footer-newsletter-form {
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 8px;
}

footer .footer-newsletter-form input {
  background-color: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 18px;
  width: 100%;
}

footer .footer-newsletter-form input::placeholder {
  color: #ddd;
}

footer .footer-newsletter-form button {
  background-color: #fff;
  color: var(--coffee-dark);
  border: none;
  border-radius: 6px;
  padding: 4px;
  width: 100%;
}

footer .footer-links-title {
  position: relative;
}

footer .footer-links-title::after {
  content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #fff;
}

footer .footer-links li {
  margin-bottom: 12px;
  font-size: 18px;
}

footer .footer-contact-item {
  font-size: 18px;
}

/**
* About
*/
.about-section {
  padding: 6rem 0;
  position: relative;
  background-color: white;
}

.section-title {
  color: var(--coffee-dark);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--coffee-accent);
}

.about-subtitle {
  color: var(--coffee-medium);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.about-text {
  margin-bottom: 1.5rem;
  color: #555;
}

.about-highlight {
  border-left: 4px solid var(--coffee-medium);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  font-style: italic;
  color: var(--coffee-medium);
}

.about-stats {
  background-color: var(--coffee-cream);
  border-radius: 12px;
  padding: 2.5rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--coffee-dark);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--coffee-medium);
  font-weight: 500;
}

.value-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-icon {
  font-size: 2rem;
  color: var(--coffee-accent);
  margin-bottom: 1rem;
}

.value-title {
  font-weight: 600;
  color: var(--coffee-dark);
  margin-bottom: 0.5rem;
}

.about-image-container {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.about-image {
  width: 80%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

.about-image-bg {
  position: absolute;
  width: 80%;
  height: 100%;
  background-color: var(--coffee-light);
  border-radius: 10px;
  top: 20px;
  left: 20px;
  z-index: 1;
}

/**
* Blog.slide
*/
.section-blog-slide .section-description {
  font-size: 18px;
}
.section-post-content img {
  max-height: 500px;
  border-radius: 40px;
}
.section-post-content span {
  color: #747474;
}
.section-post-content h1 {
  color: var(--coffee-dark);
}
.section-post-content p {
  color: #747474;
  font-size: 18px;
}

/**
* Contact.contacts
*/
.section-contact-contacts {
  background-color: #f9f9f9;
}
.section-contact-contacts h2 {
  position: relative;
  margin-bottom: 90px;
}
.section-contact-contacts h2::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 120px;
  height: 4px;
  background-color: var(--coffee-dark);
}
.section-contact-contacts-card {
  position: relative;
  box-shadow: 0px 0px 10px 0px #f0eeee;
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
}
.section-contact-contacts-card-icon {
  position: absolute;
  top: -22px;
  left: 0;
  width: 100%;
  text-align: center;
}
.section-contact-contacts-card i {
  background-color: var(--coffee-medium);
  color: #fff;
  padding: 20px;
  font-size: 28px;
  border-radius: 50px;
  min-width: 68px;
}

/**
* Auth
*/
.section-auth .section-auth-password-link {
  font-size: 14px;
  color: var(--bs-danger);
}

/**
* Profile
*/
.profile-sidebar-card ul li {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}
.profile-sidebar-card ul li.active {
  background-color: var(--coffee-dark);
}
.profile-sidebar-card ul li.active a {
  color: #fff;
}
.profile-sidebar-card ul li a {
  color: #747474;
}

@media screen and (max-width: 768px) {
  .user-orders-section .col-md-3, 
  .user-orders-section .col-md-2 {
    text-align: start!important;
    font-size: 12px;
  }

}