/* SECOOLINDA SIDEBAR MENU */
.secoolinda-menu-card {
  width: 280px;
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  border-radius: 0 15px 15px 0;
  box-shadow: 2px 0 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  transform: translateX(0);
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 3px solid #F05A5C;
  margin: 0;
}

.menu-header {
  padding: 20px;
  border-bottom: 2px solid #e0e0e0;
  border-radius: 0 15px 0 0;
  text-align: center;
  background: #fafafa;
}

.menu-header a {
  display: block;
  text-decoration: none;
}

.menu-logo {
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
  border-radius: 15px;
}

.menu-header a:hover .menu-logo {
  transform: scale(1.05);
}

.menu-links {
  list-style: none;
  padding: 15px 0;
  margin: 0;
  flex-grow: 1;
  overflow-y: auto;
}

.menu-links li {
  margin: 5px 10px;
}

.menu-links li a {
  display: block;
  padding: 12px 20px;
  color: #333333;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 6px;
}

.menu-links li a:hover {
  background: #f0f0f0;
  color: #7A0E13;
  transform: translateX(8px);
  box-shadow: inset 2px 0 0 #7A0E13;
}

.menu-links li a.active {
  background: #f5f5f5;
  color: #7A0E13;
  border-left: 4px solid #7A0E13;
  padding-left: 16px;
}

.menu-links li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: #7A0E13;
  border-radius: 0 4px 4px 0;
  transition: all 0.3s ease;
}

.menu-links li a:hover::before {
  height: 60%;
}

.menu-links li a.active::before {
  height: 100%;
}

/* Scrollbar styling */
.menu-links::-webkit-scrollbar {
  width: 6px;
}

.menu-links::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 3px;
}

.menu-links::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 3px;
}

.menu-links::-webkit-scrollbar-thumb:hover {
  background: #999999;
}

.menu-toggle {
  position: absolute;
  right: -35px;
  top: 15px;
  background: #ffffff;
  border: 3px solid #F05A5C;
  width: 35px;
  height: 35px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 0 8px rgba(0,0,0,0.15);
  transition: all 0.3s;
  margin: 0;
  padding: 0;
}

.menu-toggle:hover {
  background: #f5f5f5;
  box-shadow: 2px 0 12px rgba(0,0,0,0.2);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s;
  fill: #F05A5C;
  stroke: #F05A5C;
}

.menu-toggle:hover svg {
  fill: #F05A5C;
  stroke: #F05A5C;
}

.secoolinda-menu-card.collapsed {
  transform: translateX(-100%);
}

.secoolinda-menu-card.collapsed .menu-toggle {
  right: -35px;
}

.secoolinda-menu-card.collapsed .menu-toggle svg {
  transform: rotate(180deg);
}

/* Adjust content for sidebar */
body {
  margin-left: 0;
  transition: margin-left 0.3s ease;
}

@media (max-width: 768px) {
  .secoolinda-menu-card {
    width: 220px;
    border-radius: 0 12px 12px 0;
  }

  .menu-header {
    padding: 15px;
    border-radius: 0 12px 0 0;
  }

  .menu-logo {
    max-width: 90%;
  }

  .menu-links {
    padding: 12px 0;
  }

  .menu-links li {
    margin: 3px 8px;
  }

  .menu-links li a {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 5px;
  }

  .menu-links li a:hover {
    transform: translateX(6px);
  }

  .menu-toggle {
    right: -28px;
    width: 28px;
    height: 28px;
    border-radius: 0 6px 6px 0;
  }

  .menu-toggle svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .secoolinda-menu-card {
    width: 180px;
    border-radius: 0 10px 10px 0;
  }

  .menu-header {
    padding: 12px;
  }

  .menu-links li a {
    padding: 8px 12px;
    font-size: 12px;
  }

  .menu-toggle {
    right: -24px;
    width: 24px;
    height: 24px;
    border-width: 2px;
  }

  .menu-toggle svg {
    width: 14px;
    height: 14px;
  }
}

/* ============================================ */
/* HEADER TOP - Contact Info and Social */
/* ============================================ */

.header-top {
  background: #7A0E13;
  color: white;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid #A32025;
}

.header-top a {
  color: #F05A5C;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-top a:hover {
  color: #ffffff;
}

.contact-info a {
  margin: 0 15px;
  display: inline-block;
}

.social-icons a {
  color: #F05A5C;
  margin: 0 10px;
  font-size: 16px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffffff;
}

/* ============================================ */
/* NAVBAR PRINCIPAL */
/* ============================================ */

.navbar-secoolinda {
  background: linear-gradient(135deg, #7A0E13 0%, #A32025 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 1rem 0;
}

.navbar-secoolinda .navbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: white;
}

.navbar-brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 12px;
}

.navbar-secoolinda .logo-text h1 {
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

.navbar-secoolinda .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  margin-left: 10px;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.navbar-secoolinda .nav-link:hover {
  color: #F05A5C !important;
  border-bottom-color: #F05A5C;
}

.navbar-secoolinda .navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}

.navbar-secoolinda .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.custom-toggler.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(240, 90, 92, 0.25);
}

/* ============================================ */
/* HEADER INTRO STYLES (usado em todas as páginas) */
/* ============================================ */

.header-intro {
    text-align: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #eeeeee 100%);
    position: relative;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.15),
        0 20px 50px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8),
        0 0 20px rgba(122,14,19,0.1);
    border-bottom: 3px solid #7A0E13;
    overflow: hidden;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.header-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(122,14,19,0.05) 50%, transparent 70%);
    pointer-events: none;
}

.header-intro h1 {
    font-size: 2rem;
    color: #7A0E13;
    margin: 0;
    font-weight: bold;
    position: relative;
    z-index: 2;
    text-shadow: 
        3px 3px 0px rgba(0,0,0,0.1),
        6px 6px 12px rgba(0,0,0,0.15),
        0 0 20px rgba(122,14,19,0.2);
    letter-spacing: 0.5px;
}

.header-logo {
    width: 90px;
    height: 90px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)) drop-shadow(0 8px 16px rgba(122,14,19,0.1));
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    border-radius: 15px;
}

.header-logo:hover {
    transform: scale(1.08);
}

/* Media Queries para Header */
@media (max-width: 768px) {
    .header-intro {
        padding: 1rem 1.5rem;
    }

    .header-content {
        gap: 1rem;
    }

    .header-intro h1 {
        font-size: 1.5rem;
    }

    .header-logo {
        width: 70px;
        height: 70px;
    }
    
    .navbar-secoolinda .logo-text h1 {
        font-size: 14px;
    }
}

/* Menu collapsed state - adjust body layout */
body:has(.secoolinda-menu-card.collapsed) {
    margin-left: 0 !important;
}
