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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 90%;
  max-width: 1200px;
  padding: 2rem;
  margin-top: clamp(-14rem, -14vh, 0rem);
}

h1 {
  text-align: center;
  font-size: 4rem;
  margin-top: -6rem;
  margin-bottom: 10rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

h1 .orme {
  color: #1e40af;
}

h1 .fresche {
  color: #075985;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.tile {
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  background: rgba(255, 255, 255, 0.75);
}

.tile-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));            
}

.tile-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2d3748;
}

.tile-description {
  font-size: 1rem;
  color: #718096;
}

/* Color themes matching the beach background */
.tile.pictures {
  border-top: 4px solid #0ea5e9; 
} /* Sky blue */

.tile.documents {
  border-top: 4px solid #06b6d4; 
} /* Turquoise water */

.tile.files {
  border-top: 4px solid #3b82f6; 
} /* Deep ocean blue */

.tile.notes {
  border-top: 4px solid #f59e0b; 
} /* Sandy beach */

.tile.media {
  border-top: 4px solid #0284c7; 
} /* Wave blue */

.tile.other {
  border-top: 4px solid #14b8a6; 
} /* Sea foam teal */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .tiles-grid {
    grid-template-columns: 1fr;
  }

  .tile {
    padding: 2rem;
  }
}
