﻿/* Base styles */
* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(to bottom, #693e6c, #ccbfce, #ffffff);
}

.content {
  max-width: 963px;
  width: 100%;
  text-align: center;
}

.logo {
  max-width: 963px;
  height: auto;
  margin-bottom: 20px;
}

.logo-text {
  color: black;
  text-shadow: 0 0 10px white, 0 0 20px white;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 54px;
  margin: 8px;
}

.word {
  display: inline-block;
  /* keeps spacing natural */
}

.word::first-letter {
  font-size: 1.25em;
  /* 25% larger */
}

h1 {
  text-transform: uppercase !important;
}

.main-content {
  max-width: 960px;
  margin: 0 auto;
  background: white;
  display: grid;
  grid-template-columns: 150px 1fr 150px;
  /* slight breathing room */
  gap: 25px;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  /* subtle shadow separates from gradient */
  border-radius: 8px;
  /* optional: softens the corners */
}

/* Tablet layout (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .main-content {
    grid-template-columns: 180px 1fr 180px;
    /* narrower sidebars */
    gap: 20px;
  }
}

/* Mobile layout */
@media (max-width: 768px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 15px;
  }

  /* Optional: hide sidebars on mobile for cleaner look */
  .left-menu,
  .right-menu {
    display: none;
  }

  /* Or keep them with toggle buttons */
  .left-menu {
    order: 2;
  }

  .center-content {
    order: 1;
  }

  .right-menu {
    order: 3;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .main-content {
    padding: 15px;
    gap: 15px;
  }
}

.left-menu {
  background: transparent;
  /* or match your design */
  text-align: left;
}

.left-menu ul {
  list-style: none;
  /* removes the bullets */
  margin: 0;
  padding: 0;
}

.left-menu li {
  margin-bottom: 12px;
  /* space between items */
}

.left-menu a {
  display: block;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

/* Hover effect */
.left-menu a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #693e6c;
  /* matches your gradient purple */
  padding-left: 20px;
  /* subtle indent on hover */
}

/* Active page styling */
.left-menu a.active {
  background: #693e6c;
  color: white;
  font-weight: 600;
}

/* Optional: Add subtle indicators */
.left-menu a::before {
  content: "→";
  opacity: 0;
  margin-right: 8px;
  transition: opacity 0.2s ease;
}

.left-menu a:hover::before {
  opacity: 0.6;
}

.search-box {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.section-header {
  background: #f0f4f8;
  padding: 0.75rem 1rem;
  margin: 1.5rem 0 1rem 0;
  border-left: 4px solid #007bff;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.section-header:first-of-type {
  margin-top: 0;
}

.country-header {
  background: #e8f0fe;
  padding: 0.5rem 1rem;
  margin: 1rem 0 0.75rem 0;
  border-left: 4px solid #28a745;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.lot {
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s;
  margin-left: 1rem;
}

.lot:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.lot-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e466e;
  margin-bottom: 0.5rem;
}

.lot-section {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #6c757d;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.lot-description {
  margin: 0.75rem 0;
  color: #2d3e50;
}

.lot-prices {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #dee2e6;
}

.lot-prices span {
  background: #f8f9fa;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.875rem;
}

.lot-images {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.lot-images img {
  max-width: 120px;
  max-height: 120px;
  border-radius: 0.5rem;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: transform 0.2s;
}

.lot-images img:hover {
  transform: scale(1.05);
}

.alert {
  background-color: #fff3e0;
  border-left: 5px solid #e67e22;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
}

.alert a {
  color: #e67e22;
  text-decoration: underline;
  font-weight: 500;
}

.alert a:hover {
  color: #b85e0a;
}

.hidden {
  display: none;
}

.count {
  margin: 0.5rem 0;
  color: #6c757d;
  font-size: 0.875rem;
}

@media (max-width: 600px) {
  .content {
    padding: 1rem;
  }

  .lot-images img {
    max-width: 80px;
    max-height: 80px;
  }

  .lot {
    margin-left: 0.5rem;
  }
}

.map-container {
    margin: 20px 0; /* Adds space above and below the map */
    border-radius: 8px; /* Optional: gives the map soft, modern corners */
    overflow: hidden; /* Ensures the rounded corners hide the iframe's sharp edges */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: adds a subtle shadow */
}

/* The iframe will now automatically fill this container */
.map-container iframe {
    width: 100%;
    height: 450px;
    display: block; /* Removes any extra spacing below the iframe */
}

/* For mobile screens, you can adjust the height */
@media (max-width: 768px) {
    .map-container iframe {
        height: 300px; /* A bit shorter on phones */
    }
}

.right-menu h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #693e6c;  /* matches your gradient purple */
    font-weight: 600;
}

.auction-dates {
    list-style: none;
    margin: 0;
    padding: 0;
}

.auction-dates li {
    margin-bottom: 10px;
    padding: 8px 0;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;  /* subtle separator */
}

.auction-dates li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Optional: Add a calendar icon or marker */
.auction-dates li::before {
    content: "📅";
    margin-right: 8px;
    font-size: 0.9rem;
}
