/* emergencystyles.css */
@import url('indexstyles.css');

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

body {
  background: url('../images/emergency.jpg'), linear-gradient(to bottom right, var(--purple), var(--teal-light)) ;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: #333;
  font-family: var(--font-base);
  line-height: 1.6;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  z-index: -1;
}

/* Header */
header {
  background-color: var(--purple);
  color: white;
  box-shadow: var(--shadow);
  top: 0;
  left: 0;
  width: 100%;
  position: fixed;
  z-index: 1000;

}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
}

.logo {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
}

/* Logo Styles */
.logo-img {
  height: 100px; 
  width: auto;
  transition: var(--transition);
}

.logo:hover .logo-img {
  transform: rotate(-15deg) scale(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.slogan {
  font-size: 0.8rem;
  color: white;
  font-weight: 400;
  font-family: var(--font-base);
}
 

.nav {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  padding: 0;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--teal);
}

.emergency-alert {
  background-color: var(--red);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  box-shadow: var(--shadow);
  margin-top: 6.5rem;
}

.emergency-alert h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.emergency-page {
  padding: 3rem 1rem;
  text-align: center;
}

.emergency-page h2 {
  text-align: center;
  color: var(--purple);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.emergency-message-box {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: auto;
}

.card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.symptom-list {
  list-style-type: disc;
  padding-left: 2rem;
  color: #333;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.clinic-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.clinic-header .icon-lg {
  font-size: 2rem;
  color: var(--teal);
}

.clinic-info p {
  margin-bottom: 0.5rem;
  color: #333;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline {
  border: 2px solid var(--teal);
  color: var(--teal);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--teal);
  color: white;
}
/* ============================
   Footer
============================ */
.footer {
  background-color: var(--purple);
  color: var(--white);
  padding: 3rem 1rem ;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--teal-light);
}

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

.footer-logo-column {
  display: flex;
  flex-direction: column;
  align-items: left;
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: var(--teal);
}

.footer-logo-img {
  height: 250px;
  width: 250px;
  object-fit: contain;
  margin-bottom: 1rem;
  padding: 1rem;
}

.footer-qr-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-qr-code {
  width: 120px;
  height: 120px;
  background-color: white;
  padding: 0.5rem;
  border-radius: 5px;
}


.footer-nav,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li,
.footer-contact li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social a {
  font-size: 1.2rem;
  margin-right: 1rem;
}

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

.footer-bottom a {
  color: var(--teal);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: white;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.5rem;
  }

  .clinic-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .symptom-list {
    padding-left: 1rem;
  }

  .emergency-message-box {
    padding: 1.5rem;
  }
  .nav {
    flex-direction: column;
    width: 100%;
    display: none;
    margin-top: 1rem;
  }

  .nav.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .cta-buttons .btn {
    display: block;
    margin: 1rem auto;
  }

}
