/* ============================================================
   SALVADERI - Azienda Agricola dal 1925
   Custom stylesheet — reconstructed from HTML structure
   Palette: gold #cab559 | dark-brown #3b1f00 | cream #f9f5ee
   ============================================================ */

/* ---- Base ---- */
body {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; /* loaded via Google Fonts */
  color: #444;
  background: #fff;
  overflow-x: hidden;
}

a { color: #cab559; }
a:hover { color: #a8922e; text-decoration: none; }

h1,h2,h3,h4,h5 { font-family: 'Georgia', serif; }

/* ---- Preloader ---- */
.preloader {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: #f9f5ee;
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
}
.preloder-wrap { text-align: center; }
.preloder-inner { display: flex; gap: 6px; }
.ball {
  width: 14px; height: 14px;
  background: #cab559;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}
.ball:nth-child(2) { animation-delay: .15s; }
.ball:nth-child(3) { animation-delay: .30s; }
.ball:nth-child(4) { animation-delay: .45s; }
.ball:nth-child(5) { animation-delay: .60s; }
.ball:nth-child(6) { animation-delay: .75s; }
.ball:nth-child(7) { animation-delay: .90s; }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); opacity: .4; }
  40%            { transform: scale(1); opacity: 1; }
}

/* ---- Navigation ---- */
#navigation .navbar {
  background: rgba(30, 14, 0, 0.95);
  border: none;
  border-bottom: 2px solid #cab559;
  min-height: 70px;
  padding: 0;
}
#navigation .navbar .container { padding-top: 5px; padding-bottom: 5px; }

.navbar-brand { padding: 8px 15px; height: auto; }
.navbar-brand h1 { margin: 0; padding: 0; line-height: 1; }
.navbar-brand img { max-height: 54px; width: auto; }

