/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@400;500;600;700;800&display=swap');

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Dosis', 'Open Sans', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.small {
  font-size: 14px !important;
}

/* Navbar */
.navbar {
  transition: all 0.4s ease;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-family: 'Dosis', sans-serif;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  color: #0dcaf0 !important;
}

.nav-link {
  font-size: 15px;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: rgba(255,255,255,0.1);
  color: #0dcaf0 !important;
}

.nav-link.active {
  background-color: rgba(255,255,255,0.15);
  color: #ffffff !important;
  font-weight: 600;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border-radius: 12px;
  padding: 0.5rem;
  background: linear-gradient(145deg,#1a1a1a,#2d2d2d);
}

.dropdown-item {
  font-size: 14px;
  border-radius: 8px;
  margin: 0.2rem 0;
  padding: 0.7rem 1rem;
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: linear-gradient(90deg,rgba(13,110,253,0.2),rgba(13,202,240,0.1));
  color: #0dcaf0 !important;
}

.dropdown-divider {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0.5rem 0;
}

.navbar-toggler {
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  border-color: #0dcaf0;
}

/* Carousel */
.carousel-item {
  height: 600px;
  position: relative;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
  z-index: 1;
}

.carousel-caption {
  z-index: 2;
  bottom: 50px;
}

.carousel-caption h2,
.carousel-caption .display-4 {
  font-family: 'Dosis', sans-serif;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.carousel-caption p {
  text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
}

.carousel-caption .btn {
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  border: 2px solid #fff;
  background-color: transparent;
}

.carousel-indicators .active {
  background-color: #fff;
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.5);
  opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(0,0,0,0.8);
  opacity: 1;
}

/* Buttons */
.btn {
  font-size: 16px;
}

.btn-sm {
  font-size: 14px;
}

.btn-lg {
  font-size: 18px;
}

/* Cards */
.card-title {
  font-family: 'Dosis', sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.card-text {
  font-size: 16px;
}

/* Lists */
.list-group-item {
  font-size: 15px;
}

/* Info Grid */
.info-grid {
  display: grid;
  gap: 1px;
  background-color: #dee2e6;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
}

.info-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

.info-item:nth-child(even) {
  background-color: #f8f9fa;
}

.info-item:hover {
  background-color: #e7f3ff;
}

.info-label,
.info-value {
  padding: 12px 16px;
  font-size: 15px;
}

.info-label {
  font-weight: 600;
  color: #495057;
  border-right: 1px solid #dee2e6;
}

.info-value {
  color: #212529;
}

/* Footer */
footer {
  font-size: 15px;
}

footer h5, footer h6 {
  font-size: 16px;
}

/* Hover Effects */
.hover-link:hover {
  color: #000 !important;
  font-weight: 600;
}

/* Fixed Buttons */
#phoneBtn {
  animation: ring 1.5s infinite;
  position: fixed;
  bottom: 90px;
  left: 20px;
}

#phoneBtn:hover {
  animation: none;
}

@keyframes ring {
  0%, 50%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(15deg); }
  20%, 40% { transform: rotate(-15deg); }
}

#whatsappBtn {
  animation: pulse 2s infinite;
  position: fixed;
  bottom: 20px;
  left: 20px;
}

#whatsappBtn:hover {
  animation: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  html { font-size: 15px; }
  body { font-size: 15px; }
  p { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  
  .btn { font-size: 15px; }
  .navbar-brand { font-size: 18px; }
  .nav-link { margin: 0.3rem 0; }
  
  .carousel-item { height: 200px; }
  .carousel-caption { bottom: 20px; }
  .carousel-caption h2 { font-size: 1.5rem; }
  .carousel-caption p { font-size: 0.9rem; }
  .carousel-caption .btn { padding: 0.5rem 1.5rem; font-size: 0.875rem; }
  .carousel-control-prev, .carousel-control-next { width: 40px; height: 40px; }
  
  .info-item { grid-template-columns: 1fr; }
  .info-label { 
    border-right: none; 
    border-bottom: 1px solid #dee2e6; 
    font-weight: 700; 
  }
  .info-label, .info-value { font-size: 14px; }
}

@media (max-width: 576px) {
  html { font-size: 14px; }
  body { font-size: 14px; }
  p { font-size: 14px; }
  .small { font-size: 13px !important; }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .btn { font-size: 14px; }
  .navbar-brand { font-size: 16px; }
}
