/* ===== BAIR FAMILY PROPERTY WEBSITE - MAIN STYLESHEET ===== */

/* ===== Base Styles ===== */
body {
  margin: 0;
  padding: 2rem;
  background: linear-gradient(135deg, #1a1a1a 40%, #2e4d35 100%);
  font-family: Arial, sans-serif;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* ===== Menu Styles ===== */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1001;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.menu {
  position: fixed;
  top: 60px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.9);
  border: 2px solid #4a7c59;
  border-radius: 8px;
  padding: 10px;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.menu a {
  color: #88b04b;
  text-decoration: none;
  display: block;
  margin: 5px 0;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.menu a:hover {
  background-color: rgba(136, 176, 75, 0.2);
  transform: translateX(5px);
}

/* ===== Content Container ===== */
.content {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(20, 40, 25, 0.8));
  border: 2px solid #4a7c59;
  border-radius: 15px;
  padding: 3rem;
  text-align: center;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(72, 120, 80, 0.3), 0 0 20px rgba(72, 120, 80, 0.2);
  margin-top: 100px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4a7c59, #88b04b, #4a7c59);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ===== Logo ===== */
.logo {
  height: 120px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 5px 15px rgba(72, 120, 80, 0.5));
  transition: transform 0.3s ease;
}

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

/* ===== Typography ===== */
h1 {
  color: #88b04b;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

h2 {
  color: #88b04b;
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  color: #88b04b;
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ===== Tables ===== */
.table-container {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  overflow: hidden;
}

thead {
  background: linear-gradient(135deg, #4a7c59, #3c654c);
}

th {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #88b04b;
  border-bottom: 2px solid #88b04b;
}

td {
  padding: 1rem;
  border-bottom: 1px solid rgba(136, 176, 75, 0.2);
}

tr:hover {
  background: rgba(136, 176, 75, 0.1);
}

/* ===== Status Badges ===== */
.status-approved {
  background-color: #88b04b;
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  display: inline-block;
}

.status-pending {
  background-color: #f39c12;
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  display: inline-block;
}

.status-denied {
  background-color: #e74c3c;
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  display: inline-block;
}

/* ===== Buttons ===== */
button, .button {
  background: linear-gradient(135deg, #4a7c59, #5c8c6b);
  color: white;
  font-weight: bold;
  cursor: pointer;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

button:hover, .button:hover {
  background: linear-gradient(135deg, #3c654c, #4a7c59);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 124, 89, 0.4);
}

button:active, .button:active {
  transform: translateY(0);
}

.btn-approve {
  background: linear-gradient(135deg, #88b04b, #70993c);
}

.btn-deny {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.btn-delete {
  background: linear-gradient(135deg, #555, #333);
}

/* ===== Forms ===== */
input, textarea, select {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(74, 124, 89, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
  font-family: inherit;
  box-sizing: border-box;
  color: #333;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #4a7c59;
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.2);
  transform: translateY(-2px);
}

input::placeholder, textarea::placeholder {
  color: #888;
  font-style: italic;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Images ===== */
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 1rem;
}

.map-img {
  border: 2px solid #88b04b;
}

/* ===== Contact Info Boxes ===== */
.contact-info {
  background-color: rgba(136, 176, 75, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
  border: 1px solid rgba(136, 176, 75, 0.3);
}

.contact-info h3 {
  margin-top: 0;
}

/* ===== Warning Box ===== */
.warning {
  background: linear-gradient(145deg, rgba(255, 69, 0, 0.15), rgba(200, 50, 0, 0.15));
  border: 2px solid #ff4500;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2.5rem 0;
  position: relative;
}

/* ===== Success Page ===== */
.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.next-steps ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 1rem;
  display: inline-block;
}

.next-steps li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 25px;
}

.next-steps li::before {
  content: '•';
  color: #88b04b;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.button-group {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.button.primary {
  background-color: #88b04b;
}

.button.primary:hover {
  background-color: #70993c;
}

.button.secondary {
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid #88b04b;
}

.button.secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: #70993c;
}

/* ===== Admin Actions ===== */
.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-actions button {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* ===== Responsive Design ===== */

/* Tablet styles (max-width: 768px) */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  .content {
    padding: 1.5rem;
    margin-top: 80px;
    max-width: 100%;
  }

  .logo {
    height: 80px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  p {
    font-size: 1rem;
  }

  table {
    font-size: 0.85rem;
  }

  th, td {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .contact-info {
    padding: 1rem;
  }

  button, .button {
    font-size: 1rem;
    padding: 12px 24px;
  }
}

/* Mobile styles (max-width: 480px) */
@media (max-width: 480px) {
  body {
    padding: 0.5rem;
  }

  .content {
    padding: 1rem;
    margin-top: 60px;
  }

  .logo {
    height: 60px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  p {
    font-size: 0.9rem;
  }

  table {
    font-size: 0.75rem;
  }

  th, td {
    padding: 0.3rem;
    font-size: 0.7rem;
  }

  .contact-info {
    padding: 0.75rem;
  }

  .contact-info p {
    font-size: 0.9rem;
  }

  .button-group {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .menu-toggle {
    top: 10px;
    right: 10px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .menu {
    top: 50px;
    right: 10px;
    max-width: calc(100vw - 40px);
  }

  button, .button {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  input, textarea {
    font-size: 0.9rem;
    padding: 12px;
  }
}

/* ===== Print Styles ===== */
@media print {
  .menu-toggle, .menu {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .content {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