.navbar-inverse .navbar-nav > li > a {
  color: #ddd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 25px 12px;
  transition: color .2s;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li.active > a { color: #cab559; background: transparent; }

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  background: transparent; color: #cab559;
}

/* Dropdown */
.navbar-inverse .dropdown-menu {
  background: rgba(30, 14, 0, 0.97);
  border: 1px solid #cab559;
  border-radius: 0;
  margin-top: 0;
}
.navbar-inverse .dropdown-menu > li > a { color: #ccc; font-size: 13px; padding: 9px 18px; }
.navbar-inverse .dropdown-menu > li > a:hover { background: #cab559; color: #1e0e00; }

/* Social icons in header */
.social-top {
  float: right;
  padding: 20px 0 0 15px;
}
.social-top a, .social-icons a {
  display: inline-block;
  width: 32px; height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  background: #cab559;
  color: #1e0e00;
  font-size: 14px;
  margin: 0 3px;
  transition: background .2s, color .2s;
}
.social-top a:hover, .social-icons a:hover { background: #fff; color: #cab559; }

/* Top info text in header */
.top-info {
  float: right;
  color: #ccc;
  font-size: 12px;
  text-align: right;
  padding: 14px 12px 0;
  line-height: 1.4;
}
.top-info h2 { font-size: 14px; color: #cab559; margin: 0 0 2px; font-family: 'Georgia', serif; }

/* Navbar toggle */
.navbar-inverse .navbar-toggle { border-color: #cab559; margin-top: 16px; }
.navbar-inverse .navbar-toggle .icon-bar { background: #cab559; }
.navbar-inverse .navbar-toggle:hover { background: #cab559; }
.navbar-inverse .navbar-toggle:hover .icon-bar { background: #1e0e00; }

/* ---- Hero Slider ---- */
#home { position: relative; }
.home-pattern {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.25);
  z-index: 1; pointer-events: none;
}
#main-carousel { position: relative; z-index: 0; }

#home .carousel-inner .item {
  height: 100vh;
  min-height: 520px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Overlay on each slide */
#home .carousel-inner .item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(20, 8, 0, 0.45);
}

.carousel-caption {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 90%;
}
.carousel-caption h2.heading {
  font-size: 54px;
  color: #fff;
  font-family: 'Georgia', serif;
  text-shadow: 2px 2px 8px rgba(0,0,0,.6);
  margin-bottom: 10px;
  font-weight: 700;
}
.carousel-caption p {
  font-size: 20px;
  color: #f0e6c8;
  text-shadow: 1px 1px 4px rgba(0,0,0,.5);
  margin-bottom: 28px;
}
.slider-btn {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 32px;
  border: 2px solid #cab559;
  color: #fff;
  background: transparent;
  border-radius: 2px;
  transition: background .25s, color .25s;
}
.slider-btn:hover { background: #cab559; color: #1e0e00; border-color: #cab559; }

/* Carousel controls */
.member-carousel-control {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 20;
  width: 48px; height: 48px;
  line-height: 46px;
  text-align: center;
  background: rgba(202,181,89,.7);
  color: #fff;
  font-size: 28px;
  border-radius: 50%;
  transition: background .2s;
  opacity: 1;
}
.member-carousel-control:hover { background: #cab559; color: #1e0e00; }
.carousel-left  { left:  20px; }
.carousel-right { right: 20px; }

/* Carousel indicators */
.carousel-indicators li {
  border-color: #cab559;
}
.carousel-indicators .active { background: #cab559; }

/* ---- Section general ---- */
section { padding: 60px 0; }

.title-one {
  font-size: 32px;
  color: #3b1f00;
  font-family: 'Georgia', serif;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.title-one::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: #cab559;
  margin: 10px auto 0;
}

/* ---- About / Content section ---- */
#about-us { background: #fff; padding-top: 70px; }
#about-us img { border-radius: 3px; margin-bottom: 15px; }

/* ---- Buttons ---- */
.btn-primary {
  background: #cab559;
  border-color: #b09a40;
  color: #1e0e00;
  font-weight: 700;
  letter-spacing: .5px;
  border-radius: 2px;
  padding: 9px 24px;
  transition: background .2s, border-color .2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #b09a40; border-color: #907e2e; color: #1e0e00;
}
.btn-default {
  border: 2px solid #cab559;
  color: #3b1f00;
  font-weight: 600;
  border-radius: 2px;
  background: transparent;
}
.btn-default:hover { background: #cab559; color: #1e0e00; border-color: #cab559; }

/* ---- Skill / Nutrition bars ---- */
.skill-bar { margin-top: 20px; }
.skillbar {
  position: relative;
  display: block;
  margin: 10px 0 22px;
  width: 100%;
  background: #eee;
  height: 26px;
  border-radius: 3px;
  overflow: hidden;
}
.skillbar-title {
  position: absolute;
  top: 0; left: 0;
  height: 26px;
  line-height: 26px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(30,14,0,.55);
  white-space: nowrap;
  z-index: 2;
}
.skillbar-title span { display: inline; }
.skillbar-bar {
  height: 26px;
  width: 0;
  background: linear-gradient(90deg, #cab559, #e8d17a);
  border-radius: 3px;
  transition: width 1.5s ease-in-out;
}
.skill-bar-percent { display: none; }

/* ---- News / Blog cards ---- */
.immaginebloghome { object-fit: cover; }
.pagination > li > a,
.pagination > li > span {
  color: #cab559;
  border-color: #cab559;
}
.pagination > .active > a,
.pagination > .active > span { background: #cab559; border-color: #cab559; color: #fff; }

/* ---- Video section ---- */
.bgvid { max-width: 100%; border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,.2); }

/* ---- Footer ---- */
#footer {
  background: #1e0e00;
  color: #bbb;
  padding: 40px 0 30px;
  font-size: 14px;
}
#footer hr { border-color: #3a2000; margin-bottom: 20px; }
#footer strong { color: #cab559; }
#footer a { color: #cab559; }
#footer a:hover { color: #fff; }
#footer .social-icons a {
  background: transparent;
  border: 1px solid #cab559;
  color: #cab559;
}
#footer .social-icons a:hover { background: #cab559; color: #1e0e00; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .top-info { display: none; }
  .social-top { display: none; }
  .navbar-inverse .navbar-nav > li > a { padding: 12px 15px; }
}
@media (max-width: 767px) {
  .carousel-caption h2.heading { font-size: 30px; }
  .carousel-caption p { font-size: 15px; }
  #home .carousel-inner .item { min-height: 340px; }
  section { padding: 40px 0; }
  .title-one { font-size: 24px; }
}
