/* ==========================================================================
   DIRECTORIO COMERCIAL GUATEMALA GT - ESTILO SIMPLE Y MINIMALISTA
   Versión: Simple 1.0
   ========================================================================== */

/* ==================== RESET Y BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

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

/* ==================== CONTAINER ==================== */
.container-simple {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== HEADER SIMPLE ==================== */
.header-simple {
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-dropdown {
  padding: 12px 40px 12px 20px;
  font-size: 16px;
  border: 2px solid #1565c0;
  border-radius: 4px;
  background: #1565c0;
  color: white;
  cursor: pointer;
  font-weight: 500;
  min-width: 250px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
}

.category-dropdown:hover {
  background: #0d47a1;
  border-color: #0d47a1;
}

.category-dropdown option {
  background: white;
  color: #333;
}

/* ==================== MAIN ==================== */
.main-simple {
  padding: 40px 0;
  min-height: calc(100vh - 200px);
}

.main-title {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  color: #333;
  margin-bottom: 40px;
  line-height: 1.4;
}

/* ==================== CATEGORIES GRID ==================== */
.categories-simple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.category-simple-item {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.category-simple-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* Header de categoría */
.category-simple-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.category-simple-icon {
  width: 50px;
  height: 50px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-simple-icon i {
  font-size: 24px;
  color: #1565c0;
}

.category-simple-info {
  flex: 1;
}

.category-simple-info h2 {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

.category-simple-count {
  font-size: 14px;
  color: #757575;
}

/* Lista de negocios */
.category-simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-simple-list li {
  margin-bottom: 8px;
}

.category-simple-list li:last-child {
  margin-bottom: 0;
}

.category-simple-list a {
  font-size: 14px;
  color: #333;
  display: inline-block;
  padding: 4px 0;
  transition: color 0.2s ease;
  position: relative;
}

.category-simple-list a:hover {
  color: #1565c0;
}

.category-simple-list a::before {
  content: "•";
  margin-right: 8px;
  color: #1565c0;
  font-weight: bold;
}

.category-simple-list a.more-link {
  color: #1565c0;
  font-weight: 500;
  margin-top: 5px;
}

.category-simple-list a.more-link::before {
  content: "→";
  margin-right: 5px;
}

.category-simple-list a.more-link:hover {
  text-decoration: underline;
}

/* ==================== FOOTER SIMPLE ==================== */
.footer-simple {
  background: #263238;
  color: white;
  padding: 30px 0;
  margin-top: 60px;
}

.footer-simple-content {
  text-align: center;
}

.footer-simple-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-simple-links a {
  color: white;
  font-size: 14px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-simple-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-simple-copy {
  font-size: 13px;
  opacity: 0.8;
  margin: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .container-simple {
    padding: 0 15px;
  }
  
  .main-title {
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  .categories-simple-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .category-dropdown {
    min-width: 100%;
    max-width: 100%;
  }
  
  .footer-simple-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .main-simple {
    padding: 20px 0;
  }
  
  .category-simple-item {
    padding: 15px;
  }
  
  .category-simple-header {
    gap: 12px;
  }
  
  .category-simple-icon {
    width: 40px;
    height: 40px;
  }
  
  .category-simple-icon i {
    font-size: 20px;
  }
  
  .category-simple-info h2 {
    font-size: 16px;
  }
}
