html{
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  height: 200vh;
  background: linear-gradient(90deg, #C97D2A, #F7EBA1);
  transition: background 0.4s ease, color 0.4s ease;
}
/* Theme button */
.theme-btn {
  border: none;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
h1, h2, h3, h4, h5 {
  font-weight: 600;
}

p {
  font-weight: 400;
}

/* GLASS NAVBAR */
.glass-navbar {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.navbar-brand{
  cursor: pointer;
}
/* Brand + links */
.glass-navbar .navbar-brand {
  color: #1f1f1f;
  font-weight: 600;
  padding: 0;
  display: flex;
  align-items: center;
}

.glass-navbar .navbar-brand:hover {
  color: #C97D2A;
}

.glass-navbar .nav-link {
  color: #000000;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Hover */
.glass-navbar .nav-link:hover {
  color: #fff;
  background: rgba(201, 125, 42, 0.8);
}

/* Active link */
.glass-navbar .nav-link.active {
  color: #fff;
  background: #C97D2A;
  border-radius: 8px;
}

/* Glass box */
.glass-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  max-width: 700px;
  margin: auto;
}

/* HAMBURGER */
.custom-toggler,
.navbar-toggler {
  border: none;
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  filter: invert(1);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.custom-toggler .bar {
  display: block;
  width: 28px;
  height: 3px;
  margin: 6px auto;
  background-color: #000;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* LOGO */
.navbar-logo {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.navbar-logo:hover {
  transform: scale(1.05);
  transition: 0.3s ease;
}

/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: url('images/bg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 50px;
  max-width: 700px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-top: 10px;
  opacity: 0.9;
}

.hero-content .btn {
  margin-top: 20px;
}

/* ABOUT CAROUSEL */
#aboutCarousel .carousel-item {
  transition: opacity 0.6s ease-in-out;
}

#aboutCarousel .carousel-item img {
  transform: scale(1.02);
  transition: transform 0.8s ease;
}

.about-img {
  height: 380px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* WHY SECTION */
.why-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.why-card .icon {
  font-size: 40px;
}

.why-section h2 {
  color: #5a3e1b;
}

.why-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

/* PRODUCTS */
.product-link {
  text-decoration: none;
  color: inherit;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 15px;
}
/* Force all variety images to same size */
.product-card .card-img-top {
  width: 100%;
  height: 250px;          /* fixed height */
  object-fit: cover;      /* crop/zoom to fit */
  border-radius: 12px;    /* optional rounded corners */
}

.product-card img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.product-card:hover .overlay-content {
  transform: translateY(0);
}

/* ABOUT PAGE HEADER */
.about-header {
  background: #198754;
  color: white;
  padding: 60px 0;
}

/* GENERAL IMAGE */
img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.portrait-img {
  width: 250px;
  height: 350px;
  object-fit: cover;
}

/* Footer base */
footer {
  background: linear-gradient(90deg, #C97D2A, #F7EBA1);
  color: #2b2b2b;
  padding-top: 50px;
  padding-bottom: 20px;
}

/* Footer headings */
footer h5 {
  font-weight: 600;
  margin-bottom: 15px;
}

/* Footer links */
footer a {
  color: #2b2b2b;
  text-decoration: none;
  transition: 0.3s ease;
}

footer a:hover {
  color: #000;
  text-decoration: underline;
}

/* Social icons */
footer img {
  transition: transform 0.3s ease;
}

footer img:hover {
  transform: scale(1.2);
}

/* Divider */
footer hr {
  border-color: rgba(0, 0, 0, 0.2);
}
.footer-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}


.footer-logo:hover {
    transform: scale(1.1);
}


.footer-logo.ua {
    width: 60px;
    height: 60px;
}

.footer-logo.cit {
    width: 73px;  
    height: 73px;
    object-fit: contain;
}

/* LOADER SCREEN */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(90deg, #C97D2A, #F7EBA1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* LOGO ANIMATION */
.loader-logo {
  width: 120px;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* FADE OUT */
.loader-hidden {
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s ease;
}


/* CHAT BUTTON */
.chat-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #C97D2A;
  color: #fff;
  padding: 15px;
  border-radius: 50%;
  font-size: 20px;
  z-index: 999;
}
/* Smooth fade-out for intro */
.intro-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
/* Social icons fix */
body.light-mode .social-icon {
  filter: none;              /* keep original (black) in light mode */
}

body.dark-mode .social-icon {
  filter: invert(1) brightness(2); /* turn black icons into white */
}

