/* Estudio Contable Mariana E. Romano - Estilos Personalizados */

:root {
  --primary-color: #0f2027;
  --secondary-color: #203a43;
  --dark-color: #2c5364;
  --accent-color: #c5a059;
  --accent-hover: #b38e46;
  --title-color: #e7174b;
  --light-bg: #f8f9fa;
  --card-bg: #ffffff;
  --text-dark: #2b2b2b;
  --text-muted: #6c757d;
  --font-main: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Topbar */
.top-bar {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: var(--accent-color);
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.social-icon-btn:hover {
  background: var(--accent-color);
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

/* Navbar */
.navbar-custom {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.navbar-brand img {
  max-height: 85px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.nav-link {
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--primary-color) !important;
  padding: 8px 16px !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

.btn-accent {
  background-color: var(--accent-color);
  color: #ffffff;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 24px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.btn-accent:hover {
  background-color: var(--title-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(231, 23, 75, 0.35);
}

.btn-contact {
  background-color: var(--accent-color);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 30px;
  padding: 8px 22px;
  border: 1px solid var(--accent-color);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
  display: inline-flex;
  align-items: center;
}

.btn-contact:hover,
.btn-contact.active {
  background-color: var(--title-color);
  border-color: var(--title-color);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(231, 23, 75, 0.35);
}

.btn-outline-custom {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  font-weight: 600;
  border-radius: 30px;
  padding: 8px 22px;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  color: #ffffff;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

/* Banner / Hero Slider */
.hero-slider .carousel-item {
  height: 520px;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 32, 39, 0.85) 0%, rgba(44, 83, 100, 0.7) 100%);
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin-bottom: 2rem;
}

/* Page Header Banner */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
  color: #ffffff;
  padding: 60px 0 50px 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.08);
  pointer-events: none;
}

.page-header h1 {
  font-weight: 700;
  font-size: 2.5rem;
}

/* Cards & Components */
.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(15, 32, 39, 0.1);
  border-color: rgba(197, 160, 89, 0.3);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(197, 160, 89, 0.12);
  color: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--accent-color);
  color: #ffffff;
}

.service-title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--title-color);
}

/* About Section Profile */
.profile-img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.profile-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.profile-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(15, 32, 39, 0.9);
  backdrop-filter: blur(8px);
  color: var(--accent-color);
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  font-weight: 600;
}

.credential-list {
  list-style: none;
  padding-left: 0;
}

.credential-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.credential-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* Contact Cards */
.contact-info-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--primary-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 18px;
  flex-shrink: 0;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 60px;
  padding-bottom: 30px;
  border-top: 4px solid var(--accent-color);
}

footer h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

footer h5::after {
  content: '';
  display: block;
  width: 35px;
  height: 2px;
  background: var(--accent-color);
  margin-top: 8px;
}

footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-slider .carousel-item {
    height: 420px;
  }
  .hero-title {
    font-size: 2rem;
  }
}
@media (max-width: 767.98px) {
  .navbar-brand img {
    max-height: 65px;
  }
  .hero-slider .carousel-item {
    height: 350px;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}
