/* Studiova Template Custom Styles - El León de la Sierra */

/* ==============================
   Variables & Base
   ============================== */
:root {
  --bs-primary: #c5f536;
  --bs-primary-rgb: 197, 245, 54;
  --bs-dark: #1a1a2e;
  --bs-dark-rgb: 26, 26, 46;
  --light-gray: #f5f5f5;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

img.img-fluid {
  max-width: 100%;
  height: auto;
}

/* ==============================
   Typography Custom Sizes
   ============================== */
.fs-3 { font-size: 0.875rem !important; }
.fs-5 { font-size: 1.125rem !important; }
.fs-6 { font-size: 1rem !important; }
.fs-7 { font-size: 1.5rem !important; }
.fs-8 { font-size: 1.75rem !important; }
.fs-13 { font-size: 3.5rem !important; }
.fs-14 { font-size: 4rem !important; }
.fs-16 { font-size: 5rem !important; }

@media (max-width: 768px) {
  .fs-16 { font-size: 2.5rem !important; }
  .fs-13 { font-size: 2rem !important; }
  .fs-14 { font-size: 2.5rem !important; }
}

/* ==============================
   Round/Circle Sizes
   ============================== */
.round-10 { width: 10px; height: 10px; }
.round-32 { width: 32px; height: 32px; }
.round-36 { width: 36px; height: 36px; }
.round-45 { width: 45px; height: 45px; }
.round-52 { width: 52px; height: 52px; }
.round-64 { width: 64px; height: 64px; }
.round-490 { width: 490px; height: 490px; }

/* ==============================
   Animate Spin
   ============================== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 8s linear infinite;
}

/* Ball bounce on hover */
@keyframes bounce-ball {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
  50% { transform: translateY(0); }
  70% { transform: translateY(-3px); }
}

.ball-icon {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.header-item:hover .ball-icon,
.header-link.active .ball-icon {
  opacity: 1;
  animation: bounce-ball 0.6s ease infinite;
}

/* ==============================
   Header
   ============================== */
.header {
  z-index: 1030;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.header.fixed-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-top-color: var(--bs-primary) !important;
}

.header.fixed-header .logo-white { display: none; }
.header.fixed-header .logo-dark { display: block; }

.logo-white { display: block; }
.logo-dark { display: none; }

.header.fixed-header .menu-icon { color: #1a1a2e !important; }
.header.fixed-header .toggle-menu { background: #f5f5f5 !important; }

.header-wrapper { min-height: 60px; }

.toggle-menu {
  border: none !important;
  cursor: pointer;
}

.dropdown-menu {
  min-width: 320px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.header-menu .header-link {
  padding: 8px 0;
  color: #1a1a2e;
  font-weight: 600;
  transition: color 0.3s;
}

.header-menu .header-link:hover,
.header-menu .header-link.active {
  color: var(--bs-primary);
}

.header-menu .header-link.active {
  color: #86a820;
}

/* ==============================
   Banner Section
   ============================== */
.banner-section {
  min-height: 100vh;
  background: #1a1a2e;
  position: relative;
}

.banner-section video {
  object-fit: cover;
}

.banner-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.3) 100%);
  z-index: 0;
}

.banner-section .container {
  position: relative;
  z-index: 1;
}

.banner-inner-section {
  min-height: 60vh;
  background-size: cover;
  background-position: center;
}

.banner-inner-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 0;
}

/* ==============================
   Stats & Facts
   ============================== */
.stats-facts {
  background: #fff;
}

/* ==============================
   Custom Button (Studiova style)
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 24px;
  border-radius: 50px;
  background: #1a1a2e;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn:hover {
  background: #2d2d4e;
  color: #fff;
}

.btn .btn-text {
  white-space: nowrap;
}

.btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #1a1a2e;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Override for specific Bootstrap btn classes within template */
.btn.btn-outline-light,
.btn.btn-dark,
.btn.bg-primary,
.btn.btn-secondary {
  border-radius: 8px;
  padding: 8px 16px;
  gap: 8px;
}

.btn.bg-primary {
  background: var(--bs-primary) !important;
  color: #1a1a2e;
}

.btn.btn-dark {
  background: #1a1a2e !important;
  color: #fff;
}

/* ==============================
   Border Line
   ============================== */
.border-line {
  flex: 1;
  border: none;
  height: 1px;
  background: #ddd;
  opacity: 0.5;
}

/* ==============================
   Background Colors
   ============================== */
.bg-light-gray {
  background-color: var(--light-gray) !important;
}

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

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

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

.bg-dark {
  background-color: #1a1a2e !important;
}

/* ==============================
   Resources / Blog Cards
   ============================== */
.resources {
  transition: all 0.3s ease;
}

.resources-img {
  border-radius: 16px;
  overflow: hidden;
}

.resources-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.resources-img-blog img {
  height: 350px;
}

.resources-details h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
}

