:root {
  --rotary-blue: #00246c;
  --rotary-gold: #f7a81b;
  --rotary-sky: #019fcb;
  --rotary-rose: #d91b5c;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--rotary-blue);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--rotary-sky);
  transition: var(--transition);
}

a:hover {
  color: var(--rotary-blue);
}

/* Global Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--rotary-gold);
  color: var(--bg-white);
  box-shadow: 0 4px 14px 0 rgba(247, 168, 27, 0.4);
}

.btn-primary:hover {
  background: #d68f12;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 168, 27, 0.6);
  color: var(--bg-white);
}

.btn-secondary {
  background: var(--rotary-blue);
  color: var(--bg-white);
  box-shadow: 0 4px 14px 0 rgba(0, 36, 108, 0.4);
}

.btn-secondary:hover {
  background: #001a4f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 36, 108, 0.6);
  color: var(--bg-white);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--glass-border);

  transition: var(--transition);
  padding: 1rem 0;
}

.site-header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.site-header.scrolled .logo img {
  height: 45px;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  color: var(--rotary-blue);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--rotary-gold);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--rotary-blue);
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: var(--rotary-blue);
  color: var(--bg-white);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.site-footer a {
  color: rgba(255,255,255,0.8);
}

.site-footer a:hover {
  color: var(--rotary-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: var(--rotary-gold);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--rotary-gold);
  color: var(--rotary-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* Base Sections */
.section-padding {
  padding: 5rem 0;
}

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

/* Utility Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Section interior-hero for all pages except index */
.interior-hero {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 36, 108, 0.8), rgba(0, 36, 108, 0.8)), url('/assets/img/banner-copia.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding-top: 80px; /* Offset for fixed header */
}

.interior-hero h1,
.interior-hero p {
    color: #ffffff !important;
    margin-bottom: 0.5rem;
}


/* Responsive */
@media (max-width: 900px) {
  .main-nav {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 80px);
      background: var(--bg-white);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
      gap: 2rem;
  }
  
  .main-nav.active {
      left: 0;
  }
  
  .mobile-menu-btn {
      display: block;
  }
}
