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

body {
  font-family: 'Lora', serif;
  background: linear-gradient(180deg, #FF3130 0%, #E62E2D 50%, #CC2929 100%);
  color: white;
  min-height: 100vh;
  display: block; /* Change from flex to block layout */
  overflow-y: auto; /* Allow vertical scrolling */
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Fixed Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 49, 48, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  height: 70px; /* Keep navbar height fixed */
  display: flex;
  align-items: center; /* Center vertically */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: visible; /* Allow logo to extend beyond navbar */
}

.header-container {
  width: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center; /* Center vertically */
  height: 100%;
  justify-content: flex-start; /* Position to left */
  position: relative; /* For absolute positioning of logo */
}

.home-link {
  display: flex;
  align-items: center; /* Center vertically */
  height: 100%;
  transition: transform 0.3s ease;
  padding: 0.5rem 0;
  position: absolute; /* Position absolutely to allow overflow */
  left: 2rem; /* Position from left edge */
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Perfect vertical centering */
}

.home-link:hover {
  transform: translateY(-50%) scale(1.05); /* Maintain centering while scaling */
}

.home-icon {
  width: 600px; /* 1.5x larger than 400px */
  height: auto;
  max-height: 150px; /* 1.5x larger than 100px */
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.container {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  margin: 80px auto 0; /* Center horizontally, top margin for header */
  min-height: calc(100vh - 160px); /* Ensure proper spacing for footer */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo-container {
  margin-bottom: 3rem;
}

.logo-wrapper {
  display: inline-block;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

.logo-wrapper:hover {
  transform: scale(1.05);
}

.logo {
  width: 600px;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
}

.compass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo-wrapper.spinning .logo {
  animation: spin 2s ease-in-out;
}

.logo-wrapper.spinning .compass-overlay {
  opacity: 1;
  animation: pulse 2s ease-in-out;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
}

.tagline {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer {
  background-color: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2rem 0;
  text-align: center;
  font-family: 'Lora', serif;
  font-size: 0.875rem;
  color: white;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

/* Responsive Design */
@media (min-width: 1920px) {
  .home-icon {
    width: 600px; /* 1.5x larger than 400px */
    max-height: 150px; /* 1.5x larger than 100px */
  }
  
  .header {
    height: 70px;
  }
}

@media (max-width: 768px) {
  .header {
    height: 60px; /* Keep navbar height fixed */
  }
  
  .header-container {
    padding: 0 1rem;
  }
  
  .home-link {
    left: 1rem; /* Adjust left position for mobile */
  }
  
  .home-icon {
    width: 480px; /* 1.5x larger than 320px */
    max-height: 120px; /* 1.5x larger than 80px */
  }
  
  .container {
    margin: 70px auto 0; /* Adjusted for standard header */
    min-height: calc(100vh - 130px);
    padding: 1rem;
  }
  
  .logo {
    width: 420px;
  }
  
  .tagline {
    font-size: 1.2rem;
    padding: 0 1rem;
  }
  
  .footer {
    font-size: 0.8rem;
    padding: 1.5rem 0;
  }
  
  .footer-content {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .header {
    height: 55px; /* Keep navbar height fixed */
  }
  
  .home-link {
    left: 0.5rem; /* Adjust left position for very small screens */
  }
  
  .home-icon {
    width: 390px; /* 1.5x larger than 260px */
    max-height: 105px; /* 1.5x larger than 70px */
  }
  
  .container {
    margin: 60px auto 0; /* Adjusted for smaller header */
    min-height: calc(100vh - 115px);
  }
  
  .logo {
    width: 330px;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .footer {
    font-size: 0.75rem;
    padding: 1rem 0;
  }
} 