.resources-details p {
  color: #666;
  line-height: 1.6;
}

/* ==============================
   Services Section
   ============================== */
.services {
  background: #1a1a2e;
}

.services-tab .nav-tabs {
  border: none;
  flex-direction: column;
}

.services-tab .nav-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services-tab .nav-item .row {
  width: 100%;
}

.services-tab .nav-item img {
  border-radius: 12px;
}

/* ==============================
   Get in Touch Section
   ============================== */
.get-in-touch .form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid #1a1a2e;
  border-radius: 0;
  padding: 16px 0;
  font-size: 1.125rem;
  color: #1a1a2e;
  transition: border-color 0.3s;
}

.get-in-touch .form-control:focus {
  box-shadow: none;
  border-color: var(--bs-primary);
}

.get-in-touch .form-control::placeholder {
  color: #999;
}

.get-in-touch textarea.form-control {
  resize: none;
}

/* ==============================
   Footer
   ============================== */
.footer {
  background: #1a1a2e;
}

.footer h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: var(--bs-primary);
}

.link-hover {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
  text-decoration: none;
}

.link-hover:hover {
  color: var(--bs-primary);
}

/* ==============================
   Scroll to Top
   ============================== */
.get-template {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1040;
}

.get-template button {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bs-primary);
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.get-template button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ==============================
   Portfolio / Projects
   ============================== */
.portfolio-img {
  border-radius: 16px;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  transition: transform 0.5s ease;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio:hover .portfolio-overlay {
  opacity: 1;
}

/* ==============================
   Meet Team
   ============================== */
.meet-team-img {
  border-radius: 16px;
  overflow: hidden;
}

.meet-team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.meet-team:hover .meet-team-overlay {
  opacity: 1;
}

/* ==============================
   Marquee
   ============================== */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee {
  overflow: hidden;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

/* ==============================
   Page Wrapper
   ============================== */
.page-wrapper {
  overflow: hidden;
}

/* ==============================
   Spacing Overrides
   ============================== */
.py-8 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.pb-8 { padding-bottom: 3rem !important; }
.pt-8 { padding-top: 3rem !important; }
.py-11 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.py-12 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.mb-7 { margin-bottom: 2rem !important; }
.mb-8 { margin-bottom: 3rem !important; }
.mt-10 { margin-top: 4rem !important; }
.gap-5 { gap: 1.5rem !important; }
.gap-6 { gap: 2rem !important; }
.gap-7 { gap: 2.5rem !important; }
.gap-8 { gap: 3rem !important; }
.gap-9 { gap: 3.5rem !important; }
.gap-10 { gap: 4rem !important; }
.gap-11 { gap: 5rem !important; }
.pb-6 { padding-bottom: 1.5rem !important; }
.pt-9 { padding-top: 3.5rem !important; }
.pe-xl-5 { padding-right: 2rem !important; }
.p-7 { padding: 2.5rem !important; }
.ps-7 { padding-left: 2.5rem !important; }
.px-lg-5 { padding-left: 2rem !important; padding-right: 2rem !important; }
.my-7 { margin-top: 2.5rem !important; margin-bottom: 2.5rem !important; }
.my-8 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

/* ==============================
   Responsive
   ============================== */
@media (max-width: 991.98px) {
  .py-lg-11, .py-lg-12 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

@media (max-width: 575.98px) {
  .banner-section {
    min-height: 80vh;
  }
}

/* Custom card styles */
.card {
  border-radius: 16px;
  border: 1px solid #eee;
}

.sign-in {
  max-width: 480px;
}

/* Leaf SVG placeholder */
.leaf-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}
