/* grani.css */

/* Load the Inter font and apply it */
body, html {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  height: 100%; /* Ensure full height */
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF; /* Background color */
  color: #000000; /* Text color */
}

/* Main content area should grow to fill available space */
.main-content {
  flex: 1;
}

/* Ensure the footer and squiggly line are at the bottom */
.sticky-footer {
  margin-top: auto; /* Push to bottom */
}

/* Lightbox styling */
.lightbox {
  display: none;
  position: fixed;
  z-index: 50;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 20px;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox img {
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Ensures the close button is always on top of the image */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 60; /* Ensures it's above the image */
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Button styles */
.button-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem; /* Increased padding for better visibility */
  font-size: 1rem;
  font-weight: bold;
  color: #FFFFFF;
  background-color: #4d5d53; /* Green color */
  border-radius: 9999px; /* Fully rounded */
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
}

.button-primary:hover,
.button-primary:focus {
  background-color: #3c4b44; /* Darker green on hover */
  transform: translateY(-2px);
}

/* Additional general styles */
header {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 1rem;
}

header a {
  color: inherit;
  text-decoration: none;
}


footer {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 1rem;
}

footer a {
  color: white; /* Ensure footer links are white */
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.nav-link {
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.nav-link:hover {
  border-color: var(--accent-color);
}

/* Custom variables for colors */
:root {
  --background-color: #FFFFFF;
  --primary-color: #4d5d53;
  --secondary-color: #4d5d53;
  --accent-color: #000000;
  --text-color: #000000;
}
