/* ==========================================================================
   Santa Catalina Club & Salud Activa S.A. - Custom Styling
   santacsa.com - Buenos Aires, Argentina
   ========================================================================== */

:root {
  --primary-dark: #1e293b;
  --secondary-dark: #0f172a;
  --accent-orange: #ed563b;
  --accent-hover: #dc4328;
  --text-dark: #232d39;
  --text-muted: #64748b;
  --bg-slate: #f8fafc;
  --border-color: #e2e8f0;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
}

/* Header & Nav */
.header-area {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  background-color: rgba(30, 41, 59, 0.92);
  transition: all 0.3s ease-in-out;
}

.header-area.background-header {
  position: fixed;
  background-color: var(--primary-dark) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-nav .logo {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff !important;
  letter-spacing: 0.5px;
  line-height: 80px;
}

.main-nav .logo em {
  font-style: normal;
  color: var(--accent-orange);
}

.main-nav .nav li a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff !important;
  padding: 0 14px;
  letter-spacing: 0.5px;
  line-height: 80px;
  transition: color 0.3s;
}

.main-nav .nav li a:hover,
.main-nav .nav li.active a {
  color: var(--accent-orange) !important;
}

/* Dropdown Menu */
.main-nav .nav li.dropdown {
  position: relative;
}

.main-nav .nav li.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 75px;
  left: 0;
  background-color: var(--primary-dark);
  border: 1px solid rgba(237, 86, 59, 0.4);
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
  min-width: 250px;
}

.main-nav .nav li.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu .dropdown-item {
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
  padding: 10px 18px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}

.dropdown-menu .dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #334155;
  color: var(--accent-orange) !important;
  padding-left: 22px;
}

/* Subpage Heading Banner */
.page-heading {
  padding: 180px 0 90px 0;
  background-size: cover;
  background-position: center center;
  position: relative;
  text-align: center;
}

.page-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%);
}

.page-heading .container {
  position: relative;
  z-index: 2;
}

.page-heading h1 {
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 12px;
}

.page-heading p {
  color: #e2e8f0;
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto 16px auto;
  line-height: 1.6;
}

.breadcrumb-custom {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 18px;
  border-radius: 30px;
}

.breadcrumb-custom li, .breadcrumb-custom li a {
  color: #cbd5e1;
  font-size: 13px;
}

.breadcrumb-custom li.active {
  color: var(--accent-orange);
  font-weight: 600;
}

/* Section Common Styling */
.section-pad {
  padding: 80px 0;
}

.section-pad-sm {
  padding: 50px 0;
}

.bg-slate {
  background-color: var(--bg-slate);
}

.section-heading-custom {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading-custom h6 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-orange);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-heading-custom h2 {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.section-heading-custom p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Cards */
.santa-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.santa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.santa-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.santa-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.santa-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.santa-card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.santa-badge {
  display: inline-block;
  background-color: rgba(237, 86, 59, 0.12);
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Legal text styling */
.legal-box {
  background: #ffffff;
  padding: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.legal-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 28px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(237, 86, 59, 0.3);
}

.legal-box h3:first-of-type {
  margin-top: 0;
}

.legal-box p, .legal-box li {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}

.legal-box ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* Forms styling */
.form-santa {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-santa .form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.form-santa .form-control {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-santa .form-control:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(237, 86, 59, 0.15);
}

/* Buttons */
.btn-santa {
  display: inline-block;
  font-size: 13px;
  padding: 12px 24px;
  background-color: var(--accent-orange);
  color: #fff !important;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid var(--accent-orange);
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-santa:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-santa-outline {
  display: inline-block;
  font-size: 13px;
  padding: 12px 24px;
  background-color: transparent;
  color: var(--accent-orange) !important;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid var(--accent-orange);
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-santa-outline:hover {
  background-color: var(--accent-orange);
  color: #fff !important;
}

/* Calculator Box */
.calc-summary-card {
  background: var(--primary-dark);
  color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  height: 100%;
}

.calc-summary-card h4 {
  color: var(--accent-orange);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

.calc-price-display {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin: 16px 0;
  font-family: 'Poppins', sans-serif;
}

.calc-price-note {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

/* Footer Styling */
footer {
  background-color: var(--secondary-dark);
  padding: 70px 0 40px 0;
  color: #94a3b8;
}

footer h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-orange);
}

footer .menu-list li a {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 2.2;
  transition: color 0.2s ease;
}

footer .menu-list li a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.sub-footer {
  background-color: #080d16;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: #64748b;
}

.sub-footer a {
  color: #94a3b8;
}

.sub-footer a:hover {
  color: var(--accent-orange);
}

/* Cookie consent modal/bar */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.98);
  color: #ffffff;
  padding: 18px 24px;
  z-index: 99999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#cookie-banner p {
  font-size: 13px;
  color: #e2e8f0;
  margin-bottom: 0;
  max-width: 820px;
  line-height: 1.5;
}

#cookie-banner a {
  color: var(--accent-orange);
  text-decoration: underline !important;
}

/* Mobile responsive */
@media (max-width: 991px) {
  .page-heading {
    padding: 140px 0 60px 0;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .header-area .main-nav .nav {
    background-color: var(--primary-dark);
    padding: 20px;
    border-radius: 6px;
  }
  .main-nav .nav li.dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,0.2);
  }
}
